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
Jimmy Berry
f7c6ec22bf
package-news: skip non-existant directories.
2017-03-23 18:21:43 -05:00
d05a0c80c0
Announcer: put the state of the last version into /var/lib
2017-02-06 16:01:36 +01:00
28335a1229
Release announcer: Ask contributors to change the subject line when replying
2016-07-19 11:37:55 +02:00
Ludwig Nussel
1bff26b344
Pep8
2016-05-12 17:30:40 +02:00
Ludwig Nussel
741c3f19b4
Generate Date and Message-ID headers locally
2016-05-12 17:28:08 +02:00
Ludwig Nussel
9c58ba0bb3
add link to openQA results in announcer
...
maybe that helps to bring more attention to the test results
2016-01-27 13:20:44 +01:00
Ludwig Nussel
89480c144e
use urljoin
2016-01-21 10:45:29 +01:00
Ludwig Nussel
7028f437b8
allow to announce specific versions
...
useful if the announcer was broken for a while :-)
2016-01-19 14:00:30 +01:00
Ludwig Nussel
cb3c6ca3e6
fix newlines
2016-01-19 14:00:21 +01:00
Ludwig Nussel
31469006de
use correct to address in service file
2016-01-19 14:00:07 +01:00
Ludwig Nussel
710f96f9d7
catch vanished changelog in package
2016-01-19 11:39:31 +01:00
Ludwig Nussel
8188bcad3b
remove added and remove packges, just causes confusion
2015-12-21 16:26:38 +01:00