67 Commits

Author SHA1 Message Date
Ludwig Nussel
9a9a6c7da5 Different implementation for --force
Don't unset the project, instead avoid the return statement to exit
early
2017-04-18 16:25:32 +02:00
Ludwig Nussel
dc080d882a Throw error instead of crashing
packages could have been empty before. Rethrow so manager42 can catch the error.
2017-03-14 13:49:10 +01:00
Ludwig Nussel
f72e553e2e Don't fall through in devel project check 2017-03-14 13:49:04 +01:00
Ludwig Nussel
448e019099 Add force parameter to manager42
Allows to let update lookup information according to project
priorities, even if the current lookup is correct.
2017-03-14 13:48:52 +01:00
Ludwig Nussel
6fcdeb7a7f Make config defaults a class variable 2017-01-13 12:54:22 +01:00
Ludwig Nussel
827333d3e4 Implement config for manager42
For example for Leap 42.3 it could look like this
2017-01-11 17:59:39 +01:00
Ludwig Nussel
37687890ed Catch non-existing project
SP3 doesn't exist yet in OBS
2016-12-13 16:01:57 +01:00
Ludwig Nussel
e8a8dbdf8d Add back SLE-workarounds
Not all packages in there are accepted yet so we need to avoid manager42
to mark them as FORK.
2016-11-30 17:44:02 +01:00
a716635532 Update version in manager_42 and update_crawler 2016-11-29 16:29:48 +08:00
Ludwig Nussel
7e8fffc965 Don't switch origin to SLE-workarounds
that way update crawler will still submit updates from SLE
2016-10-12 14:34:22 +02:00
Ludwig Nussel
63db3e9ba9 Handle links before devel projects
Linked packages are supposed to have their devel package set to the
main package. We need to check that before so packages are marked as
subpackages instead of coming from a devel project.
2016-08-08 16:28:13 +02:00
Ludwig Nussel
bcaa610a67 Handle separate lookup file in :NonFree 2016-06-10 10:59:36 +02:00
Ludwig Nussel
00e6868233 Fixed dropped package logic
Only check for dropped packages if they are actually dropped
2016-06-07 15:11:26 +02:00
Ludwig Nussel
91ae64c4d9 Check other sources too if lookup says Factory
A package might come from Factory temporarily
so we need to check the other sources too in
case it was accepted in SLE
2016-06-07 15:11:26 +02:00
Ludwig Nussel
4c80dad63b Add SP2 to list of projects to check 2016-06-07 15:11:26 +02:00
Ludwig Nussel
85e9bec843 Logging change 2016-05-10 11:06:05 +02:00
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