82 Commits

Author SHA1 Message Date
Ludwig Nussel
078bd07fa7 only check links in main project 2015-08-19 18:02:45 +02:00
Ludwig Nussel
36d8d01bff ignore None in case main package cannot be determined 2015-08-19 18:02:27 +02:00
Ludwig Nussel
3365e818b0 link subpackages when moving package 2015-08-19 17:29:09 +02:00
Ludwig Nussel
b1d4f66c14 actually only check dups instead of deleting them
dups for specific packages are automatically deleted when moving sources
2015-08-19 15:42:06 +02:00
Ludwig Nussel
fbbe1c11f5 don't query twice 2015-08-19 15:27:03 +02:00
Ludwig Nussel
3385c41f4e disable caching by default 2015-08-19 13:40:55 +02:00
Ludwig Nussel
5aebdbf1f5 don't delete all packages :-) 2015-08-18 08:15:16 +02:00
Ludwig Nussel
65e4b14cea more debug 2015-08-18 08:15:16 +02:00
Ludwig Nussel
8d60335b02 add --no-update-candidates 2015-08-18 08:13:55 +02:00
Ludwig Nussel
8e51db54d4 missing use of self.from_prj 2015-08-18 08:13:55 +02:00
Ludwig Nussel
31a8263a4f cache all or nothing 2015-08-18 08:13:55 +02:00
6524bb53c3 Re-enable detach linked entry code
Still need it to handle the request accepted from the corresponded
place, ie. from self.project_preference_order. But now detach the linked
entry and add requestid following with copy cmd, therefore, the
following get_latest_request() in crawl will not fail.
2015-08-17 18:16:30 +08:00
Ludwig Nussel
b610d3a03c improve style 2015-08-13 11:09:29 +02:00
Ludwig Nussel
8ba3963c95 empty list as default parameter is bad
http://docs.python-guide.org/en/latest/writing/gotchas/#mutable-default-arguments
2015-08-13 11:09:09 +02:00
Ludwig Nussel
982fd03184 must user package instead of packages here 2015-08-13 08:32:05 +02:00
Ludwig Nussel
bfb031a9d8 use remove_packages everywhere 2015-08-12 17:15:05 +02:00
Ludwig Nussel
ce09335b16 add --skip-sanity-checks parameter 2015-08-12 17:15:05 +02:00
Ludwig Nussel
64116b2bed check all underlay projects for sources 2015-08-12 17:15:05 +02:00
Ludwig Nussel
364e75e4d8 avoid hardcoding projects lists all over the place 2015-08-12 17:15:05 +02:00
Ludwig Nussel
3e02ff989a disable strange code
Not sure what this code is good for. It would unlink new submissions
that landed in openSUSE:42 if there are duplicates. After code running
later would not know where the sources came from as the last commit
wouldn't have a request number attached anymore.
2015-08-12 17:15:05 +02:00
Ludwig Nussel
be4232f24e avoid exception when trying to delete non existing package 2015-08-12 17:15:05 +02:00
Ludwig Nussel
b4634577a7 use logging instead of print 2015-08-12 17:15:05 +02:00
Ludwig Nussel
e1f79a9d6e allow to operate on specified packages only 2015-08-12 17:15:05 +02:00
Ludwig Nussel
1de77684a1 add --dry option 2015-08-12 16:50:24 +02:00
Ludwig Nussel
337828770d Merge pull request #382 from DimStar77/manager_fewer-revs
manager42: some packages might be to new to already have five revisi…
2015-08-12 16:50:07 +02:00
b6be6428af manager42: some packages might be to new to already have five revisions, even in Factory 2015-08-12 14:03:52 +02:00
cbd110b84b manager42: add entries for SUSE:SLE-12-SP1 2015-08-12 14:00:39 +02:00
Stephan Kulow
1d7d9cc953 also script factory-candidates 2015-08-05 07:05:13 +02:00
Stephan Kulow
95b87b7dac check for multiple spec files 2015-08-04 22:26:45 +02:00
Stephan Kulow
0c1ccec3f3 fixed invalids 2015-08-04 19:54:01 +02:00
Stephan Kulow
f180e3bb6c more checks 2015-08-04 16:46:45 +02:00
Stephan Kulow
ec0c8c8966 small tool to keep 42 managable 2015-08-04 08:01:32 +02:00