services/jenkins-scripts.git
11 years agoonly send out email to owner when SR decline/revoke
Lin Yang [Thu, 20 Dec 2012 10:25:03 +0000 (18:25 +0800)]
only send out email to owner when SR decline/revoke

Change-Id: Ib4f2f9dccdef29bbae09b58026c02bd8d5012419
Signed-off-by: Lin Yang <lin.a.yang@intel.com>
11 years agoHandle multiply lines comments issue
Lin Yang [Fri, 7 Dec 2012 08:56:25 +0000 (16:56 +0800)]
Handle multiply lines comments issue

Develop may provide multiply lines message for submit tag, so every
line of SR description may be not start with tag.

Change-Id: Ia34be1893af15ca1deda7908b550db03dcc48e48
Signed-off-by: Lin Yang <lin.a.yang@intel.com>
11 years agoFix an exception issue when trigger request job
LingchaoX Xin [Mon, 19 Nov 2012 01:32:59 +0000 (09:32 +0800)]
Fix an exception issue when trigger request job

Add a description condition to avoid exception

Change-Id: I6f1bd6482a97f8ade90b7ae6eaa228eb0b41b527

11 years agoExit with success status when repo is not ready
Hasan Wan [Mon, 14 Jan 2013 06:25:24 +0000 (14:25 +0800)]
Exit with success status when repo is not ready

Change-Id: I786ed79da0dd68e7fc05e7f0af337297c1ef0551
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
11 years agoget linked project info from parent meta conf, repo maker clean up
Hasan Wan [Mon, 14 Jan 2013 03:06:54 +0000 (11:06 +0800)]
get linked project info from parent meta conf, repo maker clean up

Change-Id: Ic6ef3ca70c10097f4ab11b724770a8b473614bfc
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
11 years agosupport group submission
Hasan Wan [Tue, 8 Jan 2013 14:07:55 +0000 (22:07 +0800)]
support group submission

Change-Id: I7ca6a345cbdb327287cf9548ea08d71c4a59c652
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
11 years agoremove sr from repo name
Hasan Wan [Tue, 8 Jan 2013 13:28:59 +0000 (21:28 +0800)]
remove sr from repo name

Change-Id: I31e00682cf0eaf33ab48a8ebb87ceaaf8cfc18ec
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
11 years agoimpove the function of linkedbuild
Hasan Wan [Sun, 6 Jan 2013 13:05:42 +0000 (21:05 +0800)]
impove the function of linkedbuild

Change-Id: Idcc35e2760c2a4204baf045925435bd435c9cb33
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
11 years agoresolve local .oscrc issue, add project filter for repomaker
Hasan Wan [Sun, 6 Jan 2013 06:03:47 +0000 (14:03 +0800)]
resolve local .oscrc issue, add project filter for repomaker

Change-Id: I91fda621e39b55a0bf960f0ca0dd60b929f3c909
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
11 years agoAdd testprojects module to handle prerelease project
Hasan Wan [Mon, 31 Dec 2012 05:54:33 +0000 (13:54 +0800)]
Add testprojects module to handle prerelease project

Change-Id: Idfe1d72b5ac6711a198937ea3eabd6b89d0261ca
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
11 years agoAdd exception catcher for XML parser, delete project by osc rdelete
Hasan Wan [Mon, 31 Dec 2012 05:51:01 +0000 (13:51 +0800)]
Add exception catcher for XML parser, delete project by osc rdelete

Change-Id: Ib53a365162ddcef03b7b13bca88425e53c0046cc
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
11 years agorepomaker: is_ready clean up
Hasan Wan [Mon, 31 Dec 2012 05:48:14 +0000 (13:48 +0800)]
repomaker: is_ready clean up

Change-Id: I3a8ca805c4be702ae1c69a1e4141f6e3bc2e09ab
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
11 years agorepomaker: use subprocess to accelerate repo creation
Hasan Wan [Mon, 31 Dec 2012 05:47:06 +0000 (13:47 +0800)]
repomaker: use subprocess to accelerate repo creation

Change-Id: I2adc57a7dce183fe759f181e1f0e426c588037a8

