tools/repa.git
7 months agoport python2.x code to python3.x 02/308402/1 devel master
biao716.wang [Thu, 23 Mar 2023 03:22:57 +0000 (12:22 +0900)]
port python2.x code to python3.x

Change-Id: I10c5bcbe7330b9b7a645cf464726ecf1d25183c5
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
4 years agoUpgrade REPA version to 0.7 80/236480/1 accepted/tizen_devbase_tools devel-py2 accepted/tizen/devbase/tools/20200623.003426 submit/trunk/20200619.141212 submit/trunk/20200622.151812 submit/trunk/20201029.114030 submit/trunk/20201029.132130
yan11.meng [Wed, 17 Jun 2020 09:26:54 +0000 (17:26 +0800)]
Upgrade REPA version to 0.7

Change-Id: I9b506721cf7065c4e46866cc91edd3803a4bce1c

4 years agoFix pylint error for repa 84/219884/6 accepted/tizen/devbase/tools/20200104.053734 accepted/tizen/devbase/tools/20200106.014254 accepted/tizen/devbase/tools/20200106.014345 accepted/tizen/devbase/tools/20200106.014357 accepted/tizen/devbase/tools/20200106.014412 accepted/tizen/devbase/tools/20200109.052739 accepted/tizen/devbase/tools/20200110.011754 accepted/tizen/devbase/tools/20200114.020219 accepted/tizen/devbase/tools/20200114.115756 accepted/tizen/devbase/tools/20200115.231515 accepted/tizen/devbase/tools/20200214.062304 accepted/tizen/devbase/tools/20200219.094522 accepted/tizen/devbase/tools/20200415.093518 accepted/tizen/devbase/tools/20200423.100605 accepted/tizen/devbase/tools/20200514.023628 accepted/tizen/devbase/tools/20200520.012823 accepted/tizen/devbase/tools/20200618.010604 submit/trunk/20200104.111333 submit/trunk/20200104.134833 submit/trunk/20200104.154833 submit/trunk/20200104.164833 submit/trunk/20200104.173833 submit/trunk/20200105.091733 submit/trunk/20200107.112802 submit/trunk/20200107.162402 submit/trunk/20200107.170902 submit/trunk/20200108.135302 submit/trunk/20200108.172202 submit/trunk/20200108.172702 submit/trunk/20200109.105802 submit/trunk/20200109.112402 submit/trunk/20200109.124502 submit/trunk/20200109.151502 submit/trunk/20200109.154402 submit/trunk/20200110.111659 submit/trunk/20200114.100000 submit/trunk/20200114.110000 submit/trunk/20200115.110101 submit/trunk/20200213.184721 submit/trunk/20200213.191021 submit/trunk/20200214.114520 submit/trunk/20200219.120523 submit/trunk/20200409.194520 submit/trunk/20200409.200220 submit/trunk/20200409.202020 submit/trunk/20200410.143020 submit/trunk/20200410.160020 submit/trunk/20200413.132320 submit/trunk/20200413.150000 submit/trunk/20200413.151000 submit/trunk/20200414.141500 submit/trunk/20200414.191000 submit/trunk/20200422.115210 submit/trunk/20200422.142510 submit/trunk/20200422.165210 submit/trunk/20200423.102810 submit/trunk/20200423.111223 submit/trunk/20200423.122334 submit/trunk/20200513.162810 submit/trunk/20200519.161030 submit/trunk/20200519.164610 submit/trunk/20200519.184310 submit/trunk/20200612.131210 submit/trunk/20200612.180310 submit/trunk/20200612.182210 submit/trunk/20200612.185510 submit/trunk/20200612.191020 submit/trunk/20200615.140020 submit/trunk/20200617.133020
yan11.meng [Wed, 11 Dec 2019 07:10:32 +0000 (15:10 +0800)]
Fix pylint error for repa

Change-Id: I0b8480263728404509634146d51ac4bf4fd4a9ca
Signed-off-by: yan11.meng <yan11.meng@samsung.com>
6 years agoUpgrade REPA version to 0.6 27/163727/3 release-20171213 accepted/tizen/devbase/tools/20190927.044754 submit/trunk/20190927.012842 submit/trunk/20191017.111201 submit/trunk/20191017.233826 submit/trunk/20191030.112603 submit/trunk/20191101.102136
y0169.zhang [Tue, 12 Dec 2017 07:53:45 +0000 (15:53 +0800)]
Upgrade REPA version to 0.6

