Stephan Kulow
c4af75db58
Make the build fail reminder email text more generic
2022-03-30 09:01:30 +02:00
Stephan Kulow
0f7dfb524b
build-fail-reminder: Several enhancements
...
- Load the fails from rebuildpac data, which is more reliable than the
broken project status route of OBS.
- Correctly report multispec failures
- Correctly report i586 failures
- Include unresolvable packages in the report
2022-03-29 15:53:56 +02:00
Stephan Kulow
fb6f4798a7
Extend build-fail-reminder to notify about uninstallable packages
2022-03-28 12:02:38 +02:00
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
1383ae9725
Targetting E126 - Continuation line over-indented for hanging indent
...
https://www.flake8rules.com/rules/E126.html
2022-02-18 16:02:08 +01:00
Stephan Kulow
2023ccbe6e
Target E124 - Closing bracket does not match visual indentation
...
https://www.flake8rules.com/rules/E124.html
2022-02-18 15:52:47 +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
52dbb52b7f
Merge pull request #2703 from coolo/drop_etree
...
Harmonize imports on using lxml for XML parsing
2022-02-18 12:50:18 +01:00
Stephan Kulow
1152d4c419
Remove bare excepts - https://www.flake8rules.com/rules/E722.html
...
The bare except in osc-credentials lead me to remove it and the scripts
using it
2022-02-18 12:03:56 +01:00
Stephan Kulow
e52dc6ce2b
Harmonize imports on using lxml for XML parsing
2022-02-18 11:16:01 +01:00
Stephan Kulow
a8f7146baf
Remove E713 offense from flaker
2021-09-21 14:20:08 +02:00
Martin Vidner
aec38aadce
Add a meaningful one line description
2021-06-30 10:32:32 +02:00
d95ac4a8d1
build-fail-reminder: don't use cgi.escape, but rather html escape the fixed string directly
...
cgi.escape was removed with python 3.8; this in turn has stopped us
from creating delete requests ever since.
As this is a static string, we can live perfectly with a pre-encoded string
2021-03-11 15:19:11 +01: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
d096e163a9
build-fail-reminder: Fix indentation of emails
...
Fixes issue #2278
2019-10-30 14:08:45 +01:00
128d95c56d
build-fail-notification: Fix how we address the user
...
In 6f21ae6 we fixed an inversion of to and fullname fields - but the
recipient was not fixed up here (resulting in addressing the user
by his email address)
Also fix a typo: recepient -> recipient
2019-10-17 09:32:38 +02:00
8bae3694e8
build-fail-reminder: update api path to projects/:project/status
2019-10-16 22:53:38 +08:00
6f21ae6a8b
BuildFailReminder: fix inversion of to and fullname
2019-10-07 06:53:49 +02:00
Stephan Kulow
88c561d352
Don't use the webui for project status
...
The API replies to these routes as well - and we can use standard functions
for that
2019-09-03 19:43:15 +02:00
Stephan Kulow
00958f0f6e
Inline the mail text for the mailing list post - easier to map
2019-09-02 16:52:09 +02:00
Stephan Kulow
58089794f9
Deduplicate the 2 mail sending functions
...
I went with introducing mail_send_with_details and make mail_send
a wrapper around it
2019-09-02 16:52:09 +02:00
1eb5d07c09
build-fail-notification: Mail to -factory after 4, dr after 6 weeks
...
Let's further automate the process of failed packages. Keeping them around serves nobody.
So now, we do:
* Mail to maintainer after 1 week of failre
* Reminder mail after another week
* Send a mail to -factory after 2 more weeks (so, total 4 weeks failed)
* File a delete request after 6 weeks failed
The delete request will then go into the regular delete process, being blocked by potentially
other packages depending on it.
2019-09-02 16:52:09 +02:00
Stephan Kulow
e08716480d
Run build fail reminder on botmaster
...
The timer is stopped on packagelists and the data migrated. The service
only ran for openSUSE:Factory atm (leap 15.1 was never enabled it seems)
2019-05-28 21:02:35 +02:00
Stephan Kulow
fec762e5a4
Avoid warning on using .warn (python3)
2019-05-11 14:25:02 +02:00
Dany Marcoux
c80782e089
Fix project/status route
...
Following a change in OBS, the project parameter is always required in
the project/status route.
The commit:
f795712249 (diff-61c12a5866566c0d732134f0c447d788)
2019-02-22 10:54:18 +01:00
Stephan Kulow
c7fb91eb34
Fix E117: over-indented (flake8 update on TW)
2019-01-30 16:08:52 +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
c25f3ed8e5
build-faul-reminder: Small rewording of the 2nd mail
2018-01-31 11:26:34 +01: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
1cec490d54
White space / consistent usage of spaces / indentation of 4 fixes
2017-10-20 00:58:05 +02:00
Ludwig Nussel
6b64e5c08e
Don't write json file in dry run mode
2016-08-12 15:47:15 +02:00
Ludwig Nussel
d7eef2c711
Build fail reminder adjusted from Dominique's
2016-08-12 14:14:24 +02:00