11 years agoUse 'Tizen:<target>.sr.<timestamp>' as repo name
Hasan Wan [Mon, 12 Nov 2012 05:42:09 +0000 (13:42 +0800)]
Use 'Tizen:<target>.sr.<timestamp>' as repo name
Keep git info in obs project meta desciption

Change-Id: If06c46eee3b4d1e891a28c69288eb5f79d1d3f3e
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
11 years agoRepomaker refactor, keep all repo information in one dict
Hasan Wan [Fri, 9 Nov 2012 05:41:46 +0000 (13:41 +0800)]
Repomaker refactor, keep all repo information in one dict
Remove the OBS project disable section after temporary repo relaese out

Change-Id: I75d0b2c3dcd5fbafa6bf51f2a56b9fae14657045
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
11 years agofix localdep issues
Hasan Wan [Wed, 7 Nov 2012 14:32:17 +0000 (22:32 +0800)]
fix localdep issues

Change-Id: I83539cc83e6e9ea785cb8aa07b5f1893507856e8
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
11 years agodisable repomaker to create repo for Tizen:Main Tizen:Base projects, fix several...
Hasan Wan [Tue, 6 Nov 2012 07:21:51 +0000 (15:21 +0800)]
disable repomaker to create repo for Tizen:Main Tizen:Base projects, fix several bugs

Change-Id: I5403c80d6f1f9cc0f9de208db2db695bff4c34e8
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
11 years agoFix several issues
Hasan Wan [Mon, 5 Nov 2012 05:38:53 +0000 (13:38 +0800)]
Fix several issues
1. Use simple mete conf when disable project build
2. Remove the multi temporary repoes when SR closed
3. Fix bugs when adaptor to new trigger method

Change-Id: I3f2698adeeb285eee201cde2b6f57d32f8a1a689
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
11 years agoUes upper keywords in requests job
Hasan Wan [Mon, 5 Nov 2012 05:36:43 +0000 (13:36 +0800)]
Ues upper keywords in requests job

Change-Id: Ib4b3758e78ac5ce21e6662b35413970206105c8a
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
11 years agorename triggerbuild to buildtrigger, fix bugs
Hasan Wan [Fri, 2 Nov 2012 08:25:52 +0000 (16:25 +0800)]
rename triggerbuild to buildtrigger, fix bugs

Change-Id: I8cb140ddb42ab7a85f663a151d3ce1c64865c6a8
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
11 years agoadapte to file parameter trigger
Hasan Wan [Fri, 2 Nov 2012 06:47:57 +0000 (14:47 +0800)]
adapte to file parameter trigger

Change-Id: I78166ed26749d239a7fdd8cdbffe9db5f368b4f7
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
11 years agoAdd job to clean up temporary project/repo
Hasan Wan [Fri, 2 Nov 2012 06:04:56 +0000 (14:04 +0800)]
Add job to clean up temporary project/repo

Change-Id: I6b014287f3357f4fe08d74c793c1bbdbe6f400eb
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
11 years agopre-release image creation process works
Hasan Wan [Thu, 1 Nov 2012 03:28:29 +0000 (11:28 +0800)]
pre-release image creation process works

Change-Id: I0b8bb3c6d96162d8ae2ee84df0693e6fde151565
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
11 years agofix several repo maker bugs
Hasan Wan [Thu, 1 Nov 2012 02:45:03 +0000 (10:45 +0800)]
fix several repo maker bugs

Change-Id: I6e19154c915044995539ca086896e9ef2a9575c1
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
11 years agoRepoMaker: add ReviewRepo class, start repomaker refactor
Hasan Wan [Mon, 29 Oct 2012 13:15:01 +0000 (21:15 +0800)]
RepoMaker: add ReviewRepo class, start repomaker refactor

Change-Id: If3c11ef9223ced96907a44bfb266bc7b81085e15
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
11 years agoAdd a new job pre_releaase for pre-release image creation
Hasan Wan [Mon, 15 Oct 2012 09:24:42 +0000 (17:24 +0800)]
Add a new job pre_releaase for pre-release image creation

