Ludwig Nussel
f7f371bdc0
Handle subpackage changed to separate packages
2016-05-10 11:06:05 +02:00
Ludwig Nussel
4a9f4156db
Split loop to be able to catch exceptions per package
2016-05-10 11:06:05 +02:00
Ludwig Nussel
e9e0d2d29d
Handle new packages
2016-05-10 11:06:05 +02:00
Ludwig Nussel
041d110774
Rename class name
2016-05-10 11:06:05 +02:00
Ludwig Nussel
32124d4f54
also consider 42.1 as upstream
2016-05-10 11:06:05 +02:00
Ludwig Nussel
166adb0c7c
Detect dropped packages
2016-05-10 11:06:05 +02:00
Ludwig Nussel
19a0e1682c
Update for 42.2
2016-05-10 11:06:05 +02:00
93ea8f210f
manager_42: set lproject for packages switching from DEVEL to FORK
2015-10-13 17:09:47 +02:00
Stephan Kulow
1b8387ac43
make sure we don't crash on packages gone
2015-10-12 08:18:48 +02:00
Stephan Kulow
b707f6cb04
the manager will follow the devel package
2015-10-01 14:20:27 +02:00
Stephan Kulow
5f8daec05e
rework manager the 9th:
...
strip out all logic required for the subproject split
2015-09-16 09:17:18 +02:00
Stephan Kulow
ec7af15bf2
two critical bug fixes
...
- avoid iterating over an array that is changed
- detach branches before removing the target
2015-09-01 16:37:47 +02:00
Stephan Kulow
448677d185
stop querying requests
...
it's less reliable (with multiple spec files) than just querying the
history of the possible source projects
2015-08-31 13:15:00 +02:00
Stephan Kulow
dccb5d39c4
avoid division for 5XX
2015-08-30 17:00:21 +02:00
Stephan Kulow
7f17eb26ca
retry 5xx - especially needed for view=info calls
2015-08-28 10:01:06 +02:00
Stephan Kulow
be0a168d4a
fix get_spec_files to return the mainpackage in all cases
2015-08-27 12:46:56 +02:00
051882ca58
ignore package if has a pending request against it
2015-08-26 17:42:40 +08:00
Stephan Kulow
d18d94e261
catch temporary "service in progress" error
2015-08-24 12:07:41 +02:00
Ludwig Nussel
35a643fe3b
only check specified packages
2015-08-19 18:09:31 +02:00
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