7337 Commits

Author SHA1 Message Date
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
e44f86a939 Tests for review manipulations 2014-02-17 15:12:18 +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
Alberto Planas
a33c27578c Merge pull request #34 from openSUSE/coolo_1323
check for dirty repositories
2014-02-17 14:32:06 +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
Alberto Planas
a111145097 Merge pull request #33 from openSUSE/coolo_1323
implement issue #1323
2014-02-17 14:22:40 +01:00
Alberto Planas
56d90b8079 Merge pull request #32 from openSUSE/coolo_1487
check_source should not ignore delete requests (issue 1487)
2014-02-17 14:21:11 +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
Alberto Planas
7de20e2097 Merge pull request #31 from openSUSE/coolo_1344
rework the check logic and implement review checks (issue 1344)
2014-02-17 13:14:50 +01:00
Stephan Kulow
dbec892d3c check_source should not ignore delete requests (issue 1487) 2014-02-17 13:11:04 +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
5b0eae9f6a Merge pull request #30 from aplanas/master
Fix Travis
2014-02-17 12:28:25 +01:00
81e72c7b64 Remove unused headers 2014-02-17 10:24:34 +01:00
0fc5eee143 Remove Python 2.6 and add Python 3.3 2014-02-17 10:23:37 +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
Alberto Planas
30eeda3578 Merge pull request #29 from openSUSE/moveout_freeze
move the 'freeze' command in a file on its own and implement issue 1515
2014-02-15 17:21:28 +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
Stephan Kulow
0065b8ad6f Merge pull request #28 from miska/master
Included check and better move
2014-02-14 21:34:51 +01:00
Michal Hrusecky
ddef7b9fca Put checking command in place 2014-02-14 19:18:08 +01:00
Michal Hrusecky
7acc216073 Tests for checking repository status 2014-02-14 19:17:31 +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
0f791f19fa wrote my first test - for create_package_container 2014-02-13 14:15:14 +01:00
Stephan Kulow
8d77c481c6 Merge pull request #26 from miska/master
Fix removing request from metadata
2014-02-13 13:29:06 +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
4b6a118445 More header fixing to allow static analysis 2014-02-13 11:43:46 +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
ec98affc28 checkcore is no longer necessary as new rings are not fixed links 2014-02-13 11:34:35 +01:00
Stephan Kulow
2ed75ae4cd Merge pull request #24 from miska/master
Not crashing on valid but incorrect YAML
2014-02-13 11:31:14 +01:00
Alberto Planas
21e3f2b259 Merge pull request #25 from coolo/remove_create
remove create - we don't use it at the moment
2014-02-13 11:24:18 +01:00
Stephan Kulow
04af493f24 remove create - we don't use it at the moment
we need to revisit what to do for creating staging:work - but the code
is in the git history
2014-02-13 11:21:45 +01:00
Michal Hrusecky
a74d37ddd9 Not crashing on valid but incorrect YAML
Making sure that if we succeed in reading YAML, the result actually contains
the structure we want/need.
2014-02-13 10:44:58 +01:00
Michal Hrusecky
f505182e72 Ignore HTML generated from asciidoc 2014-02-13 10:40:20 +01:00
Stephan Kulow
1c5d24e66c two urgent fixes 2014-02-12 19:46:22 +01:00
Alberto Planas
fe67be0cb7 Merge pull request #22 from coolo/move_check
shorten the title - the API only allows 255
2014-02-12 17:37:51 +01:00