7612 Commits

Author SHA1 Message Date
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
Stephan Kulow
35d5391bc4 support delete requests by adding empty container and wipe it 2014-02-13 14:38:30 +01:00
Stephan Kulow
8a3f12871b also test disable_build=True 2014-02-13 14:18:16 +01:00
Stephan Kulow
0f791f19fa wrote my first test - for create_package_container 2014-02-13 14:15:14 +01:00
Stephan Kulow
8d77c481c6 Merge pull request #26 from miska/master
Fix removing request from metadata
2014-02-13 13:29:06 +01:00
Stephan Kulow
1c5e4d4387 create _meta and _link for rqlinked packages
_meta needs to be as empty as possible and _link is just a plain link without any magic or
template
2014-02-13 13:27:29 +01:00
Michal Hrusecky
f8c2ee506c Fix removing request from metadata
Previous implementation was broken as there ware still some leftovers of
newdata variable mixed with new data variable approach. Made it simple and
working.
2014-02-13 13:20:44 +01:00
Stephan Kulow
cbaf567324 be careful to only reset the requests 2014-02-13 11:48:40 +01:00
Tomáš Chvátal
e7912932ed Add function to remove from prj pseudometa. 2014-02-13 11:47:16 +01:00
4b6a118445 More header fixing to allow static analysis 2014-02-13 11:43:46 +01:00
d89f1e1935 Bit of refactoring to make this more readable 2014-02-13 11:43:10 +01:00
2268d6bdf3 Rename StagingApi to StagingAPI 2014-02-13 11:43:10 +01:00
052a74b611 Fix import. Static analysis tools works now 2014-02-13 11:43:10 +01:00
e461b8701c Put the code in the expected site 2014-02-13 11:43:06 +01:00
Stephan Kulow
ec98affc28 checkcore is no longer necessary as new rings are not fixed links 2014-02-13 11:34:35 +01:00
Stephan Kulow
2ed75ae4cd Merge pull request #24 from miska/master
Not crashing on valid but incorrect YAML
2014-02-13 11:31:14 +01:00
Alberto Planas
21e3f2b259 Merge pull request #25 from coolo/remove_create
remove create - we don't use it at the moment
2014-02-13 11:24:18 +01:00
Stephan Kulow
04af493f24 remove create - we don't use it at the moment
we need to revisit what to do for creating staging:work - but the code
is in the git history
2014-02-13 11:21:45 +01:00
Michal Hrusecky
a74d37ddd9 Not crashing on valid but incorrect YAML
Making sure that if we succeed in reading YAML, the result actually contains
the structure we want/need.
2014-02-13 10:44:58 +01:00
Michal Hrusecky
f505182e72 Ignore HTML generated from asciidoc 2014-02-13 10:40:20 +01:00
Stephan Kulow
1c5d24e66c two urgent fixes 2014-02-12 19:46:22 +01:00
Alberto Planas
fe67be0cb7 Merge pull request #22 from coolo/move_check
shorten the title - the API only allows 255
2014-02-12 17:37:51 +01:00
Stephan Kulow
bffaecb6e2 shorten the title - the API only allows 255 2014-02-12 17:29:45 +01:00
Stephan Kulow
21075d7f7e Merge pull request #19 from aplanas/master
Integrate with Travis CI
2014-02-12 16:32:09 +01:00
Stephan Kulow
a179515805 check the _links between the prjs and don't offer to delete them 2014-02-12 16:29:23 +01:00
6d3e772176 Integrate with Travis CI 2014-02-12 16:15:00 +01:00
Alberto Planas
2d32ae248f Merge pull request #18 from coolo/fix_1351
Just preparations
2014-02-12 15:57:10 +01:00
Stephan Kulow
222ba33743 seperate the functions needed for the cleanup_rings command 2014-02-12 15:34:57 +01:00
Stephan Kulow
48174c6ab4 reformat the code and check if the ring prjs to clean is all green
Without green state it's very dangerous to remove things not needed
*at that moment*
2014-02-12 15:16:15 +01:00
Alberto Planas
f60ce04797 Merge pull request #17 from scarabeusiv/master
Add posibility to move packages between rings with one test. Accidentaly...
2014-02-12 14:34:37 +01:00
Tomáš Chvátal
10e73642f1 Add posibility to move packages between rings with one test. Accidentaly also fix failing test. 2014-02-12 14:27:49 +01:00
Tomáš Chvátal
c70f0a8c21 Merge pull request #15 from aplanas/master
Move StaginAPI into a module. Fix tests.
2014-02-12 14:04:32 +01:00
Tomáš Chvátal
20f1149584 Merge pull request #16 from coolo/retire_rqlink
retire rqlink - select is the better interface
2014-02-12 14:02:49 +01:00
b8116e6b11 Revert to a single one POST in the test 2014-02-12 13:52:29 +01:00
Stephan Kulow
e5b4d6a202 retire rqlink - select is the better interface 2014-02-12 13:37:31 +01:00
1fb0752147 Move StaginAPI into a module. Fix tests. 2014-02-12 13:15:49 +01:00
f7cff407d4 Integrate coolo's changes in StagingApi class 2014-02-11 19:20:53 +01:00
d4928998c9 Update documentation about plugin installation 2014-02-11 19:20:53 +01:00
db2215f67a Extract StagingApi class from osc-staging 2014-02-11 19:20:53 +01:00
69d515b957 Remove some superfluous code 2014-02-11 19:20:50 +01:00
Alberto Planas
743032488c Merge pull request #13 from coolo/have_select
simplify rqlink usage by offering osc staging select LETTER REQUESTS...
2014-02-11 15:34:56 +01:00
Stephan Kulow
21c042a44c simplify rqlink usage by offering osc staging select LETTER REQUESTS... 2014-02-11 15:23:34 +01:00
Alberto Planas
ac72dcd9dd Merge pull request #12 from coolo/master
several commits collected
2014-02-11 14:53:38 +01:00
Stephan Kulow
f9bd662cb7 remove the prosa from the staging title 2014-02-11 14:43:32 +01:00
Michal Hrusecky
1ecc5349ed Nice titles for staging projects 2014-02-11 14:05:24 +01:00
Stephan Kulow
d1691794fc the ring projects are renamed
And we don't care for Rings higher than 1 atm
2014-02-11 13:57:01 +01:00
Stephan Kulow
881c985df2 correctly expand the revision in rqlink 2014-02-11 13:57:01 +01:00