services/jenkins-scripts.git
11 years agoMerge "import rpmlint config from local git cache" into devel
Lin Yang [Mon, 11 Mar 2013 08:15:01 +0000 (01:15 -0700)]
Merge "import rpmlint config from local git cache" into devel

11 years agoPrerelease cleanup
Hasan Wan [Mon, 11 Mar 2013 03:12:48 +0000 (11:12 +0800)]
Prerelease cleanup

1. remove unused function
2. add get_prerelease_project_name function
3. move some function from Prerelease2 to Prerelease
4. Rename TempBuildService to ProjectBuildService

Change-Id: I24ba25e34cd5212c03ad2f101563c3aa6e677ccf
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
11 years agoadd the missed import of GitError
Hasan Wan [Mon, 11 Mar 2013 02:19:22 +0000 (10:19 +0800)]
add the missed import of GitError

Change-Id: I26687e3fed6a09211dd7bb1095b8df9bba3cc95b
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
11 years agoimport rpmlint config from local git cache
Lin Yang [Mon, 11 Mar 2013 07:43:25 +0000 (15:43 +0800)]
import rpmlint config from local git cache

Origin implementation is copy rpmlint config from jenkins local git
cache to default location ~/.config/rpmlint when scm/rpmlint-config
project updated. Now it will try to import rpmlint config from local
git cache at first, then ~/.config/rpmlint.

Change-Id: I717f6d337c313c45dcce265244bf97c4e887fdd9
Signed-off-by: Lin Yang <lin.a.yang@intel.com>
11 years agoCleanups for job_deletetag.py
Lingchaox Xin [Mon, 11 Mar 2013 05:28:01 +0000 (13:28 +0800)]
Cleanups for job_deletetag.py

Introduced main() function and checked by flake8

Change-Id: I61d1d64e5d6b0e202aaac621f6736f8c8edba538

11 years agoAdded rpm packaging
Ed Bartosh [Thu, 7 Feb 2013 13:15:51 +0000 (15:15 +0200)]
Added rpm packaging

This form of packaging is needed for integration with OTC Tools Tester
machinery. It requires all packaging to be prepared by
cd packaging/ && make all

Change-Id: I19aefc5e634c1a760c93013ddf0343ca6546eee5
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
11 years agoPylinted
Ed Bartosh [Fri, 8 Mar 2013 14:02:55 +0000 (16:02 +0200)]
Pylinted

Fixed pylint findings, spelling, etc

Change-Id: Id7e93c78e207bfcb7989a4e19a02e6dfaf53bc6f
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
11 years agoAdded docstrings
Ed Bartosh [Tue, 5 Mar 2013 11:40:00 +0000 (13:40 +0200)]
Added docstrings

Change-Id: I9d590893dbec917897b3ac126f738ade08387af5
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
11 years agoRemoved unused imports
Ed Bartosh [Tue, 5 Mar 2013 11:35:41 +0000 (13:35 +0200)]
Removed unused imports

Change-Id: I2b36153c51775946a3bd1cd4500b5a41b5785a7d
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
11 years agoIntroduced main() function
Ed Bartosh [Tue, 5 Mar 2013 11:31:28 +0000 (13:31 +0200)]
Introduced main() function

Implemented according to Guido advice:
http://www.artima.com/weblogs/viewpost.jsp?thread=4829
Please, read for the details.

Change-Id: Ia3f1bd6c3cc5f4e2c4e4f788ad68ea90131165f5
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
11 years agoGet rid of using global variables
Ed Bartosh [Tue, 5 Mar 2013 11:23:40 +0000 (13:23 +0200)]
Get rid of using global variables

Pushing variables from different contexts into global namespace is bad
practice. It leads to the code, which hard to maintain and debug.

Change-Id: I7f867b60e6f2c38fad9dafcf1654e6ce71e03392
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
11 years agorepo-make process refactor base on new repo.yaml and code cleanup
LI Yi [Tue, 5 Mar 2013 10:46:06 +0000 (18:46 +0800)]
repo-make process refactor base on new repo.yaml and code cleanup

'TopLevel' will be deprecated soon
new keys: 'PartOf', 'Branch' and 'RepoName'
for more flexible repo configuration
unused code are removed

Change-Id: I11960781e51202299b2f6fb44d1fe1d02ca6c562

11 years agocreate build.xml for live repos
Hasan Wan [Wed, 6 Mar 2013 06:26:52 +0000 (14:26 +0800)]
create build.xml for live repos

Change-Id: I4380da6fa2823fc3e1b80dd153add423761659f5
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
11 years agorepoconf class for repos.yaml
Hasan Wan [Wed, 6 Mar 2013 06:25:23 +0000 (14:25 +0800)]
repoconf class for repos.yaml

Change-Id: I85bcb73226fdb4c3cae65f5df7fb14186e536eee

11 years agojob_imager cleanup
Hasan Wan [Fri, 1 Mar 2013 08:29:20 +0000 (16:29 +0800)]
job_imager cleanup

Change-Id: I855c797d11d38b92fdbde18443c40a0242d36dc2
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
11 years agojob_pre_release: prepare live repos for image creation
Hasan Wan [Fri, 1 Mar 2013 08:25:33 +0000 (16:25 +0800)]
job_pre_release: prepare live repos for image creation

Change-Id: Iee4f57711d2056bc2a300c627f387f652795324d
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
11 years agoadd OBS project repository class to handle repo operation
Hasan Wan [Fri, 1 Mar 2013 08:23:00 +0000 (16:23 +0800)]
add OBS project repository class to handle repo operation

Change-Id: I953014fbfa38ca21a538f0c1a4b92ffc1940a1fb
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
11 years agoremove pre-release process from generic repo-maker
Hasan Wan [Fri, 1 Mar 2013 08:19:18 +0000 (16:19 +0800)]
remove pre-release process from generic repo-maker