Change-Id: Id2a685b39aba22fb6e4b1874f129b98cf7b1c8f8
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
11 years agoEnable 'RepoRequire' in repos configuration to link require repo to temp project
Hasan Wan [Mon, 22 Oct 2012 06:15:44 +0000 (14:15 +0800)]
Enable 'RepoRequire' in repos configuration to link require repo to temp project

Change-Id: I70d8c46c3098456fed056f76c78308045dfa8512
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
11 years agojob repo_maker, imager work
Hasan Wan [Mon, 22 Oct 2012 06:11:55 +0000 (14:11 +0800)]
job repo_maker, imager work

Signed-off-by: Hasan Wan <hasan.wan@intel.com>
11 years agoBypass rpm singnature checking
Hasan Wan [Wed, 19 Sep 2012 07:01:01 +0000 (15:01 +0800)]
Bypass rpm singnature checking

Change-Id: I35e68ab614302477b94fc68a45efed7e2d793fa5
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
11 years agoadd missed email templates
Hasan Wan [Wed, 19 Sep 2012 01:53:24 +0000 (09:53 +0800)]
add missed email templates

Change-Id: I4fc8ecf959cb6b4ce7eda33a90e887113221d8ee
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
11 years agoMerge image-dispatcher to repomaker, basic image creation process works
Hasan Wan [Tue, 18 Sep 2012 03:22:28 +0000 (11:22 +0800)]
Merge image-dispatcher to repomaker, basic image creation process works

Change-Id: I8a1926b9616149cd35f60ff3eee4c635e8f62201

11 years agoinitial import imager and reports job script
Li Yi [Fri, 24 Aug 2012 05:02:34 +0000 (13:02 +0800)]
initial import imager and reports job script

reuse boss-imager-participant and boss-reports-participant

11 years agosave repo data and enable to dispatch obs build events
Li Yi [Fri, 24 Aug 2012 05:00:11 +0000 (13:00 +0800)]
save repo data and enable to dispatch obs build events

11 years ago[jenkins image-dispatcher]: add the image-dispatch job, reuse boss-image-dispatcher
Li Yi [Fri, 10 Aug 2012 10:36:40 +0000 (18:36 +0800)]
[jenkins image-dispatcher]: add the image-dispatch job, reuse boss-image-dispatcher

11 years ago[jenkins repomaker]: add repomaker build script for jenkins job
Li Yi [Thu, 9 Aug 2012 10:48:18 +0000 (18:48 +0800)]
[jenkins repomaker]: add repomaker build script for jenkins job

import repomaker from boss and do the same thing as a jenkins job

11 years agoset default encoding to utf-8
Lin Yang [Thu, 20 Dec 2012 03:06:51 +0000 (11:06 +0800)]
set default encoding to utf-8

Change-Id: Iaed758154f3f094c6a0998886f7d6d6e3420a27e
Signed-off-by: Lin Yang <lin.a.yang@intel.com>
11 years agoSupport " in tag message
Lin Yang [Wed, 19 Dec 2012 07:06:44 +0000 (15:06 +0800)]
Support " in tag message

Change-Id: I9db045f3dd28e0803c1510747d963acdf8be6f11
Signed-off-by: Lin Yang <lin.a.yang@intel.com>
11 years agocut off reqinfo if it exceed 100 lines
Lin Yang [Tue, 18 Dec 2012 02:45:18 +0000 (10:45 +0800)]
cut off reqinfo if it exceed 100 lines

Change-Id: I0e81bf1646ced6c984b667bf08b96a97a797e527

11 years agomore strict check for spec file
Lin Yang [Mon, 17 Dec 2012 11:06:13 +0000 (19:06 +0800)]
more strict check for spec file

Change-Id: If14d682a287b2bdb3b3cb2106b81c9b8f4f45454
Signed-off-by: Lin Yang <lin.a.yang@intel.com>
11 years agoupgrade gbs related command to fit gbs 0.12
Lin Yang [Mon, 17 Dec 2012 09:13:24 +0000 (17:13 +0800)]
upgrade gbs related command to fit gbs 0.12

Change-Id: I3837555be41981674ba44e8a7e818a781ac0aba2
Signed-off-by: Lin Yang <lin.a.yang@intel.com>
11 years agodrop msger module
Lin Yang [Mon, 17 Dec 2012 08:19:40 +0000 (16:19 +0800)]
drop msger module

