51 Commits

Author SHA1 Message Date
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
Stephan Kulow
ad71b0843b implement api call to get days since last freeze 2014-03-03 15:32:33 +01:00
Stephan Kulow
a0572ea8e6 check needs to verify all reviews by_project are tracked 2014-03-03 13:13:32 +01:00
20a7369fee Make pep8 happy, except for the long lines 2014-02-28 14:32:28 +01:00
2772c189bd Remove unused header 2014-02-28 11:04:08 +01:00
Michal Hrusecky
edafdf45ad Test generate_build_status_details 2014-02-27 15:24:22 +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
Tomáš Chvátal
71ab73c345 Use urllib directly to avoid errors from osc http_GET. 2014-02-25 16:37:54 +01:00
Stephan Kulow
576e6ee716 check the request for open reviews before accepting them to avoid errors
issue 1593
2014-02-24 13:30:34 +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
bcf6af0129 avoid tabs in python 2014-02-20 10:04:03 +01:00
Stephan Kulow
189136c6c1 fix one more python 3.3 print 2014-02-20 09:59:51 +01:00
Stephan Kulow
854c8f11cf max fixed openqa, so no need to whitelist tests 2014-02-20 08:04:13 +01:00
Michal Hrušecký
95b9a94a9e Merge pull request #47 from openSUSE/coolo_implement_accept
implement accept action (issue 1479)
2014-02-19 12:57:03 +01:00
Stephan Kulow
bbd2c7d7f6 if the package is not in a ring, build disable it when adding 2014-02-19 12:11:56 +01:00
Stephan Kulow
aeb07c24fc implement accept action (issue 1479) 2014-02-19 11:49:12 +01:00
Stephan Kulow
3cc1815f97 work around missing vrev on plain links 2014-02-18 14:36:32 +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
4879a4b509 fix import for exception 2014-02-18 09:21:29 +01:00
Alberto Planas
5f6f2b84b3 Merge pull request #38 from openSUSE/coolo_simplify_checker
make the check output a bit easier to parse
2014-02-18 09:04:36 +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
28789e0c23 fix exception handling 2014-02-18 07:22:55 +01:00
Stephan Kulow
15800dbe27 make the check output a bit easier to parse
Having all informations can be a bit tough - next stop colors :)
2014-02-17 21:24:06 +01:00
Michal Hrušecký
2156b553bc Merge pull request #36 from openSUSE/coolo_1345
implement openqa "sync" - looks, not looking where I'm not supposed to.
2014-02-17 17:42:39 +01:00
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
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
33169f0cba add a move command to test (and fix) the move api 2014-02-15 17:09:11 +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