Stephan Kulow
48e05a9765
fix up the staging functionality for select
2014-02-17 16:09:30 +01:00
Stephan Kulow
afd0e0650e
implement openqa "sync"
...
This implements the current openqa logic - while we have no official API
this will do as long as we keep it uptodate
2014-02-17 15:13:27 +01:00
Michal Hrusecky
98e90ffb64
Implemented reviews handling
...
When adding rq into project, add review by project, when removing, accept the
review.
https://progress.opensuse.org/issues/1565
2014-02-17 14:41:13 +01:00
Stephan Kulow
485a056a4b
check for dirty repositories
...
Also make sure the move_between_projects doesn't move requests not
there
2014-02-17 14:28:18 +01:00
Stephan Kulow
7347ec5baf
make use of RequestFinder in move too. This allows
...
osc staging move A C KDE:Qt
to move all requests in A that match KDE:Qt to C
2014-02-17 14:09:15 +01:00
Stephan Kulow
248a013254
move the useful functions out of the group plugin into a class on its own
2014-02-17 14:07:22 +01:00
Stephan Kulow
6aac10b07f
trying to beat python 3.3
2014-02-17 12:58:35 +01:00
Stephan Kulow
1a04943aeb
rework the check logic and implement review checks (issue 1344)
2014-02-17 12:58:13 +01:00
Stephan Kulow
fabc84ce4c
Merge pull request #21 from coolo/fix_1351
...
check the _links between the prjs and don't offer to delete them
2014-02-17 10:07:40 +01:00
Stephan Kulow
33169f0cba
add a move command to test (and fix) the move api
2014-02-15 17:09:11 +01:00
Stephan Kulow
b2fff384b2
move the 'freeze' command in a file on its own and implement issue 1515
2014-02-15 16:42:07 +01:00
Stephan Kulow
c82d7c03ad
fix confusion between sr_to_prj and rq_to_prj
2014-02-14 21:35:59 +01:00
Michal Hrusecky
5acae8f172
Check whether everything is building Ok
2014-02-14 18:49:50 +01:00
Michal Hrusecky
0459e59702
Implement move using existing API calls
2014-02-14 17:08:17 +01:00
Michal Hrušecký
d9b5a7d252
Merge pull request #27 from coolo/issue_1499
...
implement #1499 and #1489
2014-02-14 09:33:23 +01:00
Stephan Kulow
5dfe871e7d
reapply bffaecb6e20ad2c70e0c4234665ce9f630b58ad8
2014-02-13 14:47:51 +01:00
Stephan Kulow
35d5391bc4
support delete requests by adding empty container and wipe it
2014-02-13 14:38:30 +01:00
Stephan Kulow
8a3f12871b
also test disable_build=True
2014-02-13 14:18:16 +01:00
Stephan Kulow
1c5e4d4387
create _meta and _link for rqlinked packages
...
_meta needs to be as empty as possible and _link is just a plain link without any magic or
template
2014-02-13 13:27:29 +01:00
Michal Hrusecky
f8c2ee506c
Fix removing request from metadata
...
Previous implementation was broken as there ware still some leftovers of
newdata variable mixed with new data variable approach. Made it simple and
working.
2014-02-13 13:20:44 +01:00
Stephan Kulow
cbaf567324
be careful to only reset the requests
2014-02-13 11:48:40 +01:00
Tomáš Chvátal
e7912932ed
Add function to remove from prj pseudometa.
2014-02-13 11:47:16 +01:00
d89f1e1935
Bit of refactoring to make this more readable
2014-02-13 11:43:10 +01:00
2268d6bdf3
Rename StagingApi to StagingAPI
2014-02-13 11:43:10 +01:00
052a74b611
Fix import. Static analysis tools works now
2014-02-13 11:43:10 +01:00
e461b8701c
Put the code in the expected site
2014-02-13 11:43:06 +01:00
Stephan Kulow
a179515805
check the _links between the prjs and don't offer to delete them
2014-02-12 16:29:23 +01:00
Stephan Kulow
222ba33743
seperate the functions needed for the cleanup_rings command
2014-02-12 15:34:57 +01:00
1fb0752147
Move StaginAPI into a module. Fix tests.
2014-02-12 13:15:49 +01:00