63 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
acc9872a67 have bootstrap_copy also in big staging prjs
Having a copy of the bootstrap repo is not strictly necessary but helps
to fix problems - and we can unify the handling of the prjs

Related issue: 1517
2014-03-03 15:04:09 +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
1e0b8e920d Remove dead and commented code 2014-02-28 13:12:12 +01:00
780073f6d8 Fix headers and comment dead code. 2014-02-28 11:45:06 +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 Hrusecky
ef8f61ec3f Whitespace fix 2014-02-19 20:05:01 +01:00
Stephan Kulow
a1ad96579f simplify osc staging list output 2014-02-19 17:27:03 +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
Michal Hrušecký
20c00eedf5 Merge pull request #44 from openSUSE/coolo_broken_links
work around missing vrev on plain links
2014-02-18 14:38:23 +01:00
Stephan Kulow
3cc1815f97 work around missing vrev on plain links 2014-02-18 14:36:32 +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
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
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