Change-Id: I1add8b2ac42b929b79274ab082775f2c17134b99
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
11 years agougly way to fix the project removing problem
Hasan Wan [Tue, 26 Feb 2013 02:53:40 +0000 (10:53 +0800)]
ugly way to fix the project removing problem

Change-Id: Idf8f2e55c043723d2bcdd16fd56dc59f1a4c354f
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
11 years agoBuildService related refactoring and cleanups
Lingchaox Xin [Mon, 25 Feb 2013 08:44:16 +0000 (16:44 +0800)]
BuildService related refactoring and cleanups

Conflicts:

job_pre_release.py

Change-Id: Id114bc71de76e43db7d9be2387abc693b667a095

11 years agocommon/git.py refactoring and cleanups
Lingchaox Xin [Sun, 17 Feb 2013 09:38:56 +0000 (17:38 +0800)]
common/git.py refactoring and cleanups

Also add gitignore

Conflicts:
common/git.py
job_submitobs.py

Change-Id: I0fd28bcc1e7cd4adc23874d7c41b4a2d11e00678

11 years agofix conflict of global variable "OBS_USERNAME"
Lin Yang [Fri, 1 Mar 2013 07:30:33 +0000 (15:30 +0800)]
fix conflict of global variable "OBS_USERNAME"

Because same other jobs already use "OBS_API_USERNAME", change "OBS_USERNAME" to fix it.

Change-Id: I45bca5b2b672945e4968b938f1c8c783f8007360
Signed-off-by: Lin Yang <lin.a.yang@intel.com>
11 years agoimprove function of cloning git project to local
Lin Yang [Fri, 1 Mar 2013 07:22:41 +0000 (15:22 +0800)]
improve function of cloning git project to local

Change-Id: I939dfaa8d055c740a92683e0cdbe2015802e2383
Signed-off-by: Lin Yang <lin.a.yang@intel.com>
11 years agocleanup obsolete code in submit-obs job
Lin Yang [Thu, 21 Feb 2013 07:17:34 +0000 (15:17 +0800)]
cleanup obsolete code in submit-obs job

Discard the functions of automatically update changelog and
gerritinfo file.

Change-Id: I0ab590a82cf3de04e260f8b25f23f1a91aef8966
Signed-off-by: Lin Yang <lin.a.yang@intel.com>
11 years agocleanup obsolete code in policycheck
Lin Yang [Thu, 7 Feb 2013 02:33:35 +0000 (10:33 +0800)]
cleanup obsolete code in policycheck

Change-Id: Ie93928b509d00d4e885569851571127d0d5f6f09
Signed-off-by: Lin Yang <lin.a.yang@intel.com>
11 years agoOnly get last 200 lines of build log
Lin Yang [Wed, 6 Feb 2013 08:35:38 +0000 (16:35 +0800)]
Only get last 200 lines of build log

Change-Id: Ie382e1f7137b4d6680491eb680a91e01bd854cdc
Signed-off-by: Lin Yang <lin.a.yang@intel.com>
11 years agocommon/buildservice.py refactoring and cleanups
Lingchaox Xin [Mon, 21 Jan 2013 10:21:32 +0000 (18:21 +0800)]
common/buildservice.py refactoring and cleanups

Change-Id: I4f7161e0252d66a702a91b6972d7aab05cfb6d0a

11 years agoremove single quotes in gerrit review message
Lin Yang [Tue, 8 Jan 2013 10:32:49 +0000 (18:32 +0800)]
remove single quotes in gerrit review message

Because we use single quotes to quoting message. A single quote may
not occur between single quotes, even when preceded by a backslash.

Change-Id: I258d7d53a4a9d0f51426718c5a6a1954c025bc5b
Signed-off-by: Lin Yang <lin.a.yang@intel.com>
11 years agosupport quotation in tag message
Lin Yang [Tue, 8 Jan 2013 10:02:40 +0000 (18:02 +0800)]
support quotation in tag message

Change-Id: Ia30da7d0bdc7a67b0197de297082adb13acd77bc

11 years agoreject submission if doesn't have changelog update
Lin Yang [Wed, 19 Dec 2012 09:15:44 +0000 (17:15 +0800)]
reject submission if doesn't have changelog update

Change-Id: I7759009c885311e2c4fc01c0e977e7cee7b6bb53
Signed-off-by: Lin Yang <lin.a.yang@intel.com>
11 years agoAdd delete_tags for job_deletetag.py, sorry for this
Lingchaox Xin [Fri, 4 Jan 2013 11:02:50 +0000 (19:02 +0800)]
Add delete_tags for job_deletetag.py, sorry for this

Change-Id: Ib92b2c76ca5c80886a854584e2f7a2f1b16b665f

11 years agodrop previous version deletetag shell script
Lin Yang [Thu, 20 Dec 2012 03:50:38 +0000 (11:50 +0800)]
drop previous version deletetag shell script

Change-Id: I6ed425d612d3129d2f068afe993f79c68a5dceec
Signed-off-by: Lin Yang <lin.a.yang@intel.com>
11 years agoRewrite job_deletetag.sh with Python
Lingchaox Xin [Fri, 7 Dec 2012 10:54:16 +0000 (18:54 +0800)]
Rewrite job_deletetag.sh with Python

Handle gerrit patchset-created and change_abandoned events, when a new
patchset created, remove all tags from previous patchset; when a change
abandoned, remove all tags from latest patchset.

Change-Id: I7d17e33c73f7afd3a06a73f8c57dccf19138b5a9

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

11 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

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

11 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

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

11 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

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

11 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

11 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

11 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

11 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

11 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>