ea3b07568c
Fix E203
...
This fixes incorrect whitespacing inside dictionaries.
2019-12-10 08:54:32 +01:00
32ad0adc2d
Fix all E22x errors
...
This cleans up white spaces around various kinds of operators to be
consistent.
2019-11-27 11:08:06 +01:00
8483632683
Some flake8 improvements
...
Was bored while waiting for a test run to finish. The rule is
that two empty lines distinguish larger blocks and shouldn't be
used between functions or within functions.
2019-11-27 10:40:15 +01:00
Stephan Kulow
3f3bbb3e10
Run even more bots in python3
2019-05-16 06:59:25 +02:00
Stephan Kulow
fec762e5a4
Avoid warning on using .warn (python3)
2019-05-11 14:25:02 +02:00
Stephan Kulow
ea9061ccf5
Import urllib2 python agnostic
2018-11-16 09:01:45 +01:00
Jimmy Berry
0449d1f5a1
manager_42: remove extra newline to avoid flake8 E301.
2018-10-24 16:34:20 -05:00
Jimmy Berry
6069245350
Remove SUSE copyright, warranty, and license headers.
...
Distinct copyrights were left as I do not wish to track down commit
history to ensure it properly documents the copyright holders. Also left
non-GPLv2 licenses and left bs_copy untouched as a mirror from OBS.
Already have a mix of with and without headers and even OBS does not place
on majority of files. If SUSE lawyers have an issue it will come up in
legal review for Factory.
2018-08-23 19:18:06 -05:00
Jimmy Berry
600a486745
Utilize ET.fromstringlist() intead of joining strings.
2018-08-16 00:26:53 -05:00
Ludwig Nussel
57286b6c1d
manager42: don't consider ignored packages vanished
2018-07-05 13:46:42 +02:00
Jimmy Berry
430d704ed5
manager_42: check if SLE-workarounds are no longer utilized and request removal.
2018-05-08 23:58:23 -05:00
Jimmy Berry
f98a78c1ae
Remove Vim config in favor of EditorConfig.
2018-01-23 00:48:00 -06:00
Ludwig Nussel
1a7550028c
manager42: ignore meta packages
2018-01-02 09:54:14 +01:00
Ludwig Nussel
e334d54885
manager42: refactor
2018-01-02 09:45:05 +01:00
Ludwig Nussel
91e39669d4
manager42: don't turn dropped packages into fork
...
don't automatically turn packages into fork for configured projects
update-crawler may file drop requests automatically in the future
2018-01-02 09:45:05 +01:00
Ludwig Nussel
e179c17610
manager42: warn about inconsistent packages
...
Eg dropped ones or missed events
2018-01-02 09:45:05 +01:00
6e78eb95fe
Enable F405,F811 (Unused imports)
...
Remove imports that are either duplicate or unused
2017-10-20 01:03:00 +02:00
3cf49d9556
Python 2.6+ / 3.x style except clauses
...
This newer style except statement allows for compatibility with
Python 3.x and does not harm on python 2.6+.
2017-10-16 22:47:58 +02:00
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