summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2020-06-17Upgrade REPA version to 0.7submit/trunk/20201029.132130submit/trunk/20201029.114030submit/trunk/20200622.151812submit/trunk/20200619.141212accepted/tizen/devbase/tools/20200623.003426devel-py2accepted/tizen_devbase_toolsyan11.meng3-0/+17
Change-Id: I9b506721cf7065c4e46866cc91edd3803a4bce1c
2019-12-11Fix pylint error for repasubmit/trunk/20200617.133020submit/trunk/20200615.140020submit/trunk/20200612.191020submit/trunk/20200612.185510submit/trunk/20200612.182210submit/trunk/20200612.180310submit/trunk/20200612.131210submit/trunk/20200519.184310submit/trunk/20200519.164610submit/trunk/20200519.161030submit/trunk/20200513.162810submit/trunk/20200423.122334submit/trunk/20200423.111223submit/trunk/20200423.102810submit/trunk/20200422.165210submit/trunk/20200422.142510submit/trunk/20200422.115210submit/trunk/20200414.191000submit/trunk/20200414.141500submit/trunk/20200413.151000submit/trunk/20200413.150000submit/trunk/20200413.132320submit/trunk/20200410.160020submit/trunk/20200410.143020submit/trunk/20200409.202020submit/trunk/20200409.200220submit/trunk/20200409.194520submit/trunk/20200219.120523submit/trunk/20200214.114520submit/trunk/20200213.191021submit/trunk/20200213.184721submit/trunk/20200115.110101submit/trunk/20200114.110000submit/trunk/20200114.100000submit/trunk/20200110.111659submit/trunk/20200109.154402submit/trunk/20200109.151502submit/trunk/20200109.124502submit/trunk/20200109.112402submit/trunk/20200109.105802submit/trunk/20200108.172702submit/trunk/20200108.172202submit/trunk/20200108.135302submit/trunk/20200107.170902submit/trunk/20200107.162402submit/trunk/20200107.112802submit/trunk/20200105.091733submit/trunk/20200104.173833submit/trunk/20200104.164833submit/trunk/20200104.154833submit/trunk/20200104.134833submit/trunk/20200104.111333accepted/tizen/devbase/tools/20200618.010604accepted/tizen/devbase/tools/20200520.012823accepted/tizen/devbase/tools/20200514.023628accepted/tizen/devbase/tools/20200423.100605accepted/tizen/devbase/tools/20200415.093518accepted/tizen/devbase/tools/20200219.094522accepted/tizen/devbase/tools/20200214.062304accepted/tizen/devbase/tools/20200115.231515accepted/tizen/devbase/tools/20200114.115756accepted/tizen/devbase/tools/20200114.020219accepted/tizen/devbase/tools/20200110.011754accepted/tizen/devbase/tools/20200109.052739accepted/tizen/devbase/tools/20200106.014412accepted/tizen/devbase/tools/20200106.014357accepted/tizen/devbase/tools/20200106.014345accepted/tizen/devbase/tools/20200106.014254accepted/tizen/devbase/tools/20200104.053734yan11.meng3-4/+4
Change-Id: I0b8480263728404509634146d51ac4bf4fd4a9ca Signed-off-by: yan11.meng <yan11.meng@samsung.com>
2017-12-13Upgrade REPA version to 0.6submit/trunk/20191101.102136submit/trunk/20191030.112603submit/trunk/20191017.233826submit/trunk/20191017.111201submit/trunk/20190927.012842accepted/tizen/devbase/tools/20190927.044754release-20171213y0169.zhang3-0/+26
Change-Id: Ib92cc1ef25f20b322cb0a7a134e965363d0eca28
2017-07-24 Implement repa updateYonghee Han5-5/+138
repa update can change the reference project in arget project. repa update should help RE to mantain the target projects. ex) repa update <submission> --refprj <reference project> Change-Id: Icd42b15d8da636bcd7353088e815377d31d3cc6f
2017-07-14DXLTTC-785 First SR acceptance problem.Yonghee Han2-0/+22
PROBLEM : If you have a linked package when you first accept it, it will be added to linked package. SOLUTION : First, create initial package and will be added to SR package. Change-Id: I8df590cfcef48cac0c402b01ae2674656cf96773
2017-07-11DXLTTC-761 Add argument of repa listYonghee Han1-12/+31
Show submission reference project in project : --refprj Change-Id: Ia3a9a838b1b525fe8ff3cd92545a7ed38735eab7
2017-06-30Do not use https://api.tizen.orgYonghee Han1-1/+1
Integrate https://api.tizen.org with https://build.tizen.org and only use https://build.tizen.org. Change-Id: Ife6b843a445ffaaa3c9546dee5b63dc7324c080f
2017-04-04Upgrade REPA version to 0.5SoonKyu Park7-4/+25
Change-Id: I95193d9dcc9ab49ebef28872dbaa9e1acb865592
2017-04-04Do not update source of _link packages even if an SR is accepted.Junghyun Kim1-4/+7
Not updating _aggregate packages is applied in the previous commit. A request from Tizen release team is received that _link packages should not be updated as well. Change-Id: I33674033979f1201bb9b7235fe3cdc1641a4fcaf Signed-off-by: Junghyun Kim <jh0822.kim@samsung.com>
2016-11-01Do not accept aggregate packages.Junghyun Kim2-1/+30
Conditions of aggregate packages: 1. The name includes "aggregate" 2. The package has a source file named "_aggregate" Squashed commit of the following: commit c519222bcdc7e8aa0fc87502ee57f0786cefa6c4 Author: Junghyun Kim <jh0822.kim@samsung.com> Date: Tue Nov 1 20:19:17 2016 +0900 FIXED: typo. Change-Id: I73582f80e790616a512ecae323cd208c4345c8c9 Signed-off-by: Junghyun Kim <jh0822.kim@samsung.com> commit 83cedfca3da74e0c2c687fea2513d64829ce20c9 Author: Junghyun Kim <jh0822.kim@samsung.com> Date: Tue Nov 1 20:06:15 2016 +0900 Do not accept "*aggregate*" packages having "_aggregate" file. It is more general approach to ignore aggregate packages. Reviewed by Chan Lee <chan45.lee@samsung.com> Change-Id: I71f0d1b2af1da93b73ca94059dfe630163d03388 Signed-off-by: Junghyun Kim <jh0822.kim@samsung.com> commit 6ef788191edfd86172b5dafa6f7c0af486fe2021 Author: Junghyun Kim <jh0822.kim@samsung.com> Date: Mon Sep 12 09:16:23 2016 +0900 indentation modified. Change-Id: I874d5f90c8282e019786533773861f409729a394 Signed-off-by: Junghyun Kim <jh0822.kim@samsung.com> commit 3ae8401ebde101cecabf2d70b63e4713973b17a3 Author: Junghyun Kim <jh0822.kim@samsung.com> Date: Thu Sep 8 13:50:22 2016 +0900 "import re" added. Change-Id: I8f4a5ebcf8a54a5ddd1b3fe661055616fa4e6bb6 Signed-off-by: Junghyun Kim <jh0822.kim@samsung.com> commit 5938c43829bb770a1d09f8b219a36c0f05bc0100 Author: Junghyun Kim <jh0822.kim@samsung.com> Date: Thu Sep 8 11:26:40 2016 +0900 Remove *_aggregate packages before accepting OBS SR. Change-Id: I4321acf02212310bcf8ea75d98883cec7e253131 Signed-off-by: Junghyun Kim <jh0822.kim@samsung.com> Change-Id: I289ae301084510aab7e0c9aadfa2eb4e6be83319 Signed-off-by: Junghyun Kim <jh0822.kim@samsung.com>
2016-05-03Update RELEASE_NOTES for 0.4release-20161231release-20160930release-20160615release-20160411devel_psk_20160727SoonKyu Park1-0/+17
Change-Id: Icfbc3807730d5bce96047fc9e346fbc95eec66c7
2016-04-11Merge remote-tracking branch 'origin/release-20160315' into release-20160411SoonKyu Park24-104/+818
2016-03-04modify debian version to 0.4release-20160315yang.zhang2-2/+19
Change-Id: Id54400dd361bc5fc7227f5e5ee83607d5a815039
2016-02-25modify spec versionyang.zhang1-2/+2
Change-Id: I776d540ba291e96a4c24f48ce08124f24a85f7f6
2016-02-25modify dev version and specyang.zhang3-4/+4
Change-Id: I6ce7848983b9da65e42d91fbd05d6f3466446d93
2015-06-23Test patchset for "devel" branch of repaRong Jinhui1-1/+0
Change-Id: Ib1aca70c42bb435a6114b8ff20237ae27e24b9ba Signed-off-by: Rong Jinhui <jinhui.rong@samsung.com>
2015-02-19Implement --edit command line optionEd Bartosh8-16/+149
-e or --edit option is used in accept, reject, rebuild, lock, unlock and remove commands to edit a comment. Default comment is taken from accept_comment, reject_comment, rebuild_comment, lock_comment, unlock_comment or remove_comment configuration options. Fixes: #2420 Change-Id: I5979ebd246541b5c4ba56629ba97fd268b178d8d Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
2015-02-13Use jenkins job to accept and reject submissionsEd Bartosh4-14/+63
Implemented -j --jenkins command line option for repa reject and repa accept subcommands. With this option repa will trigger 're' jenkins job instead of creating SR directly on OBS. With this functionality RE doesn't need to be a mainainer of OBS project to be able to accept and reject submissions. Fixes: #2412 Change-Id: I7ad07ca18595083cb7a91ac0a4af7fc297c89119 Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
2015-02-05Bump repa version to 0.4.0.devEd Bartosh4-3/+9
Bumped version for python, debian and rpm packages. Change-Id: I5de3ca504eb8e4f69f9b2e0b263154164b56b6f4 Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
2015-02-05repa list: Add build timeEd Bartosh3-11/+52
Added optional configuration and command line option to show build time for the submissions in 'ready' status. Fixes: #2325 Change-Id: Ieec61217aedec9a254e7b7695ff085eab5709b81 Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
2015-02-03Implement repa removeEd Bartosh3-1/+99
repa remove triggers re job on jenkins with action=remove. Fixes: #2323 Change-Id: Ieb2e779b82d360b34ef0342bb947d6f5b4833955 Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
2015-02-03Implement repa lock/unlockEd Bartosh4-1/+196
repa lock triggers re job on jenkins with action=lock. repa unlock triggers re job on jenkins with action=lock. Fixes: #2321 Change-Id: I9ce75d14056f1044986703454031b4d071cee07c Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
2015-02-03show: Fixed forgotten old 'info' nameEd Bartosh1-3/+3
'info' subcommand was renamed to 'show' recently. However, 'info' is still used in the code. Renamed forgotten occurences of 'info' to 'show'. Change-Id: Ic53658f630e65f108a902b69f346c3e560e6e987 Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
2015-02-03Implement repa rebuild submcommandEd Bartosh3-1/+106
repa rebuild triggers re job on jenkins with action=rebuild. Fixes: #2322 Change-Id: I5a18aeb441eeb608d3015e131d150665cd6992a1 Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
2015-02-03Implement interface to JenkinsEd Bartosh5-2/+76
Implemented trigger_build function using 3rd party jenkinsapi. This function will be used for rebuild, remove and lock/unlock functionality. Change-Id: Idf55f4ed3c8dee51bdb51719fa338d68867b7b25 Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
2015-01-23Debian: Add dependency to setuptoolsEd Bartosh1-0/+1
Setuptools are needed for plugin mechanism to work. All repa subcommands are setuptools plugins. Change-Id: I344a943ac32235a29e9ae76dd20924a4db117f06 Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
2015-01-23Renamed command info -> showEd Bartosh3-8/+8
Show is a verb and therefore more appropriate to use as a command name. And it is easier to remember as it's consistent with git command. Fixes: #2326 Change-Id: Ib5919cc51000f4866571d78660185154c16f994e Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
2015-01-23obs: Disable pylint warningEd Bartosh1-0/+1
Disabled 'Too many public methods' warning as it comes from OSC and has nothing to do with the code from obs module. Fixes: #2320 Change-Id: I61aa73de07da797ee5d555fda90d65cc963bfe3d Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
2015-01-23diff: Use difftype namedtupleEd Bartosh1-9/+11
Introduced new sturcture difftype to handle project and manifest. This should fix 2 pylint warnings: 'Too many local variables' and 'Too many arguments'. Fixes: #2320 Change-Id: I9912193871da692ca9f297640f7ef593ecff9df5 Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
2015-01-23group: removed --force optionEd Bartosh2-12/+4
The option was not used in the code and users don't complain, so let's remove it. Change-Id: I560cf4ec8210d41aa645883c7c82e1c97025096a Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
2015-01-23pylinting: Fix W0612 and W0613Ed Bartosh7-9/+9
Fixed 'Unused variable' and 'Unused argument' warnings Fixes: #2320 Change-Id: I52ef7310586a9fb6f2b003a138afc09f7246aab8 Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
2015-01-14pylinting: Fix pylint error C0330Ed Bartosh9-25/+26
Fixed 'Wrong continued indentation' errors Fixes: #2320 Change-Id: I71d4353079990e34093d74b33bbe9c38fda43c9b Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
2014-12-29Updated Release tag in spec0.3release-test-20150810release-test-0.1Ed Bartosh1-2/+2
Set release tag to 1 (released) Change-Id: Ice3c31d3369457f72238b2799caea08ea8df5568 Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
2014-12-22Add release notes for 0.3 to RELEASE_NOTESEd Bartosh1-0/+24
Change-Id: I69727b04d95494663537375f8de888dc1d788797 Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
2014-12-22Output SR for rejected/accepted submissionsEd Bartosh3-9/+16
Ouput of repa list now contains SRs for rejected or accepted submissions in base project. Change-Id: Iac1de4c57c896c28934f50507bdf89e98e9e0181 Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
2014-12-22Code cleanupEd Bartosh0-0/+0
Fixed pylint warnings Change-Id: If091039bc80cd0b314eab7223753dc91ca8dd630 Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
2014-12-14Set repa version to 0.3Ed Bartosh2-2/+2
Change-Id: I39519a5f7f5b243fb34ce6fc0227da90e66c3013 Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
2014-12-14Update changelogs for v.0.3Ed Bartosh2-5/+32
Change-Id: I1ec84ebad0a6ef2c27b1376dbc2e5a1d6b4a7a95 Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
2014-12-14Remove unused function get_prerelease_projectsEd Bartosh1-4/+0
This function was used in previous implementation of repa diff and not needed anymore. Change-Id: I4eff6b11553f07103fdacd2f487cdcf88c674d8c Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
2014-12-14Implement --base option for repa listEd Bartosh3-12/+47
This option shows status of submission in base project if submission is pending there. Fixes: #2268 Change-Id: Idee9fafa6f8c92c524300240729778d46441d092 Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
2014-12-14Reworked repa diffEd Bartosh4-64/+86
Now repa diff uses _service:gbs:_git-meta to get tags from compare project. It makes it much faster and reliable than previously. Fixes: #1869 Change-Id: I5b11845afe2c73b2de38cb830d050fb57742c0ed Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
2014-12-14Code cleanupEd Bartosh7-29/+29
Fixed pylint warnings Change-Id: If091039bc80cd0b314eab7223753dc91ca8dd630 Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
2014-07-02Drop 'Commit' keyword from the submitrequest infoMarkus Lehtonen1-4/+2
Commit is not used by anything and it doesn't make any sense for group submissions (which have multiple commmits, one per project). Change-Id: I3519017a68dec57e5319a5437379d1bc8cd75bb3 Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2014-07-02List all projects in submitrequest messageMarkus Lehtonen1-1/+2
There are multiple gerrit projects in case of group submissions. We need to list all of them in the SR message. TODO: list all commits, too Change-Id: Icc896389920f4ccf942cdbdd7a70fed21d9ed997 Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2014-06-17Implement --noaggregate command line and config optionEd Bartosh2-6/+21
After adding arm targets to Tizen:IVI and Tizen:Common it became impossible for repa to create groups as every submission contains mic-bootstrap and qemu aggregated packages. Repa doesn't allow to group submissions if they contain the same packages. This is quite ugly solution. repa group should be refactored to allow proper implementation. With this line in config: noaggregate = mic-bootstrap-x86-arm.rpm|mic-bootstrap.rpm|\ mic-bootstrap-debugsource.rpm|qemu-accel-armv7l.rpm|\ qemu-accel-armv7l-cross-arm.rpm|qemu-linux-user-cross-arm.rpm it should be possible to create groups again. Fixes: #1990 Change-Id: I4d13a95e6947634df87eead2821efbd943d85822 Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
2014-06-13group: Remove binary package checkEd Bartosh1-4/+0
Check for existance of binary packages has been removed as for some repositories like Tizen:IVI arm/i586 build could be disabled for almost all packages. This makes repa group fail for any submission. Change-Id: I089418dd01687ab27855d12b58ad6c1d42aaf627 Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
2014-06-13create_sr: Fix unicode issueEd Bartosh1-1/+1
When the submitter has non ascii characters in the name, repa accept fails to create SR with the following error: $ repa accept submit/tizen_common/20140610.120852 submission submit/tizen_common/20140610.120852 Traceback (most recent call last): File "/usr/bin/repa", line 9, in <module> load_entry_point('repa==0.2', 'console_scripts', 'repa')() File "repa/main.py", line 130, in main return args.func(args) File "repa/accept.py", line 57, in run argv.project, argv.comment) File "repa/common.py", line 104, in accept_or_reject str(meta['obs_target_prj']), message=message) File "repa/obs.py", line 174, in create_sr cgi.escape(str(message)) UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 13: ordinal not in range(128) In the above example, my name is "St\xe9phane Desneux" and \xe9 is 'e' with acute in iso-8859-15 . Fixes: #1979 Fixes: #TINF-618 Change-Id: Ied208005d2cb1e4ad0bd785418aa3bfe77d70bc0 Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
2014-06-13list: Implement --ignore command line optionEd Bartosh2-8/+25
This option gives user possibility to ignore broken state of packages. For Tizen:Common and Tizen:IVI it's must have currently as _aggregate packages are broken in prerelease projects because of OBS bug. This causes wrong status reported for all submissions. Change-Id: Iaac19a922a4b5996aff8d7cd277f20ec6868794c Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
2014-06-13info: Excluded 'disabled' build statut from the listEd Bartosh1-1/+2
With a lot of packages in 'disabled' state repa info produced a very long output, which makes it too hard to understand and analyze. Excluding it should make an output more useful. Change-Id: I0b2d4999cd974d534c44a4ccb61d87573932c9f2 Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
2014-06-13group: Implemented parallel package aggregatingEd Bartosh0-0/+0
This change should speed up group creation. Currently it's too slow, especially for submissions with a lot of rebuilt packages. Fixes: #1955 Change-Id: Id271e1bb30897bbb3807ac4221acef32d4d3eed1 Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>