Change-Id: Ibce76832ccd31f5d189ef753c76a1be4071fec72
Signed-off-by: Lin Yang <lin.a.yang@intel.com>
11 years agofetch tags when update local git repo
Lin Yang [Mon, 17 Dec 2012 06:08:32 +0000 (14:08 +0800)]
fetch tags when update local git repo

Change-Id: I62e9b6f135d1e63511d92f5e1b6c20caba8da356
Signed-off-by: Lin Yang <lin.a.yang@intel.com>
11 years agoHandle the issue of missing git repo under cache dir
Lin Yang [Thu, 13 Dec 2012 06:57:47 +0000 (14:57 +0800)]
Handle the issue of missing git repo under cache dir

Change-Id: I768d179120d953c22142e4bc8e274f3556f95e96
Signed-off-by: Lin Yang <lin.a.yang@intel.com>
11 years agoUse another script to update local git tree
Lin Yang [Mon, 10 Dec 2012 06:18:03 +0000 (14:18 +0800)]
Use another script to update local git tree

Change-Id: Icc682744e0c4c26e17f52c32d94fc6b14fe8bc25
Signed-off-by: Lin Yang <lin.a.yang@intel.com>
11 years agoGive warning about multiply spec files
Lin Yang [Fri, 7 Dec 2012 10:08:42 +0000 (18:08 +0800)]
Give warning about multiply spec files

Change-Id: Idab6624c1e9e7ba7a926774229f585076526c1b6
Signed-off-by: Lin Yang <lin.a.yang@intel.com>
11 years agogive warning for multiply specfile under packaging
Lin Yang [Fri, 7 Dec 2012 04:01:19 +0000 (12:01 +0800)]
give warning for multiply specfile under packaging

Change-Id: I5689a1fbd0744837d30cdfdd81b869960069af93
Signed-off-by: Lin Yang <lin.a.yang@intel.com>
11 years agocatch no specfile exception when buildcheck
Lin Yang [Fri, 7 Dec 2012 03:26:19 +0000 (11:26 +0800)]
catch no specfile exception when buildcheck

Change-Id: I346c47a964c1c0b589c19fbda607204fac0b256c
Signed-off-by: Lin Yang <lin.a.yang@intel.com>
11 years agomore clear feedback when change still under review
Lin Yang [Fri, 23 Nov 2012 09:55:54 +0000 (17:55 +0800)]
more clear feedback when change still under review

Change-Id: I7d5e20bef47e17e34e87f77c70e53e33094aad6d
Signed-off-by: Lin Yang <lin.a.yang@intel.com>
11 years agoonly update git cache when refupdate
Lin Yang [Fri, 23 Nov 2012 09:53:41 +0000 (17:53 +0800)]
only update git cache when refupdate

Change-Id: Ib1b99ca2d2e20ddf5805924fd5ffd7f08da3cddb
Signed-off-by: Lin Yang <lin.a.yang@intel.com>
11 years agogive warning if no new changelog entry
Lin Yang [Fri, 23 Nov 2012 08:25:30 +0000 (16:25 +0800)]
give warning if no new changelog entry

Change-Id: Ia6ec8b9eb08c474db6209e3277fc33e2805e9e6a
Signed-off-by: Lin Yang <lin.a.yang@intel.com>
11 years agoSupport pristine-tar when generate tarball tz
Lin Yang [Mon, 19 Nov 2012 06:30:00 +0000 (14:30 +0800)]
Support pristine-tar when generate tarball

Because gbs based on local upstream and pristine-tar branch, not
remote, to support pristine-tar. So checkout these two branches before
gbs export.

Change-Id: I1340497f6cc702be650fbea465f6a291342f5255
Signed-off-by: Lin Yang <lin.a.yang@intel.com>
11 years agocombine build result of all repo into one message
Lin Yang [Mon, 5 Nov 2012 09:47:40 +0000 (17:47 +0800)]
combine build result of all repo into one message

11 years agorename triggerbuild to buildtrigger, fix bugs
Hasan Wan [Fri, 2 Nov 2012 08:25:52 +0000 (16:25 +0800)]
rename triggerbuild to buildtrigger, fix bugs

