29 Commits

Author SHA1 Message Date
Stephan Kulow
f38bd3a7ed Target E128 - Continuation line under-indented for visual indent
https://www.flake8rules.com/rules/E128.html
2022-02-18 17:35:33 +01:00
Stephan Kulow
27c364b0c9 Target E251 - Unexpected spaces around keyword
https://www.flake8rules.com/rules/E251.html
2022-02-18 17:28:13 +01:00
Stephan Kulow
d8f5d0874e Remove E201 - Whitespace after '('
https://www.flake8rules.com/rules/E201.html
2022-02-18 17:23:19 +01:00
Stephan Kulow
54079e949f Target E202 - Whitespace before ')'
https://www.flake8rules.com/rules/E202.html
2022-02-18 17:18:29 +01:00
Stephan Kulow
529d1dafae Target E302 - add two comment lines before class 2022-02-18 17:15:48 +01:00
Stephan Kulow
4e9c8eabbe Target E305 - Have two empty lines of a class 2022-02-18 17:11:46 +01:00
Stephan Kulow
2de74cfc52 Replace variable name 'l' (x is fine)
https://www.flake8rules.com/rules/E741.html
2022-02-18 14:21:59 +01:00
Stephan Kulow
e52dc6ce2b Harmonize imports on using lxml for XML parsing 2022-02-18 11:16:01 +01:00
7e97d732af
ToolBase: use --osc-debug for osc's config value, not the tools own debug parameter 2022-02-10 10:02:10 +01:00
Stephan Kulow
12a270a9f1 Retry GETs if they catch a TimeoutError
On botmaster we get reproducible connection timeouts with OBS. This can
be reproduced with plain curl loops and it's unclear where the packages
are dropped, so I see no other way than just keep GETing
2021-10-29 19:22:51 +02:00
Stephan Kulow
faa760d61d gocd: Run container cleanup with full debug 2021-10-29 14:04:03 +02:00
Ancor Gonzalez Sosa
a9d6db325f Delete leaper, update_crawler and manager_42 2021-09-21 15:30:48 +02: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
595e84191e More porting to python3
Travis changed default python to 3.6, which has impact on the way
flake8 checks. So make sure we run fine under flake8 of python 3
2019-04-20 21:16:50 +02:00
Stephan Kulow
40513d9503 Import url functions properly for python3
Make it possible to run pkglistgen under python3
2018-11-17 10:16:14 +01:00
Stephan Kulow
2fe9701238 Use more print from the future 2018-11-17 10:16:13 +01:00
Stephan Kulow
ea9061ccf5 Import urllib2 python agnostic 2018-11-16 09:01:45 +01: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
ae801cf76d
Change remaining usage of _product to 000product
All openSUSE distros in developments switched to the new product builder, meaning
they no longer use _product as the package container, but operate on the standardized
name 000product.

Addresses https://progress.opensuse.org/issues/20890
2018-03-29 13:12:35 +02:00
Jimmy Berry
f98a78c1ae Remove Vim config in favor of EditorConfig. 2018-01-23 00:48:00 -06:00
Jimmy Berry
11810a6c71 ToolBase: provide -d alias for --debug for consistency. 2017-12-21 00:30:07 -06:00
d04bc4fce1 Import all dependencies 2017-10-20 01:01:17 +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
845fb57bcf Catch more errors, fixes 2017-07-05 10:31:40 +02:00
Ludwig Nussel
28d480c979 Optionally wipe binaries when disabling 2017-05-09 17:35:36 +02:00
Ludwig Nussel
6e1d67f0df Refactor makeurl 2017-05-09 09:41:17 +02:00
Ludwig Nussel
4823ce63ff Tool to enable biarch packages 2016-10-14 14:29:54 +02:00