87 Commits

Author SHA1 Message Date
Stephan Kulow
77ce528394 let freeze also the DVD subproject 2014-05-08 12:15:54 +02:00
Stephan Kulow
ba2728d496 first step: don't ignore ring 2-testdvd 2014-05-08 12:15:54 +02:00
Stephan Kulow
0920a6e0dc fix new staging name on openqa 2014-04-15 19:58:27 +02:00
Stephan Kulow
24e6e0ccab limit the codes to query. we don't care for succeeded 2014-04-10 10:34:34 +02:00
Stephan Kulow
2e0c7e2105 filename changed 2014-04-04 14:58:55 +02:00
Stephan Kulow
8f435049c2 query only the interesting jobs without querying MBs of JSON 2014-04-04 10:11:49 +02:00
Stephan Kulow
163ec1632d opensuseqa is no more 2014-03-28 20:17:32 +01:00
Tomáš Chvátal
5da03f74b6 Do change project build state when removing packages properly. Progress issue#1783. 2014-03-24 15:15:47 +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
Tomáš Chvátal
93a3919db5 Add message when changing review state and set build properly when moving packages. 2014-03-21 19:25:22 +01:00
Stephan Kulow
51153c7bc9 openqa changed the sort order in list_jobs
so we need to make sure we prefer passed jobs
2014-03-21 09:43:21 +01:00
Stephan Kulow
7d09f590e7 don't return a string where an id is expected 2014-03-18 13:26:33 +01:00
Stephan Kulow
a06b09784e fix for openqa V3 API 2014-03-18 07:56:30 +01:00
1bf0d22bc6 Fix action #1906 move only moves one 2014-03-13 11:07:53 +01:00
Tomáš Chvátal
4f409870ad We need request_id here too. 2014-03-07 15:35:59 +01:00
Tomáš Chvátal
8460a8accd Merge branch 'master' of github.com:openSUSE/osc-plugin-factory
Conflicts:
	osclib/request_finder.py
	osclib/stagingapi.py
2014-03-07 14:05:54 +01:00
597843d9a6 Order the requests before YAML serialization. 2014-03-07 11:38:25 +01:00
Stephan Kulow
8f12c3562a don't have check do anything but fail if there are open requests 2014-03-07 09:33:37 +01:00
Stephan Kulow
e2e8a5c6a3 hot fix for osc staging check - but the whole commit is bogus 2014-03-07 09:24:11 +01:00
Tomáš Chvátal
38a45e1c2c Fix copy&pasto we are directly in api here. 2014-03-06 18:58:14 +01:00
Tomas Chvatal
b4d14b7b7f Do not use one leter variables and add docu for function. 2014-03-06 18:20:35 +01:00
Stephan Kulow
e87aeebeac reviewed an aplanas paste :) 2014-03-06 16:34:02 +01:00
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