Change-Id: Ib92cc1ef25f20b322cb0a7a134e965363d0eca28

7 years ago Implement repa update 73/140173/3
Yonghee Han [Mon, 24 Jul 2017 05:30:25 +0000 (14:30 +0900)]
Implement repa update

    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

7 years agoDXLTTC-785 First SR acceptance problem. 72/138372/2
Yonghee Han [Wed, 12 Jul 2017 03:31:24 +0000 (12:31 +0900)]
DXLTTC-785 First SR acceptance problem.

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

7 years agoDXLTTC-761 Add argument of repa list 57/138157/1
Yonghee Han [Tue, 11 Jul 2017 00:54:05 +0000 (09:54 +0900)]
DXLTTC-761 Add argument of repa list

Show submission reference project in project : --refprj

Change-Id: Ia3a9a838b1b525fe8ff3cd92545a7ed38735eab7

7 years agoDo not use https://api.tizen.org 39/136939/1
Yonghee Han [Fri, 30 Jun 2017 06:17:05 +0000 (15:17 +0900)]
Do not use https://api.tizen.org

Integrate https://api.tizen.org with https://build.tizen.org and only use https://build.tizen.org.

Change-Id: Ife6b843a445ffaaa3c9546dee5b63dc7324c080f

7 years agoUpgrade REPA version to 0.5
SoonKyu Park [Tue, 4 Apr 2017 12:28:32 +0000 (21:28 +0900)]
Upgrade REPA version to 0.5

Change-Id: I95193d9dcc9ab49ebef28872dbaa9e1acb865592

7 years agoDo not update source of _link packages even if an SR is accepted. 64/122864/2
Junghyun Kim [Mon, 3 Apr 2017 23:59:20 +0000 (08:59 +0900)]
Do not update source of _link packages even if an SR is accepted.

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>
8 years agoDo not accept aggregate packages. 47/89247/3
Junghyun Kim [Tue, 1 Nov 2016 11:21:19 +0000 (20:21 +0900)]
Do not accept aggregate packages.

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>
8 years agoUpdate RELEASE_NOTES for 0.4 devel_psk_20160727 release-20160411 release-20160615 release-20160930 release-20161231
SoonKyu Park [Tue, 3 May 2016 05:41:02 +0000 (14:41 +0900)]
Update RELEASE_NOTES for 0.4

Change-Id: Icfbc3807730d5bce96047fc9e346fbc95eec66c7

8 years agoMerge remote-tracking branch 'origin/release-20160315' into release-20160411
SoonKyu Park [Mon, 11 Apr 2016 07:49:41 +0000 (16:49 +0900)]
Merge remote-tracking branch 'origin/release-20160315' into release-20160411

8 years agomodify debian version to 0.4 release-20160315
yang.zhang [Fri, 4 Mar 2016 07:48:58 +0000 (15:48 +0800)]
modify debian version to 0.4

Change-Id: Id54400dd361bc5fc7227f5e5ee83607d5a815039

8 years agomodify spec version
yang.zhang [Thu, 25 Feb 2016 07:17:55 +0000 (15:17 +0800)]
modify spec version

Change-Id: I776d540ba291e96a4c24f48ce08124f24a85f7f6

8 years agomodify dev version and spec
yang.zhang [Tue, 23 Feb 2016 07:29:17 +0000 (15:29 +0800)]
modify dev version and spec

Change-Id: I6ce7848983b9da65e42d91fbd05d6f3466446d93

9 years agoTest patchset for "devel" branch of repa 88/42088/1
Rong Jinhui [Tue, 23 Jun 2015 06:27:11 +0000 (14:27 +0800)]
Test patchset for "devel" branch of repa

Change-Id: Ib1aca70c42bb435a6114b8ff20237ae27e24b9ba
Signed-off-by: Rong Jinhui <jinhui.rong@samsung.com>
9 years agoImplement --edit command line option
Ed Bartosh [Sat, 14 Feb 2015 22:59:41 +0000 (00:59 +0200)]
Implement --edit command line option

-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>
9 years agoUse jenkins job to accept and reject submissions
Ed Bartosh [Thu, 12 Feb 2015 14:05:00 +0000 (16:05 +0200)]
Use jenkins job to accept and reject submissions

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>
9 years agoBump repa version to 0.4.0.dev
Ed Bartosh [Thu, 5 Feb 2015 20:29:48 +0000 (22:29 +0200)]
Bump repa version to 0.4.0.dev

