95 Commits

Author SHA1 Message Date
0569cf789b Change not ... is to is not. 2014-03-28 16:43:54 +01:00
Stephan Kulow
947006135f actually fixing unselect 2014-03-25 11:55:11 +01:00
Tomáš Chvátal
9564484580 Split unselect from osc-staging.py to separate file and fix add_review to not bother with review if the sr is already dead. Fixes progress issue#1781. 2014-03-24 14:46:50 +01:00
69afaf19f3 Clean headers 2014-03-13 11:07:53 +01:00
Tomas Chvatal
799c7d2264 Split out check command. 2014-03-06 18:57:49 +01:00
Tomas Chvatal
561f76fade Remove staging remove and staging submit-devel for now as it is not working at all. 2014-03-06 18:37:33 +01:00
Tomáš Chvátal
867cd54a12 Revert "Add switch wether to commit to Factory or not during accept."
This reverts commit 220f842c5dd53cd2b227b997d1b6d525caedeb72.

Conflicts:
	osc-staging.py
2014-03-05 15:49:48 +01:00
7d8721c8e6 Fix unselect documentation 2014-03-05 09:24:40 +01:00
eb4aee3a19 A better approach for action #1784 2014-03-04 18:22:37 +01:00
5cdde68c8b action #1784 Unselect do not need a Project parameter, only the Package 2014-03-04 16:51:32 +01:00
Michal Hrušecký
e8c3dcaf81 Merge pull request #88 from scarabeusiv/master
Implement non-ring project verification to not wait on obs/openQA
2014-03-04 15:46:23 +01:00
703b580142 Fix references from opts.move and opts.from_ 2014-03-04 15:31:20 +01:00
4f6e08247a Use tuples (non-mutable) instead of list (mutables) 2014-03-04 15:31:20 +01:00
Tomáš Chvátal
220f842c5d Add switch wether to commit to Factory or not during accept. 2014-03-04 12:58:04 +01:00
Stephan Kulow
2d01cfdbff split unselect and select functions
and move the rather complex select logic in a seperate class
2014-03-04 10:06:36 +01:00
d08861c598 New approach for action #1658 - move does not need a from argument 2014-03-03 17:26:52 +01:00
Stephan Kulow
5fd408c0e1 don't allow select in an outdated (+7 days) project
and build enable the prj afterwards
2014-03-03 17:18:18 +01:00
Alberto Planas
40ee3cfa76 Merge pull request #71 from scarabeusiv/master
Fix staging check <letter> output.
2014-02-27 10:06:55 +01:00
Tomáš Chvátal
848e1b8889 Fix staging check <letter> output. 2014-02-27 09:59:19 +01:00
Alberto Planas
5f4242ab4f Merge pull request #68 from scarabeusiv/master
Move the printing of check command from api to the actual command
2014-02-26 15:01:20 +01:00
Tomáš Chvátal
c739773a48 Move the printing of check command from api to the actual command. 2014-02-26 14:51:01 +01:00
1d23d8ab6d Remove unused import 2014-02-25 14:15:03 +01:00
d8a311db3a action #1658 move does not need a from argument 2014-02-25 14:13:02 +01:00
Stephan Kulow
1acb0e509b don't remove prj meta when freezing
- Preserve title and description of the frozen prj (issue 1585)
- add a small stagingapi wrapper for makeurl, makes the code easier to read
  - url = makeurl(self.apiurl, ...
  + url = self.makeurl(...
- don't freeze AGGR (issue 1611)
2014-02-24 11:49:46 +01:00
Stephan Kulow
3e0cf8ed31 osc staging check with argument should give more output than without
(issue 1587)
2014-02-21 07:10:11 +01:00
Stephan Kulow
9160515913 actually test the previous commit in action ;( 2014-02-20 14:22:33 +01:00
Stephan Kulow
3cb64d8381 unselect needs to reopen factory-staging review
- extend the add_review function to allow by_group too
- readd factory-staging group review for unselect
2014-02-20 11:43:28 +01:00
Stephan Kulow
aeb07c24fc implement accept action (issue 1479) 2014-02-19 11:49:12 +01:00
Stephan Kulow
aa2765c423 moving list command into a file on its own (issue 1591)
Removed accept - which is broken anyway and needs to be redone (issue 1479)
2014-02-18 14:28:45 +01:00
Stephan Kulow
3bf7a84ee7 implement unselect option
removes the request from review and tracking
2014-02-18 13:30:39 +01:00
Stephan Kulow
2fb87f1767 make sure we remove the factory-staging review after picking 2014-02-18 08:58:10 +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
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
81e72c7b64 Remove unused headers 2014-02-17 10:24:34 +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
Michal Hrusecky
ddef7b9fca Put checking command in place 2014-02-14 19:18:08 +01:00
Stephan Kulow
35d5391bc4 support delete requests by adding empty container and wipe it 2014-02-13 14:38:30 +01:00
4b6a118445 More header fixing to allow static analysis 2014-02-13 11:43:46 +01:00
2268d6bdf3 Rename StagingApi to StagingAPI 2014-02-13 11:43:10 +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
Stephan Kulow
222ba33743 seperate the functions needed for the cleanup_rings command 2014-02-12 15:34:57 +01:00
Stephan Kulow
48174c6ab4 reformat the code and check if the ring prjs to clean is all green
Without green state it's very dangerous to remove things not needed
*at that moment*
2014-02-12 15:16:15 +01:00
Tomáš Chvátal
c70f0a8c21 Merge pull request #15 from aplanas/master
Move StaginAPI into a module. Fix tests.
2014-02-12 14:04:32 +01:00
Stephan Kulow
e5b4d6a202 retire rqlink - select is the better interface 2014-02-12 13:37:31 +01:00
1fb0752147 Move StaginAPI into a module. Fix tests. 2014-02-12 13:15:49 +01:00
db2215f67a Extract StagingApi class from osc-staging 2014-02-11 19:20:53 +01:00