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
Stephan Kulow
783cf708c0
fix more things for the list command
2014-03-06 09:54:12 +01:00
Stephan Kulow
d64f9a3f6a
don't consider a normal supersede a move
2014-03-06 09:39:49 +01:00
Stephan Kulow
7c18c7da08
remember the other request, so we can correctly output the duplicate
...
see issue 1795
2014-03-06 09:39:49 +01:00
Stephan Kulow
18fb2d9e8c
fix list_command
2014-03-05 20:26:27 +01:00
Tomáš Chvátal
867cd54a12
Revert "Add switch wether to commit to Factory or not during accept."
...
This reverts commit 220f842c5dd53cd2b227b997d1b6d525caedeb72.
Conflicts:
osc-staging.py
2014-03-05 15:49:48 +01:00
f75daee496
action #1785 - Select corner case
2014-03-05 15:13:38 +01:00
552a2d6948
Minor PEP8 fixes
2014-03-05 15:13:38 +01:00
Tomáš Chvátal
0f6c728741
Merge pull request #95 from miska/master
...
list & move
2014-03-05 13:04:39 +01:00
Michal Hrusecky
60d5c26854
More comments
2014-03-05 13:03:58 +01:00
28861d22ad
Detect staging project only when review by_project is in new state
2014-03-05 11:13:59 +01:00
a22f10ca9c
Remove empty line
2014-03-05 11:13:59 +01:00
Michal Hrusecky
555fc07888
Improve list command
...
List command now also replace superseded requests with their newer counterparts.
2014-03-05 11:12:36 +01:00
eb4aee3a19
A better approach for action #1784
2014-03-04 18:22:37 +01:00
6ece494c0a
Make sure that the request_id is an integer
2014-03-04 18:21:59 +01:00
5cdde68c8b
action #1784 Unselect do not need a Project parameter, only the Package
2014-03-04 16:51:32 +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
Michal Hrušecký
e8c3dcaf81
Merge pull request #88 from scarabeusiv/master
...
Implement non-ring project verification to not wait on obs/openQA
2014-03-04 15:46:23 +01:00
Tomáš Chvátal
e1cd88908a
Do not overabuse len.
2014-03-04 15:35:52 +01:00
703b580142
Fix references from opts.move and opts.from_
2014-03-04 15:31:20 +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
Tomáš Chvátal
220f842c5d
Add switch wether to commit to Factory or not during accept.
2014-03-04 12:58:04 +01:00
Stephan Kulow
2d01cfdbff
split unselect and select functions
...
and move the rather complex select logic in a seperate class
2014-03-04 10:06:36 +01:00
d08861c598
New approach for action #1658 - move does not need a from argument
2014-03-03 17:26:52 +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
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