Bumped version for python, debian and rpm packages.

Change-Id: I5de3ca504eb8e4f69f9b2e0b263154164b56b6f4
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
9 years agorepa list: Add build time
Ed Bartosh [Tue, 3 Feb 2015 18:55:30 +0000 (20:55 +0200)]
repa list: Add build time

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>
9 years agoImplement repa remove
Ed Bartosh [Sun, 1 Feb 2015 19:38:11 +0000 (21:38 +0200)]
Implement repa remove

repa remove triggers re job on jenkins with action=remove.

Fixes: #2323

Change-Id: Ieb2e779b82d360b34ef0342bb947d6f5b4833955
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
9 years agoImplement repa lock/unlock
Ed Bartosh [Sun, 1 Feb 2015 19:07:32 +0000 (21:07 +0200)]
Implement repa lock/unlock

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>
9 years agoshow: Fixed forgotten old 'info' name
Ed Bartosh [Sun, 1 Feb 2015 14:22:20 +0000 (16:22 +0200)]
show: Fixed forgotten old 'info' name

'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>
9 years agoImplement repa rebuild submcommand
Ed Bartosh [Sun, 1 Feb 2015 14:12:08 +0000 (16:12 +0200)]
Implement repa rebuild submcommand

repa rebuild triggers re job on jenkins with action=rebuild.

Fixes: #2322

Change-Id: I5a18aeb441eeb608d3015e131d150665cd6992a1
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
9 years agoImplement interface to Jenkins
Ed Bartosh [Sun, 1 Feb 2015 10:01:55 +0000 (12:01 +0200)]
Implement interface to Jenkins

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>
9 years agoDebian: Add dependency to setuptools
Ed Bartosh [Tue, 13 Jan 2015 23:31:45 +0000 (01:31 +0200)]
Debian: Add dependency to setuptools

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>
9 years agoRenamed command info -> show
Ed Bartosh [Fri, 16 Jan 2015 18:53:28 +0000 (20:53 +0200)]
Renamed command info -> show

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>
9 years agoobs: Disable pylint warning
Ed Bartosh [Fri, 16 Jan 2015 12:48:12 +0000 (14:48 +0200)]
obs: Disable pylint warning

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>
9 years agodiff: Use difftype namedtuple
Ed Bartosh [Fri, 16 Jan 2015 12:16:31 +0000 (14:16 +0200)]
diff: Use difftype namedtuple

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>
9 years agogroup: removed --force option
Ed Bartosh [Fri, 16 Jan 2015 09:23:44 +0000 (11:23 +0200)]
group: removed --force option

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>
9 years agopylinting: Fix W0612 and W0613
Ed Bartosh [Tue, 13 Jan 2015 23:54:03 +0000 (01:54 +0200)]
pylinting: Fix W0612 and W0613

Fixed 'Unused variable' and 'Unused argument' warnings

Fixes: #2320

Change-Id: I52ef7310586a9fb6f2b003a138afc09f7246aab8
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
9 years agopylinting: Fix pylint error C0330
Ed Bartosh [Tue, 13 Jan 2015 22:49:59 +0000 (00:49 +0200)]
pylinting: Fix pylint error C0330

Fixed 'Wrong continued indentation' errors

Fixes: #2320

Change-Id: I71d4353079990e34093d74b33bbe9c38fda43c9b
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
9 years agoUpdated Release tag in spec release-test-0.1 release-test-20150810 0.3
Ed Bartosh [Mon, 29 Dec 2014 09:58:14 +0000 (11:58 +0200)]
Updated Release tag in spec

Set release tag to 1 (released)

Change-Id: Ice3c31d3369457f72238b2799caea08ea8df5568
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
9 years agoAdd release notes for 0.3 to RELEASE_NOTES
Ed Bartosh [Mon, 15 Dec 2014 12:33:29 +0000 (14:33 +0200)]
Add release notes for 0.3 to RELEASE_NOTES

Change-Id: I69727b04d95494663537375f8de888dc1d788797
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
9 years agoOutput SR for rejected/accepted submissions
Ed Bartosh [Mon, 22 Dec 2014 12:59:41 +0000 (14:59 +0200)]
Output SR for rejected/accepted submissions

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>
9 years agoCode cleanup
Ed Bartosh [Sun, 14 Dec 2014 14:28:21 +0000 (16:28 +0200)]
Code cleanup

