Ed Bartosh [Fri, 26 Apr 2013 16:17:58 +0000 (19:17 +0300)]
Reimplemented generation of build.xml
Refactored and reimplemented generation of build.xml according to new
download structure.
Change-Id: Iff7c246200ca412294ed129eab7f9728ae2f3cf4
Lingchao Xin [Sat, 27 Apr 2013 02:46:40 +0000 (10:46 +0800)]
Add args parameter to be flexible when list needed projects
Such as, I want to just list CODE type's projects,
so use `ls-projects --type CODE`, thanks Yang Lin's reminder.
Change-Id: Ifdd05598e9be1285cc3f8091944ed1df343f94c7
Lin Yang [Sun, 28 Apr 2013 02:30:23 +0000 (10:30 +0800)]
Fix exception of deleting a non-exist directory
Change-Id: I488160a87576923212da67ff6214d05f416e0bd7
Signed-off-by: Lin Yang <lin.a.yang@intel.com>
Ed Bartosh [Fri, 26 Apr 2013 13:32:31 +0000 (16:32 +0300)]
Moved cleanup to BuildService.
As cleanup is used by job_pre_release_gerrit and job_pre_release_obs
it's better to move it to common API. BuildService is a good candidate
for this API.
Change-Id: I1e5c7a7e7612ade64b8249fc7143b72c7f61f57e
Ed Bartosh [Wed, 17 Apr 2013 14:55:06 +0000 (17:55 +0300)]
Returned back right info structure
Structure of info structure in job_pre_release_gerrit was changed on
some rebase or merge. Returning it back to the right one.
Change-Id: I424c1aa5ac833c7f1b2d838227b56dc1591cb2e8
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
Ed Bartosh [Thu, 11 Apr 2013 07:52:53 +0000 (10:52 +0300)]
Return proper exit code from job_pre_release_gerrit
Change-Id: I100ff0c55cba4b908f6c091aed539816cf7bde57
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
Ed Bartosh [Mon, 15 Apr 2013 11:43:54 +0000 (14:43 +0300)]
Removed delete_project from obsservice
Method delete_project is duplicate in obsservice as it's present in oscapi.
Change-Id: I7ab8c2f1632f5480ddc1b7c033ddc2006224a400
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
Ed Bartosh [Thu, 11 Apr 2013 07:45:09 +0000 (10:45 +0300)]
Implemented use of gbs source service
This change replaces direct run of gbs with using gbs service. It means
that all heavy work will be done on the server. It makes this job run
much faster and simplifies the job. Instead of downloading sources,
dealing with git cache, uploading tarballs and other pieces of packaging
on the worker side job just uploads small service file to the OBS.
For this approach to work gbs service package should be installed on OBS
server.
Fixes: #817
Change-Id: I53a22ec24d60a3219a926f2b8963e0b21be4af09
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
Hasan Wan [Thu, 11 Apr 2013 05:54:53 +0000 (13:54 +0800)]
A new job to receive the event from OBS notify_jenkins plugin
Change-Id: I1a81ad6c53159632111b96c84ab42cd386bd6824
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
Lingchaox Xin [Thu, 11 Apr 2013 06:38:25 +0000 (14:38 +0800)]
Remove envparas reference
And drop boss-reports.py, job_aiaiaicheck.py, they will not be
used in the future.
Change-Id: Ic71b2b96f68025b5b7abc719311c2d415b439cfa
Lingchaox Xin [Thu, 11 Apr 2013 06:08:47 +0000 (14:08 +0800)]
Pylinted for common/utils.py
Change-Id: I519780acbe77d80566c0adc0de87ab9a7b7adcd5
Lingchaox Xin [Sun, 7 Apr 2013 08:17:17 +0000 (16:17 +0800)]
Refactor job_policycheck.py with clear logic
Also split main func to small ones
Change-Id: I8efff3370a2b27a6c0b4697e45f9bc75bdd2f302
Lingchaox Xin [Tue, 9 Apr 2013 02:19:04 +0000 (10:19 +0800)]
Fix job_buildcheck_post.py docstring typo
Change-Id: Ic9ac4e157b6d3b4f4e6d9deb91cd4a8a5075363f
Lingchaox Xin [Mon, 8 Apr 2013 09:02:05 +0000 (17:02 +0800)]
Cleanups for job_request.py
Change-Id: Ibe0fc71237b7fab75a03d0ec85d7dc59fa6901f5
Ed Bartosh [Wed, 3 Apr 2013 16:20:04 +0000 (19:20 +0300)]
Implemented fetching mappings from multiple Gerrits
git_obs_map function now iterates through the list of
semicolon-separated list of git urls, provided in environment variable
MAPPING_PROJECTS and fetches mapping xml files from them until mapping
is found.
Fixes: #854
Change-Id: Iafd0d98b381dbad0e441a615dbc82dc8a028c415
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
Ed Bartosh [Fri, 5 Apr 2013 16:30:29 +0000 (19:30 +0300)]
Get rid of using 2 local APIs
Stop using ProjectBuildService and PreRelease APIs. Use only
buildservice and gbs APIs behind it.
Put jsoned info dictionary into project description. Dictionary should
be updated every time new package comes to the same pre-release project.
Change-Id: I54052982c25d3da019094825a1b11ffc65eaeb8f
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
Ed Bartosh [Wed, 3 Apr 2013 15:44:08 +0000 (18:44 +0300)]
Introduced new parameter giturl to clone_gitproject
Current implementation of clone_gitproject getting gerrit url from
environment variables, which is not always good. New parameter giturl
allows to get rid of this limitation.
This approach is used in job_pre_release_gerrit to clone mappings from
multiple gerrits.
Change-Id: Ie1e9ec2f49e83e07cecac0623834c88082dcdb3f
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
Ed Bartosh [Wed, 3 Apr 2013 09:02:26 +0000 (12:02 +0300)]
Used GERRIT_PROJECT instead of GIT_PROJECT
Environment variable GIT_PROJECT is not set by Gerrit Trigger plugin.
Let's use GERRIT_PROJECT instead.
Change-Id: Iff76c49c008c557a8cb9f3e2b444e9b0f6613724
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
Ed Bartosh [Thu, 4 Apr 2013 10:54:50 +0000 (13:54 +0300)]
job_pre_release_gerrit: Used local error exception
It's better to raise an local exception instead of returnning error
codes and analyzing them.
Change-Id: I8b9d5ca93a90b7b82689d36a433783eee972ee55
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
Lingchaox Xin [Wed, 27 Mar 2013 03:36:32 +0000 (11:36 +0800)]
Fix events' str typo
Change-Id: I6434620ac4a2202aae653415cf62d5e00cb2809e
Lin Yang [Fri, 22 Mar 2013 12:41:00 +0000 (20:41 +0800)]
remove source package when sr close
Change-Id: I6b254c58d3aeb64a55af0da4625e124923c70d51
Signed-off-by: Lin Yang <lin.a.yang@intel.com>
Lin Yang [Fri, 22 Mar 2013 12:36:19 +0000 (20:36 +0800)]
fix git push failure
Current gbp only accept parameter without space, so split args to two parts.
Change-Id: I7c25e18fa795099da14b4586fd51db43f3be8ded
Signed-off-by: Lin Yang <lin.a.yang@intel.com>
Lin Yang [Fri, 22 Mar 2013 12:31:47 +0000 (20:31 +0800)]
catch GitRepositoryError after move to gbp
Change-Id: Ib19a7c349c2092c6aefb81798aa1fdc5106e0687
Signed-off-by: Lin Yang <lin.a.yang@intel.com>
Lin Yang [Wed, 27 Mar 2013 03:49:29 +0000 (11:49 +0800)]
convert unicode parameters in obs event to str
Because json.loads will return unicode object by default, it will cause
1. print non-ascii char in obs event will cause exception
2. some functions osc core cannot support unicode parameters,
like delete_project, delete_package
so convert all variables in obs event to str.
Change-Id: I5bf12b37c40931c01da71ef69770442a06e74ff9
Signed-off-by: Lin Yang <lin.a.yang@intel.com>
Lin Yang [Thu, 21 Mar 2013 09:05:24 +0000 (17:05 +0800)]
refactored submitobs script
1. seperate main function into several small functions
2. pylint check
3. get rid of global parameters
Change-Id: Iaa20dbb32c87b443b8b979e2a13c626a1220a008
Signed-off-by: Lin Yang <lin.a.yang@intel.com>
Lingchaox Xin [Wed, 20 Mar 2013 06:31:13 +0000 (14:31 +0800)]
Pylinted for job_update_local_git.py
Change-Id: I520f00cce5415209e543ad8c413e268f8d32384d
Lingchaox Xin [Wed, 20 Mar 2013 06:25:47 +0000 (14:25 +0800)]
Pylinted for job_mail_sender.py
Change-Id: Iee5108416a5e02d6bfb493548cc4eaa4d1615aac
Lingchaox Xin [Tue, 19 Mar 2013 05:14:28 +0000 (13:14 +0800)]
Pylinted for job_policycheck.py and git-obs-mapping cloning bug fixed
Change-Id: Ia7791f199acd7937197f3d2c6762818ad8ef5b68
Lingchaox Xin [Wed, 20 Mar 2013 06:47:46 +0000 (14:47 +0800)]
Adjust job_deletetag.py for cdbc28c
Change-Id: I6ba95d34804ee61bbdbb66f7401ffcc5cee2f2e3
Lin Yang [Mon, 18 Mar 2013 06:08:38 +0000 (14:08 +0800)]
import gerrit event from evnironment variable
Change-Id: I96ce83ade58de8fb1ca2ad5f3930df49cd42a96c
Signed-off-by: Lin Yang <lin.a.yang@intel.com>
Lin A Yang [Mon, 18 Mar 2013 08:55:58 +0000 (01:55 -0700)]
Merge "Pylinted for job_buildcheck_post.py and refactoring" into devel
Lin A Yang [Mon, 18 Mar 2013 08:55:49 +0000 (01:55 -0700)]
Merge "Pylinted for common/buildservice.py" into devel
Lingchaox Xin [Mon, 18 Mar 2013 07:20:11 +0000 (15:20 +0800)]
Kill extra lines in tag['message'] when get taginfo
For example:
GIT_AUTHOR_EMAIL='Lingcha X <lingchaox.xin@intel.com>'
bccs='['']'
OBS_REQ_PERSON='None'
commitid='
35bc1b774379966547bce204a7c9f0c34854f0ae'
OBS_REQ_OLDSTATE='new'
descriptions='[]'
GIT_COMMENTS='Test for devel_rebase'
GIT_PROJECT='test/test'
message='
Test for devel_rebase
'
GIT_TAG='submit/trunk/
20130228.085818'
Change-Id: Icfde40c6ac01734ef813d7d2808187b5d0a31078
Lingchaox Xin [Mon, 18 Mar 2013 06:54:29 +0000 (14:54 +0800)]
Pylinted for job_buildcheck_post.py and refactoring
Change-Id: I497638a5dd39e9b4724d87357b5b548087f252cb
Lingchaox Xin [Fri, 15 Mar 2013 07:17:57 +0000 (15:17 +0800)]
Pylinted for common/buildservice.py
Change-Id: Iaa0485ead8b141699436ab0ae0f3a7f997b273f2
Hasan Wan [Fri, 15 Mar 2013 02:31:26 +0000 (19:31 -0700)]
Merge "Splitted job_pre_release" into devel
Hasan Wan [Fri, 15 Mar 2013 02:31:13 +0000 (19:31 -0700)]
Merge "Changed the way pre-release job is triggered" into devel
Lin A Yang [Thu, 14 Mar 2013 07:18:12 +0000 (00:18 -0700)]
Merge "Add outputs when execute git commands and pylinted" into devel
Ed Bartosh [Wed, 13 Mar 2013 21:04:17 +0000 (23:04 +0200)]
Splitted job_pre_release
Splitted job_pre_release to two scripts: job_pre_release_obs contains
the code, which is processing obs events and job_pre_release_gerrit,
which is processing gerrit events.
Change-Id: I4b7116f6f43ffb9f14c9e06ce442ea954c540a1c
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
Ed Bartosh [Mon, 11 Mar 2013 12:26:00 +0000 (14:26 +0200)]
Changed the way pre-release job is triggered
This change proposes that creation functionality is triggered by Gerrit
event 'ref updated'. This way we can get rid of two unneeded workflow
points: Gerrit job job_submitobs and OBS plugin as we're reacting
straight on the most trustable source of the information about submitted
tag - to the Gerrit event 'ref updated'.
Image creation and repository cleanup should be moved to another jenkins
job as they're triggered by OBS events and logically don't belong to this job.
Change-Id: I823eed3568c4881c35472f24b7cf4ca3c596fdb0
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
Ed Bartosh [Mon, 11 Mar 2013 11:55:01 +0000 (13:55 +0200)]
Fixed call of create function
Number of parameters has been changed lately and causes crash when
calling this function.
Change-Id: I3cbb0fbafd7248cd87654389ec2ab2b13154dcb0
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
Lingchaox Xin [Mon, 11 Mar 2013 09:42:30 +0000 (17:42 +0800)]
Add outputs when execute git commands and pylinted
Change-Id: I0023123a00044d19ebdf7f0198fa9f586490d737
Lin Yang [Mon, 11 Mar 2013 08:15:01 +0000 (01:15 -0700)]
Merge "import rpmlint config from local git cache" into devel
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>
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>
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>
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
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>
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>
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>
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>
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>
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>
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
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>
Hasan Wan [Wed, 6 Mar 2013 06:25:23 +0000 (14:25 +0800)]
repoconf class for repos.yaml
Change-Id: I85bcb73226fdb4c3cae65f5df7fb14186e536eee
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>
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>
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>
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>
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>
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
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
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>
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>
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>
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>
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>
Lingchaox Xin [Mon, 21 Jan 2013 10:21:32 +0000 (18:21 +0800)]
common/buildservice.py refactoring and cleanups
Change-Id: I4f7161e0252d66a702a91b6972d7aab05cfb6d0a
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>
Lin Yang [Tue, 8 Jan 2013 10:02:40 +0000 (18:02 +0800)]
support quotation in tag message
Change-Id: Ia30da7d0bdc7a67b0197de297082adb13acd77bc
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>
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
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>
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
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>
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>
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
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>
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>
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>
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>
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>
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>
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>
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>
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>
Hasan Wan [Mon, 31 Dec 2012 05:47:06 +0000 (13:47 +0800)]
repomaker: use subprocess to accelerate repo creation
Change-Id: I2adc57a7dce183fe759f181e1f0e426c588037a8
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>