Stephan Kulow
aaab4af930
Target F401 - Unused imports
2022-02-18 18:29:27 +01:00
Stephan Kulow
f86579642b
Target E501 - Line too long
...
https://www.flake8rules.com/rules/E501.html - but 79 characters is a
joke
2022-02-18 18:17:27 +01:00
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
579145b52c
Target F841 - Remove unused variables
2022-02-18 17:01:38 +01:00
Stephan Kulow
0561e06cb1
Target E261 - two spaces before inline comment
2022-02-18 16:39:16 +01:00
Stephan Kulow
5df665ccc5
Targeting E123 - Closing bracket does not match indentation
...
https://www.flake8rules.com/rules/E123.html
2022-02-18 15:52:47 +01:00
Stephan Kulow
ae734ba555
Fix indent of statements E127
...
https://www.flake8rules.com/rules/E127.html
2022-02-18 14:23:59 +01:00
Stephan Kulow
e52dc6ce2b
Harmonize imports on using lxml for XML parsing
2022-02-18 11:16:01 +01:00
Stephan Kulow
805cd93dbe
Merge pull request #1726 from cboltz/master
...
truncate overlong changelogs to 100 lines + last line
2022-02-15 13:42:30 +01:00
Fabian Vogt
34fc21abc1
factory-package-news.py: Don't rely on changelogtime equality
...
Use an inequality check instead. That way if there's no full match (like
caused by https://github.com/openSUSE/obs-build/issues/768 ), it doesn't fall
back to printing the whole changelog.
2022-01-26 08:45:04 +01:00
Stephan Kulow
8b13dffe50
Remove E265 from flake ignore list
2021-09-21 14:52:46 +02:00
Stephan Kulow
a8f7146baf
Remove E713 offense from flaker
2021-09-21 14:20:08 +02:00
Stephan Kulow
40ed91e582
Package: Drop systemd services
...
Those were used before we moved to gocd scheduling
2021-07-12 14:20:19 +02:00
32e8cf46ff
Update email address for Factory mailing list
2021-04-26 13:44:13 +02:00
e62185a10a
Add 'kernel-64kb' to the list of kernel packages to reduce kernel spam
2020-12-02 17:14:29 +01:00
Christian Boltz
24ea935b98
truncate overlong changelogs to 100 lines + last line
2020-04-13 19:12:42 +02:00
ad06348dcf
More flake8 cleanups
2019-12-10 12:50:57 +01:00
ea3b07568c
Fix E203
...
This fixes incorrect whitespacing inside dictionaries.
2019-12-10 08:54:32 +01:00
ec88760187
Fix Flake E241
...
One more step towards white space sanity. Next group is E20x.
2019-12-10 08:46:02 +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
247f695d4c
Convert factory-package-news-web.py to python3
2019-10-09 14:50:39 +02:00
7b46636506
factory-package-news: fixes for Tumbleweed
2019-09-19 18:44:14 +02:00
Guillaume GARDET
440827e36e
factory-package-news: add aarch64 to search path
2019-07-17 15:19:38 +02:00
Stephan Kulow
cdd6dc4f06
Run factory announcer on gocd
...
Ported the announcer to python3 and made the config parsing a little
easier. The current state is no longer stored as filename, but in a
config file
2019-05-31 13:43:31 +02:00
280761013e
Fix factory-package-news to work with Python 3
...
https://github.com/openSUSE/openSUSE-release-tools/pull/1962
ported factory-package-news in a way to Python 3.x that made
it completely crash immediately with Python 2.x. So I guess
it is time to flip the switch and change the shebang. Also
fix the remaining fallout so that at least save and diff
are working again.
2019-05-22 20:25:54 +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
Jimmy Berry
4c8ade1a93
flake8: utilize raw strings to avoid invalid escape character warnings.
2018-10-24 16:34:16 -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
Simon Lees
ac7e566418
Fix punctuation
...
Signed-off-by: Simon Lees <sflees@suse.de>
2018-05-31 20:00:44 +09:30
Simon Lees
9d990376ce
Update announcer.py to ask people to report bugs
...
Rather then replying to the generated email we would like people to create new issues on bugzilla.opensuse.org
2018-05-31 19:30:06 +09:30
Jimmy Berry
66a670a37f
systemd: ensure all services have a relaxed RuntimeMaxSec.
...
The value should allow ample time for seldom larger runs and such and is
purely a safe-guard from a service being stuck for weeks until noticed. If
any values turn out to be too small simply increase.
2018-05-10 23:42:16 -05:00
Jimmy Berry
39ef75493d
Change references to osc-plugin-factory to openSUSE-release-tools.
2018-03-16 14:58:27 -05:00
Jimmy Berry
20ac07bcda
announcer: handle dot in build version detected from iso.
2018-01-25 16:56:15 -06:00
Jimmy Berry
66514cbd75
announcer: provide defaults for sender, to, and relay.
...
Drop from relevant config files.
2018-01-25 16:56:15 -06:00
Jimmy Berry
e8c72dae2c
announcer: provide proper packaging and generic templated service.
2018-01-25 16:56:10 -06:00
Jimmy Berry
f98a78c1ae
Remove Vim config in favor of EditorConfig.
2018-01-23 00:48:00 -06:00
Jimmy Berry
2abf28f274
news/web: allow dot in version.
2018-01-17 16:40:55 -06:00
d1c4801578
Another set of low-noise flake8 cleanups
2017-10-20 20:46:44 +02:00
6e78eb95fe
Enable F405,F811 (Unused imports)
...
Remove imports that are either duplicate or unused
2017-10-20 01:03:00 +02:00
Ludwig Nussel
e785c740d9
Refactor announcer
...
- use argparse
- use logging
- allow to specify a config file for options
2017-05-05 13:06:45 +02:00
Jimmy Berry
3fbeae9229
factory-package-news-web: do not restrict version to int.
...
Leap version numbers are currently formatted with a leading zero which is
stripped when converted to an int.
2017-05-01 20:57:27 -05:00
Jimmy Berry
09f547627c
factory-package-news-web: infer basedir from url_root.
...
Allows for multiple aliases to host different distro/version changes.
2017-04-18 22:04:59 -05:00
Jimmy Berry
b264bf0ca9
package-news: ignore non-rpm files in tree walk.
2017-03-23 18:21:43 -05:00
Jimmy Berry
b94b69703e
package-news: include s390x in search path.
2017-03-23 18:21:43 -05:00