Fixed pylint warnings

Change-Id: If091039bc80cd0b314eab7223753dc91ca8dd630
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
9 years agoSet repa version to 0.3
Ed Bartosh [Sun, 14 Dec 2014 16:55:45 +0000 (18:55 +0200)]
Set repa version to 0.3

Change-Id: I39519a5f7f5b243fb34ce6fc0227da90e66c3013
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
9 years agoUpdate changelogs for v.0.3
Ed Bartosh [Sat, 13 Dec 2014 22:06:48 +0000 (00:06 +0200)]
Update changelogs for v.0.3

Change-Id: I1ec84ebad0a6ef2c27b1376dbc2e5a1d6b4a7a95
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
9 years agoRemove unused function get_prerelease_projects
Ed Bartosh [Sun, 14 Dec 2014 15:16:46 +0000 (17:16 +0200)]
Remove unused function get_prerelease_projects

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>
9 years agoImplement --base option for repa list
Ed Bartosh [Fri, 12 Dec 2014 15:47:36 +0000 (17:47 +0200)]
Implement --base option for repa list

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>
9 years agoReworked repa diff
Ed Bartosh [Fri, 12 Dec 2014 14:43:51 +0000 (16:43 +0200)]
Reworked repa diff

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>
9 years agoCode cleanup
Ed Bartosh [Sun, 14 Dec 2014 14:28:21 +0000 (16:28 +0200)]
Code cleanup

Fixed pylint warnings

Change-Id: If091039bc80cd0b314eab7223753dc91ca8dd630
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
10 years agoDrop 'Commit' keyword from the submitrequest info
Markus Lehtonen [Wed, 2 Jul 2014 15:02:11 +0000 (18:02 +0300)]
Drop 'Commit' keyword from the submitrequest info

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>
10 years agoList all projects in submitrequest message
Markus Lehtonen [Tue, 1 Jul 2014 13:05:19 +0000 (16:05 +0300)]
List all projects in submitrequest message

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>
10 years agoImplement --noaggregate command line and config option
Ed Bartosh [Tue, 17 Jun 2014 20:22:28 +0000 (23:22 +0300)]
Implement --noaggregate command line and config option

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>
10 years agogroup: Remove binary package check
Ed Bartosh [Fri, 13 Jun 2014 09:33:43 +0000 (12:33 +0300)]
group: Remove binary package check

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>
10 years agocreate_sr: Fix unicode issue
Ed Bartosh [Fri, 13 Jun 2014 09:23:53 +0000 (12:23 +0300)]
create_sr: Fix unicode issue

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>
10 years agolist: Implement --ignore command line option
Ed Bartosh [Thu, 12 Jun 2014 12:54:45 +0000 (15:54 +0300)]
list: Implement --ignore command line option

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>
10 years agoinfo: Excluded 'disabled' build statut from the list
Ed Bartosh [Thu, 12 Jun 2014 11:30:30 +0000 (14:30 +0300)]
info: Excluded 'disabled' build statut from the list

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>
10 years agogroup: Implemented parallel package aggregating
Ed Bartosh [Thu, 12 Jun 2014 11:26:34 +0000 (14:26 +0300)]
group: Implemented parallel package aggregating

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>
10 years agogroup: Implemented parallel package aggregating
Ed Bartosh [Thu, 12 Jun 2014 11:26:34 +0000 (14:26 +0300)]
group: Implemented parallel package aggregating

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>
10 years agoSkip conflicting submissions when creating a group
Ed Bartosh [Mon, 26 May 2014 10:59:43 +0000 (13:59 +0300)]
Skip conflicting submissions when creating a group

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>
10 years agoStarted to work on 0.3
Ed Bartosh [Wed, 21 May 2014 14:36:51 +0000 (17:36 +0300)]
Started to work on 0.3

Change-Id: I11782fa592cbc11740dfe9b2ae62520d1b810c9b
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
10 years agogroup: disable publishing when aggregating packages
Ed Bartosh [Wed, 21 May 2014 09:17:58 +0000 (12:17 +0300)]
group: disable publishing when aggregating packages

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>
10 years agoUpdated debian and rpm changelogs
Ed Bartosh [Tue, 20 May 2014 17:36:32 +0000 (20:36 +0300)]
Updated debian and rpm changelogs

