990 Commits

Author SHA1 Message Date
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
ea8042869f Quote the package for url parsing. This should solve progress issue#1892. 2014-03-24 14:24:43 +01:00
Tomáš Chvátal
7d9ffa07ac Do not print needless newlines in check. 2014-03-24 13:46:51 +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
Stephan Kulow
9672a9126f fix merge 2014-03-17 09:30:04 +01:00
1bf0d22bc6 Fix action #1906 move only moves one 2014-03-13 11:07:53 +01:00
3988530799 Formalize the definition of supersede 2014-03-10 16:28:01 +01:00
52a22a7917 Rename _is_new_review_by_project to _new_review...
_new_review_by_project do not return True / False, but the staging
project that is reviewing the request and that is in new state.
2014-03-10 16:28:01 +01:00
3dea7e3c84 RequestFinder is a new class object. 2014-03-10 16:28:01 +01:00
e0967d1583 Convert _is_int to a function. 2014-03-10 16:28:01 +01:00
4a26a50dc5 Forget a self after refactorization. 2014-03-10 16:28:00 +01:00
695cba4ad1 Pass the request id as string 2014-03-10 11:54:06 +01:00
0020fd4367 action #1824 - request finder bugs (II) 2014-03-10 11:25:10 +01:00
f0eec2dcf8 Fix a tab 2014-03-10 11:25:10 +01:00
77117bcabc Fix refactorization lost in some merge 2014-03-10 10:42:20 +01:00
Stephan Kulow
c781643bad revert the auto-freeze
there is reason the select command is not auto freezing - as documented
in https://progress.opensuse.org/issues/1517
2014-03-09 20:13:45 +01:00
Tomáš Chvátal
4f409870ad We need request_id here too. 2014-03-07 15:35:59 +01:00
Tomáš Chvátal
6eccef26c9 Check if p is int and remove whitespace. 2014-03-07 14:49:33 +01:00
Tomáš Chvátal
f6f83334e4 Fix API rename clash. 2014-03-07 14:07:00 +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
016322913e Fix last refactorization. 2014-03-07 11:42:52 +01:00
597843d9a6 Order the requests before YAML serialization. 2014-03-07 11:38:25 +01:00
eb200fe842 A bit of refactoring 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
799c7d2264 Split out check command. 2014-03-06 18:57:49 +01:00
Tomáš Chvátal
6e19c40bca Make sure we pass the select tests again. 2014-03-06 18:29:15 +01:00
Tomáš Chvátal
5f819c2d00 Fix missing trailing brackets. 2014-03-06 18:23:47 +01:00
Tomas Chvatal
1cbb5cb32e Enable build of staging only when there is some ring package. Add functions docu and fix some prints. 2014-03-06 18:23:07 +01:00
Tomas Chvatal
e0ba87c4fe Use same coding style. Fix print syntax. Expand variable names to more obvious ones. 2014-03-06 18:22:19 +01:00
Tomas Chvatal
b4d14b7b7f Do not use one leter variables and add docu for function. 2014-03-06 18:20:35 +01:00
71170d7aff Check package matches in find_request_package() 2014-03-06 16:59:49 +01:00
Stephan Kulow
e87aeebeac reviewed an aplanas paste :) 2014-03-06 16:34:02 +01:00
Tomáš Chvátal
eaa56d06e3 Merge branch 'master' of github.com:openSUSE/osc-plugin-factory 2014-03-06 16:32:50 +01:00
Tomáš Chvátal
61cc1756d3 Convert int to str in order not to crash. 2014-03-06 16:09:08 +01:00
830c1abad8 Detect when the move is from the same project. 2014-03-06 16:00:01 +01:00
8bc2a216d5 Small cosmetic changes. 2014-03-06 16:00:00 +01:00
9ecf003434 Add some doc strings. 2014-03-06 16:00:00 +01:00
Tomáš Chvátal
b96bb73f76 Run freeze command in select if needed. 2014-03-06 14:29:01 +01:00
Tomáš Chvátal
578dd7dc72 Add fixme for prj build enabling. 2014-03-06 12:59:54 +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
Michal Hrušecký
d6286b6fde Merge pull request #99 from scarabeusiv/master
Revert "Add switch wether to commit to Factory or not during accept."
2014-03-06 11:04:13 +01:00