4cbec75f6f
announcer: inject hostname in case fqdn cannot be found
2024-05-17 15:56:07 +02:00
Dirk Müller
730630f06f
Use f-strings where possible
2024-05-07 21:52:32 +02:00
Stephan Kulow
aaab4af930
Target F401 - Unused imports
2022-02-18 18:29:27 +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
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
32e8cf46ff
Update email address for Factory mailing list
2021-04-26 13:44:13 +02:00
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
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
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
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
f98a78c1ae
Remove Vim config in favor of EditorConfig.
2018-01-23 00:48:00 -06:00
d1c4801578
Another set of low-noise flake8 cleanups
2017-10-20 20:46:44 +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
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
417800e497
add intro text
2015-12-14 18:08:07 +01:00
Ludwig Nussel
11f9353e8c
set Mail-Followup-To field
...
makes good MUAs send replies to the target list rather than the sender.
http://cr.yp.to/proto/replyto.html
2015-03-16 09:53:05 +01:00
3056152c91
Announcer: Factory ISOs are now called Tumbleweed
2014-11-26 13:55:32 +01:00
Ludwig Nussel
a72a787aab
remove useless space
2014-08-15 15:38:42 +02:00
Ludwig Nussel
d07709144a
don't set symlink in dry mode
2014-08-14 17:55:45 +02:00
Ludwig Nussel
a1b5edc5a8
add command line options
2014-08-14 17:04:35 +02:00
Ludwig Nussel
7b71f2311b
send to factory ml
2014-08-13 08:55:38 +02:00
Ludwig Nussel
978f4f0aba
don't error out of symlink doesn't exist initially
2014-08-11 16:23:19 +02:00
Ludwig Nussel
9d99b0ee3f
add script to fetch changes file and mail it
2014-08-08 15:35:33 +02:00