Change-Id: I8cb140ddb42ab7a85f663a151d3ce1c64865c6a8
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
11 years agolisten obs event to get buildcheck result
Lin Yang [Fri, 2 Nov 2012 08:19:28 +0000 (16:19 +0800)]
listen obs event to get buildcheck result

11 years agouse parameter file to trigger downstream job
Lin Yang [Fri, 2 Nov 2012 05:57:03 +0000 (13:57 +0800)]
use parameter file to trigger downstream job

11 years agosend out warning if no mapping for this project
Lin Yang [Mon, 29 Oct 2012 07:24:33 +0000 (15:24 +0800)]
send out warning if no mapping for this project

12 years agoClean unused function in utils module 0.9
Lin Yang [Wed, 26 Sep 2012 04:37:39 +0000 (12:37 +0800)]
Clean unused function in utils module

12 years agoMove rpmlint to isolate module
Lin Yang [Wed, 26 Sep 2012 04:29:24 +0000 (12:29 +0800)]
Move rpmlint to isolate module

12 years agoImprove gerrit comment when submit to OBS directly
Lin Yang [Thu, 20 Sep 2012 08:37:42 +0000 (16:37 +0800)]
Improve gerrit comment when submit to OBS directly

12 years agoSupport more gerrit client function
Lin Yang [Thu, 20 Sep 2012 03:46:05 +0000 (11:46 +0800)]
Support more gerrit client function

12 years agoMerge branch 'devel' of otctools:jenkins-scripts into devel
Lin Yang [Wed, 19 Sep 2012 05:40:49 +0000 (13:40 +0800)]
Merge branch 'devel' of otctools:jenkins-scripts into devel

12 years agoMerge "Optimize code" into devel
Hasan Wan [Wed, 19 Sep 2012 02:21:03 +0000 (19:21 -0700)]
Merge "Optimize code" into devel

12 years agouse new method to parse git-obs-mapping xml file
Lin Yang [Tue, 18 Sep 2012 09:21:23 +0000 (17:21 +0800)]
use new method to parse git-obs-mapping xml file

12 years agoQuit execution when tag is deleted
Lin Yang [Mon, 17 Sep 2012 06:54:45 +0000 (14:54 +0800)]
Quit execution when tag is deleted

12 years agoDisable check tag format when it don't map to OBS
Lin Yang [Fri, 14 Sep 2012 06:59:30 +0000 (14:59 +0800)]
Disable check tag format when it don't map to OBS

12 years agoFix typo when use 'GIT_CACHE_DIR' variable
Lin Yang [Fri, 14 Sep 2012 06:25:12 +0000 (14:25 +0800)]
Fix typo when use 'GIT_CACHE_DIR' variable

12 years agoCreate a mapping file handle lib
Hasan Wan [Wed, 12 Sep 2012 02:12:35 +0000 (10:12 +0800)]
Create a mapping file handle lib

Change-Id: I46aa301e245be5c5334be3cf00c37e632821255a
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
12 years agoOptimize code
LingchaoX Xin [Wed, 12 Sep 2012 10:41:42 +0000 (18:41 +0800)]
Optimize code

Change-Id: I759c4fae0470d5d0b44842b026d7e358ac5a84b6

12 years agosupport send email to CC list
Lin Yang [Wed, 12 Sep 2012 06:17:33 +0000 (14:17 +0800)]
support send email to CC list

12 years agoSupport abstract message from GPG signed tag
Lin Yang [Fri, 7 Sep 2012 07:26:04 +0000 (15:26 +0800)]
Support abstract message from GPG signed tag

12 years agoFix compat issue with older OBS, fix email send bug in request
Hasan Wan [Fri, 7 Sep 2012 05:16:19 +0000 (13:16 +0800)]
Fix compat issue with older OBS, fix email send bug in request

Change-Id: Iae48f86f6b3ce9fbd272c9cc03e1b215e6b141d0
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
12 years agoAdd "job_" prefix to all jenkins scripts
Lin Yang [Thu, 6 Sep 2012 10:32:47 +0000 (18:32 +0800)]
Add "job_" prefix to all jenkins scripts