Change-Id: Icb7ecc36649eaa580b6ac7a91cf9a16a9955820e
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
10 years agoAdded release notes for v0.2
Ed Bartosh [Tue, 20 May 2014 17:29:25 +0000 (20:29 +0300)]
Added release notes for v0.2

Change-Id: I787a06d2b1bbb88bcd1a943657759ad0e89f9228
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
10 years agoConvert repa.changes into rpm format
Ed Bartosh [Tue, 20 May 2014 16:33:26 +0000 (19:33 +0300)]
Convert repa.changes into rpm format

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>
10 years agoCorrect man page for accept and reject subcommands
Ed Bartosh [Fri, 9 May 2014 19:45:57 +0000 (22:45 +0300)]
Correct man page for accept and reject subcommands

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>
10 years agoImplement repa diff
Ed Bartosh [Sun, 11 May 2014 20:33:16 +0000 (23:33 +0300)]
Implement repa diff

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>
10 years agocommon.py: Introduced get_prerelease_projects API
Ed Bartosh [Sun, 18 May 2014 09:40:47 +0000 (12:40 +0300)]
common.py: Introduced get_prerelease_projects API

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>
10 years agoobs.py: Refactored get_project API
Ed Bartosh [Sun, 18 May 2014 09:36:34 +0000 (12:36 +0300)]
obs.py: Refactored get_project API

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>
10 years agoAdd -group suffix to the path
Ed Bartosh [Mon, 12 May 2014 10:07:04 +0000 (13:07 +0300)]
Add -group suffix to the path

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>
10 years agoobs: Implement get_srs function
Ed Bartosh [Sun, 11 May 2014 20:29:50 +0000 (23:29 +0300)]
obs: Implement get_srs function

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>
10 years agoCreate one SR for all packages in submission
Ed Bartosh [Fri, 9 May 2014 19:16:37 +0000 (22:16 +0300)]
Create one SR for all packages in submission

Currently repa creates one SR per package.

This change implements creation of one SR per multiple packages by using new
schema of POST /request API https://api.opensuse.org/apidocs/request.rng

Note, that osc API doesn't support this schema, so it can't be used.

Fixes: #1386

Change-Id: Iae5cb55b0b5f489b9596c5a79e0845ec18a2ba51
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
10 years agorepa info: Fix build status reporting
Ed Bartosh [Sun, 4 May 2014 16:57:30 +0000 (19:57 +0300)]
repa info: Fix build status reporting

When repa shows build failures it should not show packages in 'building'
and 'blocked' statuses.

Change-Id: I1ad2af336c9499105d869104e45d83afcbc8e903
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
10 years agoFix check for common packages
Ed Bartosh [Fri, 2 May 2014 16:22:53 +0000 (19:22 +0300)]
Fix check for common packages

This check should not allow to create group from submissions with common
binary packages. It didn't work because of the incomplete implementation.

Fixes: #1847

Change-Id: I7e756913f8756bdb330bf31dae9574e973717f6c
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
10 years agoAdded 'waiting for images' status to repa list output
Ed Bartosh [Fri, 2 May 2014 15:36:38 +0000 (18:36 +0300)]
Added 'waiting for images' status to repa list output

This status will be shown when there is no information about images in meta.

Change-Id: I0263f9860fccf400ba36bf1d77840d0d006692f6
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
10 years agolist: Added 'blocked' status
Ed Bartosh [Wed, 30 Apr 2014 20:17:53 +0000 (23:17 +0300)]
list: Added 'blocked' status

Blocked status was not processed before, which caused incorrect
status reporting by repa list.

Change-Id: Ibf219d914ef8cc3dc2a7d30881dbb6520c0fc19e
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
10 years agoImplemented --showurls option
Ed Bartosh [Mon, 7 Apr 2014 13:12:48 +0000 (16:12 +0300)]
Implemented --showurls option

Some users want to see urls in repa list output. It's inconvenient for
them to use repa info for every submission to see the urls.

Fixes: #1789

Change-Id: I7cc31bc327fc9593ab21efdd85fe4fe6accfd544
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
10 years agoFixed formatting of output for repa list
Ed Bartosh [Mon, 7 Apr 2014 10:36:08 +0000 (13:36 +0300)]
Fixed formatting of output for repa list

Make status field wider as some statuses don't feet.

Change-Id: Ia79d9dae30b76f669bff57d556e201c4e28ffd52
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
10 years agoImplement --colorize option
Ed Bartosh [Wed, 2 Apr 2014 12:32:34 +0000 (15:32 +0300)]
Implement --colorize option

