72 Commits

Author SHA1 Message Date
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
69d515b957 Remove some superfluous code 2014-02-11 19:20:50 +01:00
Stephan Kulow
21c042a44c simplify rqlink usage by offering osc staging select LETTER REQUESTS... 2014-02-11 15:23:34 +01:00
Stephan Kulow
f9bd662cb7 remove the prosa from the staging title 2014-02-11 14:43:32 +01:00
Michal Hrusecky
1ecc5349ed Nice titles for staging projects 2014-02-11 14:05:24 +01:00
Stephan Kulow
d1691794fc the ring projects are renamed
And we don't care for Rings higher than 1 atm
2014-02-11 13:57:01 +01:00
Stephan Kulow
881c985df2 correctly expand the revision in rqlink 2014-02-11 13:57:01 +01:00
6b7f2ae139 Dest parameter correct by default 2014-02-11 11:45:53 +01:00
a8f547b8e1 More fixes in opts params 2014-02-11 11:44:59 +01:00
86ff0438c5 Fix parameter opts for _get_changed 2014-02-11 11:08:02 +01:00
Michal Hrusecky
b9b397e264 Smoother handling of arguments error 2014-02-10 19:59:45 +01:00
Michal Hrusecky
3b1d44203f Better FIXME and use format 2014-02-10 14:52:50 +01:00
Michal Hrusecky
a0653edc7e Renaming the functions for rqlink to match the rest 2014-02-10 14:38:50 +01:00
Michal Hrusecky
cfd669907d Move rqlink to API Class 2014-02-10 14:13:06 +01:00
Tomáš Chvátal
9e1f61c1a8 Add some basic check for the non-ring acceptance. 2014-02-10 13:58:59 +01:00
Tomáš Chvátal
f2c67f6cb3 Fix variable typos. 2014-02-10 13:39:20 +01:00
Tomáš Chvátal
ed330caaeb Rename the function for better understanding. 2014-02-10 13:37:39 +01:00
Tomáš Chvátal
94f68ca8ef Add rings api and start some requests api with tests. 2014-02-10 13:24:49 +01:00
Tomáš Chvátal
dae106f849 Apidoc and whitespace updates. 2014-02-10 10:48:29 +01:00
Michal Hrušecký
cf94542e41 Merge pull request #4 from scarabeusiv/master
Merge whitespace & documentation cleanup
2014-02-10 10:35:27 +01:00
Tomáš Chvátal
dd7405f4ff Different year, whitespace 2014-02-10 10:20:52 +01:00
Michal Hrusecky
933a002290 Cleanup of rqlink
Nicer behaviour, basic documentation
2014-02-10 10:20:16 +01:00
Michal Hrusecky
210d679228 Add basic rqlink functionality
Many things still in TODO:
* cover it with tests
* add functionality for grouping requests
* handle various corner cases:
** what if request is already there?
** wrong syntax
** delete requests
2014-02-10 09:45:22 +01:00
Michal Hrusecky
6de4826f48 Minor formating issue 2014-02-06 09:51:51 +01:00