12 years agoEnhance the message of tag format check
Lin Yang [Thu, 6 Sep 2012 09:30:53 +0000 (17:30 +0800)]
Enhance the message of tag format check

12 years agoSupport special character in gerrit comment
Lin Yang [Thu, 6 Sep 2012 09:16:53 +0000 (17:16 +0800)]
Support special character in gerrit comment

use single quotes to strong quoting all meta-characters in SSH

12 years agoBuildcheck scripts clean up
Hasan Wan [Thu, 30 Aug 2012 09:08:31 +0000 (17:08 +0800)]
Buildcheck scripts clean up

Change-Id: I4c2cb7a47d1f69484332406170011977b9d7e937
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
12 years agoFix a bug about mail_sener
Hasan Wan [Thu, 30 Aug 2012 09:07:02 +0000 (17:07 +0800)]
Fix a bug about mail_sener

Change-Id: Ib493f73b405631f5117ea47735f84051e14d9fb5
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
12 years agoSupport check whether commit exist in remote branch
Lin Yang [Thu, 30 Aug 2012 08:17:56 +0000 (16:17 +0800)]
Support check whether commit exist in remote branch

12 years agoMail sender clean up
Hasan Wan [Wed, 29 Aug 2012 09:35:39 +0000 (17:35 +0800)]
Mail sender clean up
Prepare the mail body before trigger the mail sender job

Change-Id: Ia2523f219b97b19a7dc5e0d46ad76d150dbc68db
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
12 years agoRevert "bug fix: use base64 encoded string to pass email env"
Hasan Wan [Wed, 29 Aug 2012 08:26:47 +0000 (16:26 +0800)]
Revert "bug fix: use base64 encoded string to pass email env"

This reverts commit f8adc8b006c6f50b994df8ef9238e4adf6230e6a.

12 years agoFix return error when call get_config
LingchaoX Xin [Wed, 29 Aug 2012 02:54:24 +0000 (10:54 +0800)]
Fix return error when call get_config

When I call get_config with `get_config('remote.origin.url')` in IPython
, it occured bellow:

Out[10]: 'ssh://xxx@xxx/jenkins-scripts.gi'

But right result should be:

Out[10]: 'ssh://xxx@xxx/jenkins-scripts.git'

Change-Id: I0d45b34cc3d6879170d8aeb819a53c1efffda462

12 years agouse gerrit module instead of using gerrit command directly
Lin Yang [Tue, 28 Aug 2012 09:42:33 +0000 (17:42 +0800)]
use gerrit module instead of using gerrit command directly

12 years agobug fix: use base64 encoded string to pass email env
Hasan Wan [Tue, 28 Aug 2012 08:11:42 +0000 (16:11 +0800)]
bug fix: use base64 encoded string to pass email env

Change-Id: I4ab023703b16844d3ffb477d9e69790f44073dac
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
12 years agoUpdate _gerritinfo file when submit to OBS
Lin Yang [Mon, 27 Aug 2012 07:15:15 +0000 (15:15 +0800)]
Update _gerritinfo file when submit to OBS

_gerritinfo will follow below format:
PROJECT: ${gerrit_project}
COMMIT_ID: ${commit_id}

12 years agoAuto generate new changelog entry baseon submit tag
Hasan Wan [Fri, 24 Aug 2012 07:10:06 +0000 (15:10 +0800)]
Auto generate new changelog entry baseon submit tag

Change-Id: I05f542e75d93b1e34cd340a0306717718e7cb26b
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
12 years agoSupoort create new package in OBS linked project 0.8
Lin Yang [Fri, 24 Aug 2012 07:16:24 +0000 (15:16 +0800)]
Supoort create new package in OBS linked project

When OBS project is linked to another one, before commit code to this
OBS project, should branch corresponding package to this linked project.

12 years agoFix several bugs:
Hasan Wan [Wed, 22 Aug 2012 06:38:26 +0000 (14:38 +0800)]
Fix several bugs:
1. Unicode issues when wirting to file as envs
2. Remove update git ops, supposed that git tree are latest, because git pull
   will lead to failed if called in parallel
3. Remove Debug Env settings
4. Handle the char ':' in git subject when split the key-value by it

