345 Commits

Author SHA1 Message Date
Alberto Planas
37c7e2a6c6 Add a test for accept command when there are multiple SPECs 2015-03-02 11:15:24 +01:00
Alberto Planas
fb12a83910 Reformat the code a bit. 2015-03-02 11:15:23 +01:00
dfa6a9ac38 given the correct ring_dvd path 2015-03-02 15:54:42 +08:00
Alberto Planas
b4b5cd34a9 Move the Config call from checkrepo to the caller. 2015-02-26 11:47:11 +01:00
Alberto Planas
5a6ffa6505 If any goodrepo have no missing, the request have no missings. 2015-02-24 18:01:28 +01:00
Alberto Planas
714a3afe00 Dot not reset the configuration. 2015-02-19 17:53:40 +01:00
Alberto Planas
2be1bb613e Ignore packages with an origin different from the current new project. 2015-02-19 15:53:46 +01:00
Alberto Planas
6aad8caeb2 Fix cycle detector for new packages. 2015-02-19 14:14:49 +01:00
Alberto Planas
c9d1e06ca8 Refactor configuration parameters into configuration file. 2015-02-19 11:39:05 +01:00
Alberto Planas
981fff9fb5 Add basic staging configuration manager. 2015-02-19 10:58:31 +01:00
Alberto Planas
78f0680708 action #3090 - staging freeze needs an option to just freeze the prjlinks and thats it 2015-02-16 17:18:53 +01:00
Alberto Planas
b867fb1f23 Detect if a cycle provides a new package, if not, ignore the cycle. 2015-02-12 11:27:39 +01:00
Alberto Planas
7fa1c06565 Rewrite DimStar work, using the OBSLock class. 2015-02-11 13:21:19 +01:00
12c2f5618c Locking: Let's get some locking mechanism so we hopefully step less on
each others toes.
2015-02-11 13:16:57 +01:00
87c8916620 Merge sync-rebuild into staging accept command 2015-02-09 17:17:47 +01:00
0968ffc6ff staging accept: create new links for packages when a new .spec file appears
https://progress.opensuse.org/issues/5902
2015-01-30 06:14:12 +01:00
Stephan Kulow
f095600f9b import re at the right places 2015-01-20 15:02:46 +01:00
f96cf7d4bb update_product_version: use re instead of importing/exporting the XML (we lose comments in the process) 2015-01-20 14:48:01 +01:00
Pass Automated Testing Suite
cf208b4a4a Fix class references 2015-01-20 13:06:48 +01:00
35ec3f368b freeze_command: update the version in the Test DVD product's KIWI file
to match the version of openSUSE-release

https://progress.opensuse.org/issues/5958
2015-01-20 08:39:11 +01:00
31e32421cd Introduce item_exists
item_exists is a variant of the former project_exists, that can take an
optional package name in plus.
2015-01-20 00:22:15 +01:00
83741173d1 staging accept: also accept any 'new' requests in the corresponding NonFree project 2014-12-19 10:43:08 +01:00
Alberto Planas
26dcd7f965 Detect if the author of a delete request iis the maintainer of tgt_project 2014-11-12 16:58:34 +01:00
Alberto Planas
96dab1d6e6 Change the way to evaluate DELETE request
- Add withhistory to recover the creator
- Remove the check of the user creator test for now, I need
  to figure out how to detect who is the maintainer in the
  tgt_project
- Check that the package is not needed in the tgt_project
  (usually Factory)
2014-11-12 14:08:00 +01:00
Alberto Planas
09b988895a Improve the error message for DELETE requests. 2014-11-10 14:05:49 +01:00
Alberto Planas
5bd0626e30 Default "who" to None for the _author() 2014-11-04 11:09:40 +01:00
Alberto Planas
e50fb7e284 The cycle detector ignore updated packages. 2014-11-04 11:09:40 +01:00
Alberto Planas
4af48f4c96 Improve clean_cache method. Add a test. 2014-10-14 17:10:07 +02:00
Alberto Planas
425a7ea663 Implement an external cache for checkrepo 2014-10-01 17:49:39 +02:00
Alberto Planas
503ca7f6f2 Remove all cache logic... for now. 2014-09-29 16:28:50 +02:00
Alberto Planas
482da28be6 Do not download requests without RPM. 2014-09-29 16:28:50 +02:00
Alberto Planas
1e2ea101e2 Replace subprojects array with subproject. 2014-09-29 11:51:43 +02:00
Alberto Planas
627a6e0aa6 action #3772 - replace 'factory' with actual project in accept 2014-09-29 11:25:15 +02:00
Alberto Planas
309a81674b check_command takes care of null subprojects. 2014-09-29 10:55:15 +02:00
5790cdf1e4 Fix tests 2014-09-22 17:57:11 +02:00
ce6fa20551 Query NonFree SR. 2014-09-22 17:37:37 +02:00
d0a1124e18 Cache verify_md5 calls 2014-09-18 16:05:51 +02:00
fd6ed0d813 Memoize can now store the cache in memory 2014-09-18 16:05:50 +02:00
94e0709896 Add a remainder to fix the cache 2014-09-18 16:05:50 +02:00
270de09833 Hide local bin rpm cache dir path inside module 2014-09-18 16:05:50 +02:00
f6e7d98701 Fix the code according to https://github.com/openSUSE-Team/obs_factory/pull/24 2014-09-12 15:19:20 +02:00
74714d191c In select command, if the fprj and target_project are the same, do not show the move option. 2014-09-10 17:32:27 +02:00
7d54c651ac action #3556 - bug in staging select 2014-09-09 13:48:27 +02:00
Stephan Kulow
8dfc26f8db output all failures in totest manager 2014-09-08 10:46:01 +02:00
Ludwig Nussel
a8d7bdddae use XDG_CACHE_HOME for cache dir 2014-09-03 16:00:48 +02:00
49a257cc6a Some PEP8 fixes. 2014-09-01 09:43:44 +02:00
Stephan Kulow
01a8509b63 build staging prjs against a common prjconf 2014-09-01 07:41:25 +02:00
Ludwig Nussel
df1a2a0f9f add debug function to checkrepo 2014-08-28 17:16:01 +02:00
Ludwig Nussel
b39739e1ac also protect delete with --dry 2014-08-27 13:22:23 +02:00
Ludwig Nussel
d4223d94a1 add --verbose and --dry options 2014-08-27 11:36:08 +02:00