Age | Commit message (Collapse) | Author | Files | Lines |
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
It's hard for users to create the group with many submissions as
every time conflict is found group creation fails and they have
to start grouping again, removing conflicting submission.
This change makes repa to skip conflicting submission and continue
group creation without it. It should simplify and spead up RE work a lot.
Change-Id: I5a08059849e63e7fb8a07e4b05f9c81846d8af57
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
|
|
Change-Id: I11782fa592cbc11740dfe9b2ae62520d1b810c9b
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
|
|
If publishing is enabled OBS publishes repository after each
aggregate operation, which triggers a lot of not needed image
creation and testing events. It can cause wrong test results and
accepting of bad submissions.
Change-Id: Idf6fd28101feb7857fca4b7830acd797e2b4d487
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
|
|
Change-Id: Icb7ecc36649eaa580b6ac7a91cf9a16a9955820e
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
|
|
Change-Id: I787a06d2b1bbb88bcd1a943657759ad0e89f9228
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
|
|
Stopped using OpenSUSE format in favor of using git-rpm-ch
to maintain changelogs.
Change-Id: Ifd0992b7e74aa348c5f2ca91b28bab171826f473
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
|
|
Fixed wrong description of accept and reject. They don't accept
list of submissions and submit groups. They accept only one parameter -
submission or submit group.
Change-Id: Ib4add5cbe027e02638a742cd156c1c5d84aceea3
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
|
|
repa diff shows the difference between manifest of target project and
another (usually base) project. It also shows latest accepted submission
in another project and its status in target project.
repa diff should help RE to mantain the difference between base
and target projects.
Change-Id: I6ef93a5eb2c5a60b3778a721caa8be47da9f5882
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
|
|
Although it's tiny API it makes sense to implement it as
it keeps usage of OBS_PROJECT_PREFIX inside common.py
Change-Id: Ib5166f4804499576f8540a3141129507410beb49
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
|
|
Separated get_project_list API from get_project as it will be called
by repa diff and other higher level code.
git_project performs a lot more queries then just getting list of
projects as it als gets build results and descriptions for every
project. git_project_list only gets the list of projects, which is
much faster.
Change-Id: I285b19b478d384cd4473ba2b8a8ef9637c611538
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
|
|
To distinguish groups from simple prerelease projects let's add
-group suffix to project path.
This was requested by QA team as they may consider to test only
group images as they don't have enough capacity to test all submissions,
so they need a way to distinguish groups.
Change-Id: I6c5f6d87d5e6b7ee1a51c84407876b8513111fa8
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
|
|
Implemented get_srs to get SRs from the project.
Optionally SRs can be filtered by package and comma-separated
list of statuses.
Change-Id: If003f25e1d54742e13cd1c1d1418598ee4baea15
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
|