Change-Id: I605aca812cd88c8a2e49adf7efe52a90c432a5d2
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
12 years agoFix bug when no build log found
Hasan Wan [Wed, 22 Aug 2012 06:37:26 +0000 (14:37 +0800)]
Fix bug when no build log found

Change-Id: I90f457673042650ae844079ee1ae3ea2a9574107
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
12 years agosupport light weight tag "build/*"
Lin Yang [Wed, 22 Aug 2012 06:35:23 +0000 (14:35 +0800)]
support light weight tag "build/*"

12 years agoOBS_GIT data clean up, show SR comments in Gerrit messages
Hasan Wan [Mon, 20 Aug 2012 06:32:35 +0000 (14:32 +0800)]
OBS_GIT data clean up, show SR comments in Gerrit messages

Change-Id: I5af14a4b2b0897d29f436756a642c04adfef73ed
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
12 years agoPost a comments when request is rejected
Hasan Wan [Mon, 20 Aug 2012 03:09:33 +0000 (11:09 +0800)]
Post a comments when request is rejected

Change-Id: I09261ef86d4a4434e4d338b6bcd7c10a80edba3a
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
12 years ago1. cleanup environment variable
Lin Yang [Fri, 17 Aug 2012 09:35:29 +0000 (17:35 +0800)]
1. cleanup environment variable
2. support checkout package from obs linked project

12 years agoemail template amend
Hasan Wan [Wed, 15 Aug 2012 06:35:21 +0000 (14:35 +0800)]
email template amend

Change-Id: I8592b7d677469b18b59c1e5ab4b11a7b3bbe7c6f
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
12 years agoaccepted tag format accepted/${version}/${accepte_datetime}
Hasan Wan [Wed, 15 Aug 2012 03:18:27 +0000 (11:18 +0800)]
accepted tag format accepted/${version}/${accepte_datetime}

fix a bug about mailer

Change-Id: I6c9954bdadb56dc2ce5b93e92aa66f02b75c2177
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
12 years agouse gerrit class to handle comments posting, fix attachment bug
Hasan Wan [Mon, 13 Aug 2012 08:19:09 +0000 (16:19 +0800)]
use gerrit class to handle comments posting, fix attachment bug

Change-Id: Ic00b720d3dabdf60e7a8bd07ed5e00858358f5e6
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
12 years agopush accepted tag back, fix some email addr issues
Hasan Wan [Mon, 13 Aug 2012 08:16:36 +0000 (16:16 +0800)]
push accepted tag back, fix some email addr issues

Change-Id: I016acddfee8b7b2d6ef123023b289bc035454a31
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
12 years agocreate accpeted tag when SR accepted on OBS
Hasan Wan [Fri, 10 Aug 2012 06:50:05 +0000 (14:50 +0800)]
create accpeted tag when SR accepted on OBS

Change-Id: I52968766806f16f006cfc0649d7aa5db51a08344
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
12 years agoInclude commit id in tag object, fix an issue about create tag
Hasan Wan [Fri, 10 Aug 2012 06:49:28 +0000 (14:49 +0800)]
Include commit id in tag object, fix an issue about create tag

Change-Id: Iab3a6df168e327abc34cf4e1ac726f62951df3d3
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
12 years agoAdd the request job, reuse boss-participant-requests
Hasan Wan [Fri, 10 Aug 2012 02:36:48 +0000 (10:36 +0800)]
Add the request job, reuse boss-participant-requests

Change-Id: I0ca05a6e2a062d633b3d2b3e007a94fd28d21f62
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
12 years agoadapt mail sender to mail_sender jobs
Hasan Wan [Thu, 9 Aug 2012 10:17:42 +0000 (18:17 +0800)]
adapt mail sender to mail_sender jobs

Change-Id: Id7d7a977b66c866fa31dcf22222386d49c3487da
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
12 years agoAdd gerrit module
Hasan Wan [Thu, 9 Aug 2012 09:29:22 +0000 (17:29 +0800)]
Add gerrit module

Change-Id: I474a0c51c533598c27d129085e813a57ab26c00d
Signed-off-by: Hasan Wan <hasan.wan@intel.com>