Tomáš Chvátal
61cc1756d3
Convert int to str in order not to crash.
2014-03-06 16:09:08 +01:00
Alberto Planas
f4a014c014
Merge pull request #101 from scarabeusiv/master
...
Move stuff out of list_command to api so it can be reused
2014-03-06 11:50:20 +01:00
Tomáš Chvátal
8a3b5b34ef
Dispatch open requests prior checking the project state.
2014-03-06 11:46:44 +01:00
Stephan Kulow
61b437f573
try harder not to set reviews of closed requests
2014-03-06 11:43:57 +01:00
Tomáš Chvátal
24bf0341be
Refactory list command using the api so we can use it in other commands too.
2014-03-06 11:43:21 +01:00
552a2d6948
Minor PEP8 fixes
2014-03-05 15:13:38 +01:00
6ece494c0a
Make sure that the request_id is an integer
2014-03-04 18:21:59 +01:00
Michal Hrusecky
75d88686ec
Improve select test suite
2014-03-04 16:35:30 +01:00
Alberto Planas
2fef8e198e
Merge pull request #89 from openSUSE/coolo_1721
...
fix some bugs in select
2014-03-04 16:09:19 +01:00
Stephan Kulow
57216c9819
fix some bugs in select
2014-03-04 16:05:20 +01:00
Tomáš Chvátal
e1cd88908a
Do not overabuse len.
2014-03-04 15:35:52 +01:00
Tomáš Chvátal
41f197f53e
Implement skipping build/openqa skip if we check only non-ring packages.
2014-03-04 15:20:05 +01:00
Tomáš Chvátal
72c5d06af3
Remove wrong fixme.
2014-03-04 14:32:57 +01:00
372aac004f
More PEP8 compliance for the main library
2014-03-03 17:23:01 +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
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