For now only status is colorized in repa list output. More colorized
pieces will come if users request them.

Fixes: #1765

Change-Id: Ic0517aaa03f443d4e661018a9638712a9afa514b
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
10 years agoImplement Colorizer class
Ed Bartosh [Wed, 2 Apr 2014 12:20:25 +0000 (15:20 +0300)]
Implement Colorizer class

This is going to be used to colorize repa output.

Change-Id: I5d9eddc427c80b787b4fd5d05a46e08b624aa4cc
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
10 years agoGet rid of --regexp command line option
Ed Bartosh [Sun, 30 Mar 2014 08:57:00 +0000 (11:57 +0300)]
Get rid of --regexp command line option

Dropped --regexp in favor of --project, which is much more clear and
used in all modes.

Fixes: #1772

Change-Id: I5347190f41f6c704fe2091909435aaeaa5452f62
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
10 years agoMinor refactoring of get_status
Ed Bartosh [Wed, 2 Apr 2014 06:25:46 +0000 (09:25 +0300)]
Minor refactoring of get_status

Change-Id: Ia5f5e02b9231d11c85b884be9c7c64c64bbfed11
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
10 years agoRepa list: show correct status for submissions with unresolvable packages
Ed Bartosh [Wed, 2 Apr 2014 06:15:54 +0000 (09:15 +0300)]
Repa list: show correct status for submissions with unresolvable packages

repa list was showing overall status as 'Ready' for submissions with
unresolvable packages.

Fixes: #1776

Change-Id: I5ca5e0cc481329de8aa487cd212a66a29f005b94
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
10 years agoUpdate man regarding global options
Ed Bartosh [Sun, 30 Mar 2014 09:52:56 +0000 (12:52 +0300)]
Update man regarding global options

Mentioned <global options> in synopsys.
Renamed section OPTIONS->GLOBAL OPTIONS

Change-Id: Iac09199756ef0d1e9d24a851be0266f6a9a370b6
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
10 years agoUpdate repa version in the man page
Ed Bartosh [Sun, 30 Mar 2014 09:50:42 +0000 (12:50 +0300)]
Update repa version in the man page

Change-Id: Ie9d3aca2ca3f80fa0f24fa84b7dcb7d3896d42b8
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
10 years agoMention --section in man page
Ed Bartosh [Sun, 30 Mar 2014 09:48:31 +0000 (12:48 +0300)]
Mention --section in man page

Global command line option -s/--section was not mentioned in the man.

Change-Id: I5b765258fb2d3b76e5dfcecb22aae69262806b25
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
10 years agoAdd configuration file info to the man page
Ed Bartosh [Sat, 29 Mar 2014 23:12:15 +0000 (01:12 +0200)]
Add configuration file info to the man page

Fixes: #1764

Change-Id: I62d75e44aac796605c23cfc5ad9820e44b55de9d
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
10 years agoMake project mandatory config option
Ed Bartosh [Sat, 29 Mar 2014 22:31:52 +0000 (00:31 +0200)]
Make project mandatory config option

As --project option was mandatory in most of the subcommands let's make
project mandatory config option.

--project becomes non-mandatory global option.

Fixes: #1763

Change-Id: Id7f94fc5d60a1d163bde614ecf0605f944448337
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
10 years agoImplement repa info
Ed Bartosh [Sat, 29 Mar 2014 20:18:29 +0000 (22:18 +0200)]
Implement repa info

repa info shows as much information about one submission as possible.

Fixes: #1195

Change-Id: I3822bae22c0f86abdaa842c067c95ade6f99d918
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
10 years agoReduce amount of information in repa list output
Ed Bartosh [Sat, 29 Mar 2014 20:15:43 +0000 (22:15 +0200)]
Reduce amount of information in repa list output

Repa info will print only small part of information available.
More detailed output will be implemented in repa info mode.

Change-Id: I8e7ba14588f7e550515f0c03cfc84051ee2d962c
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
10 years agoobs/get_projects: retry OBS operations
Ed Bartosh [Sat, 29 Mar 2014 18:42:55 +0000 (20:42 +0200)]
obs/get_projects: retry OBS operations

get_projects starts to fail to query OBS more frequently in parallel
mode. Using nice implementation of retry decorator to repeat queries for
2 methods running under multiprocessing pool.

