Age | Commit message (Collapse) | Author | Files | Lines |
|
Change-Id: I10c5bcbe7330b9b7a645cf464726ecf1d25183c5
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
|
|
Change-Id: I9b506721cf7065c4e46866cc91edd3803a4bce1c
|
|
Change-Id: I0b8480263728404509634146d51ac4bf4fd4a9ca
Signed-off-by: yan11.meng <yan11.meng@samsung.com>
|
|
Change-Id: Ib92cc1ef25f20b322cb0a7a134e965363d0eca28
|
|
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
|
|
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
|
|
Show submission reference project in project : --refprj
Change-Id: Ia3a9a838b1b525fe8ff3cd92545a7ed38735eab7
|
|
Integrate https://api.tizen.org with https://build.tizen.org and only use https://build.tizen.org.
Change-Id: Ife6b843a445ffaaa3c9546dee5b63dc7324c080f
|
|
Change-Id: I95193d9dcc9ab49ebef28872dbaa9e1acb865592
|
|
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>
|
|
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>
|
|
Change-Id: Icfbc3807730d5bce96047fc9e346fbc95eec66c7
|
|
|
|
Change-Id: Id54400dd361bc5fc7227f5e5ee83607d5a815039
|
|
Change-Id: I776d540ba291e96a4c24f48ce08124f24a85f7f6
|
|
Change-Id: I6ce7848983b9da65e42d91fbd05d6f3466446d93
|
|
Change-Id: Ib1aca70c42bb435a6114b8ff20237ae27e24b9ba
Signed-off-by: Rong Jinhui <jinhui.rong@samsung.com>
|
|
-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>
|
|
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>
|
|
Bumped version for python, debian and rpm packages.
Change-Id: I5de3ca504eb8e4f69f9b2e0b263154164b56b6f4
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
|
|
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>
|
|
repa remove triggers re job on jenkins with action=remove.
Fixes: #2323
Change-Id: Ieb2e779b82d360b34ef0342bb947d6f5b4833955
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
|
|
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>
|
|
'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>
|
|
repa rebuild triggers re job on jenkins with action=rebuild.
Fixes: #2322
Change-Id: I5a18aeb441eeb608d3015e131d150665cd6992a1
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
Fixed 'Unused variable' and 'Unused argument' warnings
Fixes: #2320
Change-Id: I52ef7310586a9fb6f2b003a138afc09f7246aab8
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
|
|
Fixed 'Wrong continued indentation' errors
Fixes: #2320
Change-Id: I71d4353079990e34093d74b33bbe9c38fda43c9b
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
|
|
Set release tag to 1 (released)
Change-Id: Ice3c31d3369457f72238b2799caea08ea8df5568
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
|
|
Change-Id: I69727b04d95494663537375f8de888dc1d788797
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
|
|
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>
|
|
Fixed pylint warnings
Change-Id: If091039bc80cd0b314eab7223753dc91ca8dd630
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
|
|
Change-Id: I39519a5f7f5b243fb34ce6fc0227da90e66c3013
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
|
|
Change-Id: I1ec84ebad0a6ef2c27b1376dbc2e5a1d6b4a7a95
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
|
|
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>
|
|
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>
|
|
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>
|
|
Fixed pylint warnings
Change-Id: If091039bc80cd0b314eab7223753dc91ca8dd630
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|