53 Commits

Author SHA1 Message Date
2268d6bdf3 Rename StagingApi to StagingAPI 2014-02-13 11:43:10 +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
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
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
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
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
Stephan Kulow
21c042a44c simplify rqlink usage by offering osc staging select LETTER REQUESTS... 2014-02-11 15:23:34 +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
6b7f2ae139 Dest parameter correct by default 2014-02-11 11:45:53 +01:00
a8f547b8e1 More fixes in opts params 2014-02-11 11:44:59 +01:00
86ff0438c5 Fix parameter opts for _get_changed 2014-02-11 11:08:02 +01:00
Michal Hrusecky
b9b397e264 Smoother handling of arguments error 2014-02-10 19:59:45 +01:00
Michal Hrusecky
3b1d44203f Better FIXME and use format 2014-02-10 14:52:50 +01:00
Michal Hrusecky
a0653edc7e Renaming the functions for rqlink to match the rest 2014-02-10 14:38:50 +01:00
Michal Hrusecky
cfd669907d Move rqlink to API Class 2014-02-10 14:13:06 +01:00
Tomáš Chvátal
9e1f61c1a8 Add some basic check for the non-ring acceptance. 2014-02-10 13:58:59 +01:00
Tomáš Chvátal
f2c67f6cb3 Fix variable typos. 2014-02-10 13:39:20 +01:00
Tomáš Chvátal
ed330caaeb Rename the function for better understanding. 2014-02-10 13:37:39 +01:00
Tomáš Chvátal
94f68ca8ef Add rings api and start some requests api with tests. 2014-02-10 13:24:49 +01:00
Tomáš Chvátal
dae106f849 Apidoc and whitespace updates. 2014-02-10 10:48:29 +01:00
Michal Hrušecký
cf94542e41 Merge pull request #4 from scarabeusiv/master
Merge whitespace & documentation cleanup
2014-02-10 10:35:27 +01:00
Tomáš Chvátal
dd7405f4ff Different year, whitespace 2014-02-10 10:20:52 +01:00
Michal Hrusecky
933a002290 Cleanup of rqlink
Nicer behaviour, basic documentation
2014-02-10 10:20:16 +01:00
Michal Hrusecky
210d679228 Add basic rqlink functionality
Many things still in TODO:
* cover it with tests
* add functionality for grouping requests
* handle various corner cases:
** what if request is already there?
** wrong syntax
** delete requests
2014-02-10 09:45:22 +01:00
Michal Hrusecky
6de4826f48 Minor formating issue 2014-02-06 09:51:51 +01:00
Michal Hrusecky
9368e016cf Fix test
Included change scarabeus did while playing with test-suite, making sure that
all tests (currently just one) passes.
2014-02-05 15:35:52 +01:00
Stephan Kulow
493c02db32 speedup freeze 2014-02-03 11:49:15 +01:00
Stephan Kulow
5e600eb87e give some osc commands 2014-02-02 08:26:32 +01:00
Stephan Kulow
d6297b90c3 map dvd bdeps to their sources 2014-02-02 07:28:12 +01:00
Stephan Kulow
b207970c25 port the cleanup part to the staging plugin 2014-02-01 21:00:55 +01:00
Stephan Kulow
83c66d943f fix the freeze action to avoid breaking inner-ring links
(issue 1288)
2014-01-31 14:14:24 +01:00
Stephan Kulow
2bb5ffbf6a merge check_core into staging before I work on it 2014-01-31 10:29:44 +01:00
Michal Hrusecky
c7cd4f6271 Use 'is not' instead of != wherever appropriate
Fixes some issues caused by me not speaking python :-)
2014-01-06 10:58:30 +01:00
Michal Hrusecky
4cc07b2a2f Submitting changes back implemented
Staging plugin can now submit back any changes done in staging repo.
2013-12-17 13:45:59 +01:00
Michal Hrusecky
609bf8ae2d Get rid of last mentions of staging push 2013-12-16 15:36:46 +01:00
Michal Hrusecky
85146dfc32 Check before deleting
Before deleting staging project, check whether it is already clean - no local
changes. We don't want to accidentally loose all our work, so ask for
confirmation before we continue.
2013-12-16 15:33:50 +01:00
Michal Hrusecky
6a553d3f18 Allow creation of staging projects without sr#
Up to now sr# was required to create a staging project, now target project name
can be used (including package) to create a new staging project.
2013-12-13 14:23:35 +01:00
Michal Hrusecky
4660989500 Allow staging with different parent
Allow creation of staging project with completely arbitrary project as a parent
project.
2013-12-13 13:48:45 +01:00
Michal Hrusecky
2a7a90854b Use latbuild for staging results check 2013-12-13 13:22:55 +01:00
Michal Hrusecky
3c1b9fc9ee Stopping check on first error
It is possible to check everything by passing command line option, but not
enabled by default to save some time in initial check.

btw. I really miss goto, would make code so much cleaner...
2013-12-13 10:30:14 +01:00
Michal Hrusecky
2061024d16 Better check for regressions in staging 2013-12-12 14:36:19 +01:00
Michal Hrusecky
52e9dd1b89 Use parent project from project config
Do not rely on naming scheme used in the script to setup staging projects.
2013-12-11 20:14:50 +01:00
Michal Hrusecky
deecc15713 Improve check phase in staging plugin
It now checks not only for changed packages but also for changes in build
state.
2013-12-10 14:59:26 +01:00
Michal Hrusecky
ab06ddf6e0 Fix current staging plugin
Missing some imports and build only localdep
2013-12-10 14:57:00 +01:00