Change-Id: I175a528d9c0d7aa2951c3b659a1f5f85a8ae614f
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
10 years agoImplement --processes options for repa list
Ed Bartosh [Sat, 29 Mar 2014 17:50:06 +0000 (19:50 +0200)]
Implement --processes options for repa list

Repa list makes a lot of queries to OBS, which results in slow output.
With --processes it queries OBS in parallel utilizing functionality of
multiprocessing module.

This is an experimental feature. Hopefully it will go away when repa
will start using IRIS ReST API.

Fixes: #1762

Change-Id: I47424e5e5c044dd75589f0d0dcb01a7bbff068e8
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
10 years agoStart to work on v0.2
Ed Bartosh [Sat, 29 Mar 2014 18:07:38 +0000 (20:07 +0200)]
Start to work on v0.2

Change-Id: I17b1b12a66bc34a0b725b0e38644ef14b6f8b55d
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
10 years agoFix packaging issue
Ed Bartosh [Sat, 29 Mar 2014 22:02:53 +0000 (00:02 +0200)]
Fix packaging issue

Fixes this build failure:
  File not found by glob: .../site-packages//repa-0.2-*.egg-info
  File not found by glob: .../site-packages/repa-0.2-*-nspkg.pth

Change-Id: I5ea703220aa030773bfb598e12d4b882b6e8167a
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
10 years agorepa group: fixed type of --force option
Ed Bartosh [Wed, 19 Mar 2014 18:56:39 +0000 (20:56 +0200)]
repa group: fixed type of --force option

Change-Id: I3199ac4105725cf575dd0569759537ec42ebace0
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
10 years agoAdded --force option for repa group
Ed Bartosh [Tue, 18 Mar 2014 18:45:05 +0000 (20:45 +0200)]
Added --force option for repa group

By default repa now checks if binary packages exist in submission and
doesn't allow grouping submissions without binary packages.

--force option allows to bypass this check, i.e. allows to group failed
submissions. This can be useful for grouping failed submissions to
reject them as a group.

Fixes: #1707

Change-Id: Ieb66718839e19b63de5039757a2bbc63d02016c6
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
10 years agoUpdate repa.changes for release 0.1.1
Ed Bartosh [Tue, 18 Mar 2014 18:12:58 +0000 (20:12 +0200)]
Update repa.changes for release 0.1.1

Change-Id: I67145fe75644fc6c18a73a6ec2c6676aee13c094
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
Reviewed-on: https://otctools.jf.intel.com/review/10690
Tested-by: OTC Tools Tester <ed.bartosh@linux.intel.com>
Reviewed-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
10 years agoAdded Release Notes
Ed Bartosh [Tue, 18 Mar 2014 14:39:41 +0000 (16:39 +0200)]
Added Release Notes

RELEASE_NOTES file is required to be included to the package by Tools
release manager. They're automatically processed when release is
published and added to the Tools release notes.

Change-Id: Ifb392924c0e25aa845df6d1095ee4b4e5598a932
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
Reviewed-on: https://otctools.jf.intel.com/review/10687
Tested-by: OTC Tools Tester <ed.bartosh@linux.intel.com>
Reviewed-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Reviewed-by: Jian-feng Ding <jian-feng.ding@intel.com>
10 years agoFixed crash when rejecting broken package
Ed Bartosh [Mon, 17 Mar 2014 15:05:38 +0000 (17:05 +0200)]
Fixed crash when rejecting broken package

To obtain revision create_sr code queries source package and crashes
when source is broken with ObsError: <obs>cat't query source <package>
from project <prerelease project>: HTTP Error 400: service gbs failed

This makes it impossible to reject broken submissions.

This change catches exeption and tries to avoid querying the source by
providing revision 1 to create_sr API. As for rejecting it doesn't
matter much which revision to reject it should be safe.

Fixes: #1687

Change-Id: I21b9dda32686c94bfb8e81201424b3e7e7f128b5
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
Reviewed-on: https://otctools.jf.intel.com/review/10674
Tested-by: OTC Tools Tester <ed.bartosh@linux.intel.com>
10 years agoobs.py: Raise RepaException instead of ObsError
Ed Bartosh [Mon, 17 Mar 2014 14:51:16 +0000 (16:51 +0200)]
obs.py: Raise RepaException instead of ObsError

It's better to raise RepaException as it is caught in main.py and error
is printed on stderr. ObsError produces ugly python traceback and scares
users.

References: #1687

Change-Id: Iea85eb263c7e4010df1fa50bf6e16da1ef7f1af0
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
Reviewed-on: https://otctools.jf.intel.com/review/10673
Tested-by: OTC Tools Tester <ed.bartosh@linux.intel.com>
Reviewed-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
10 years agoCatch osc exceptions in obs.py:get_projects
Ed Bartosh [Mon, 17 Mar 2014 13:33:17 +0000 (15:33 +0200)]
Catch osc exceptions in obs.py:get_projects

Catch OSCError exceptions and raises RepaException with the meaningful
error message. RepaException is processed in main.py and prints error
message to stderr.

Fixes: #1708

Change-Id: I966013766e2756d64edf02c9cc6ac51d42f3a525
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
Reviewed-on: https://otctools.jf.intel.com/review/10671
Tested-by: OTC Tools Tester <ed.bartosh@linux.intel.com>
10 years agoRenamed OBS_PREFIX -> PROJECT_PREFIX
Ed Bartosh [Mon, 17 Mar 2014 13:27:06 +0000 (15:27 +0200)]
Renamed OBS_PREFIX -> PROJECT_PREFIX

This is done due to refactoring purposes to make it possible for obs.py
to import common module.

Change-Id: I511a9ea57e320930a93bb5c1b45306287e832a59
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
Reviewed-on: https://otctools.jf.intel.com/review/10670
Tested-by: OTC Tools Tester <ed.bartosh@linux.intel.com>
Reviewed-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
10 years agoAdd Submitter to SR comment
Ed Bartosh [Mon, 17 Mar 2014 11:05:02 +0000 (13:05 +0200)]
Add Submitter to SR comment

Submitter will be added to SR commit If 'submitter' key is present
in meta. This key should be added by backend.

Fixes: #1723

Change-Id: I731df88a247962467b849b9572b4ab9f85077d44
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
Reviewed-on: https://otctools.jf.intel.com/review/10666
Tested-by: OTC Tools Tester <ed.bartosh@linux.intel.com>
Reviewed-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
10 years agoPut commit id into the SR comment
Ed Bartosh [Mon, 17 Mar 2014 10:34:46 +0000 (12:34 +0200)]
Put commit id into the SR comment

Current implementation puts git tag as a commit id into the SR comment.
This change will make repa to use git_commit from the meta if it's
present there. Backend should be also modified to put git_commit into
meta: https://otctools.jf.intel.com/pm/issues/1732

Fixes: #1709

Change-Id: Iae01404652160fb4d86a1c0236e226b28773d225
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
Reviewed-on: https://otctools.jf.intel.com/review/10664
Tested-by: OTC Tools Tester <ed.bartosh@linux.intel.com>
Reviewed-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
10 years agoUpdate man page regarding grouping
Ed Bartosh [Sat, 8 Mar 2014 06:01:59 +0000 (08:01 +0200)]
Update man page regarding grouping

Added notice explaining the purpose(image testing) and details(binary
aggregation) of implementation of groups.

Fixes: #TINF-492

Change-Id: Id5b71891c9ffffe9b962637ed7c65442550930bc
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
Reviewed-on: https://otctools.jf.intel.com/review/10469
Tested-by: OTC Tools Tester <ed.bartosh@linux.intel.com>
Reviewed-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
10 years agoAdded docstring to show_images function
Ed Bartosh [Tue, 25 Feb 2014 16:40:54 +0000 (18:40 +0200)]
Added docstring to show_images function

Change-Id: I919bfe46b4023bc344927a57040f3c24e294a07c
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
Reviewed-on: https://otctools.jf.intel.com/review/10079
Reviewed-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Tested-by: OTC Tools Tester <ed.bartosh@linux.intel.com>
10 years agoAdded obs and download urls to 'repa list' output
Ed Bartosh [Tue, 25 Feb 2014 16:09:40 +0000 (18:09 +0200)]
Added obs and download urls to 'repa list' output

Repa gets both urls from correspondent fields in meta. If they aren't
present in meta repa tries to guess them. Guessing part is temporary.
It will be removed when backend provides urls.

Fixes: #1674

Change-Id: I9f8f63572ae3407b08f1e9d0f7028d237f4fc1d9
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
Reviewed-on: https://otctools.jf.intel.com/review/10078
Tested-by: OTC Tools Tester <ed.bartosh@linux.intel.com>
Reviewed-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>