Stephan Kulow
72915933c5
Merge pull request #2195 from coolo/add_openqa
...
Run openqa-maintenance on botmaster as well
2019-09-04 13:11:26 +02:00
Stephan Kulow
89c98eb26b
Python3 port of openqa maintenance bot
2019-09-04 13:00:56 +02:00
Stephan Kulow
f8d3603b2c
Run openqa-maintenance on botmaster as well
...
So far ran on maintenance vm
2019-09-04 13:00:56 +02:00
Ludwig Nussel
e06f41a40f
Fix for python 3.6
2019-09-04 10:42:32 +02:00
Marcus Meissner
40e577c62b
also remove 42.3 from apimap
2019-09-04 09:18:24 +02:00
Marcus Meissner
059e127f37
remove leap 42.3
...
add 15.2
2019-09-04 09:08:45 +02:00
Jimmy Berry
79a13dddfe
Merge pull request #2191 from jberry-suse/request-splitter-python3
...
osclib/request_splitter: replace map() calls with loop and call.
2019-09-03 15:37:10 -05:00
Jimmy Berry
d3f6c62ea0
osclib/request_splitter: replace map() calls with loop and call.
...
Python 3 makes map() a lazy call and since the result is not needed it
makes sense to just switch to explicit loop. Without this the "loop" (via
map) is never executed. As such, --try-strategies effective does nothing
and instead the staging-bot always falls back to none strategy.
2019-09-03 15:17:32 -05:00
Stephan Kulow
f741cdc4e6
New basic test case
2019-09-03 19:43:15 +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
0bb1be46b3
Add little SMTP server that does not send mails for testing
...
Not yet used, but hopefully will be useful for fully testing build fail
reminder
2019-09-03 19:43:15 +02:00
Stephan Kulow
85e79f3331
Fix filename of the build-fail-reminder gocd config
2019-09-02 16:52:09 +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
Jimmy Berry
72c1e9b445
Merge pull request #2179 from jberry-suse/sentry-sdk-updates
...
sentry: update for 0.11.x, general improvements, and operator exception handling
2019-08-29 15:09:59 -05:00
Jimmy Berry
3a2aed7f33
obs_operator: override HTTPServer.handle_error() to capture exceptions.
2019-08-29 14:36:01 -05:00
Jimmy Berry
d10a359c0c
osclib/sentry: tag osc version.
2019-08-29 14:10:29 -05:00
Jimmy Berry
eb0a6c4659
osclib/sentry: provide dummy client.
2019-08-29 14:10:29 -05:00
Jimmy Berry
cbfbb88048
osclib/sentry: sentry_client(): handle 0.11.x API change.
2019-08-29 14:10:29 -05:00
Jimmy Berry
e912e9d2c3
Merge pull request #2178 from jberry-suse/obs_operator-cookie-legality
...
obs_operator: allow illegal cookie keys.
2019-08-29 10:40:08 -05:00
Jimmy Berry
41ea0c132f
obs_operator: allow illegal cookie keys.
2019-08-29 10:03:00 -05:00
Jimmy Berry
f74d0c1d49
Merge pull request #2176 from jberry-suse/osc-origin-progress-text
...
osc-origin: update: indicate which package is being checked.
2019-08-29 08:26:41 -05:00
Jimmy Berry
970f6067ed
osc-origin: update: indicate which package is being checked.
2019-08-29 08:04:41 -05:00
Jimmy Berry
642809099b
Merge pull request #2175 from jberry-suse/origin-manager-web-history-diff
...
web/origin-manager: allow a request to be diffed against a potential origin (and related fixes).
2019-08-29 08:02:26 -05:00
Jimmy Berry
a189e94615
web/origin-manager: allow a request to be diffed against a potential origin.
2019-08-28 17:16:13 -05:00
Jimmy Berry
e3d67622e9
web/origin-manager: display the reason for a diff failure.
2019-08-28 17:15:19 -05:00
Jimmy Berry
114f25e004
web/origin-manager: properly handle potential origin de-selection.
2019-08-28 17:13:41 -05:00
Jimmy Berry
0e1d9ef25a
web/origin-manager: properly handle package de-selection.
2019-08-28 17:12:53 -05:00
Jimmy Berry
275db9b0d2
web/origin-manager: clear table data before loading new data.
...
Further clarifies new data is being loaded and when an error occurs the
prior data does not remain after the error messsage.
2019-08-28 17:10:51 -05:00
Jimmy Berry
5ee09feb27
web/origin-manager: table_selection_set(): handle undefined table.
2019-08-28 17:09:54 -05:00
Jimmy Berry
edfef91b3d
osclib/origin: origin_history(): expose source_(project,package,revision).
...
This is the best location to expose the information as the action context
is already available. Alternatively, a lookup function accepting a request
target_project and target_package could perform the equivalent of the
client-side filter operation that is part of the initial search. This also
alleviates additional queries that would be needed later.
2019-08-28 17:07:23 -05:00
Jimmy Berry
b466442260
obs_operator: handle_package_diff(): expose target package and revision.
2019-08-28 17:04:48 -05:00
Jimmy Berry
14971e2db0
Merge pull request #2174 from jberry-suse/sentry-improvements
...
sentry improvements and check_source logger error demotion
2019-08-28 15:34:02 -05:00
Jimmy Berry
7400d7d5e7
osc-origin: capture exception with sentry to ensure they are reported.
2019-08-28 15:09:45 -05:00
Stephan Kulow
97f37e8092
Merge pull request #2172 from DimStar77/bfr
...
gocd: use sep pipeline for build-fail-reminder
2019-08-28 16:42:04 +02:00
Stephan Kulow
4155474e39
Merge pull request #2170 from DimStar77/checknewer-py3
...
checknewer.py: Use python3 shebang
2019-08-28 16:41:54 +02:00
Stephan Kulow
79d31cd963
Merge pull request #2171 from lnussel/master
...
gocd: add Leap 15.2 announcer
2019-08-28 16:40:40 +02:00
74846d2cb2
gocd: use sep pipeline for build-fail-reminder
2019-08-28 15:05:51 +02:00
Ludwig Nussel
fca343511f
gocd: add Leap 15.2 announcer
2019-08-28 14:59:31 +02:00
3d65059281
checknewer.py: Use python3 shebang
2019-08-28 13:52:21 +02:00
Stephan Kulow
30c7a9a268
Merge pull request #2157 from andreas-schwab/master
...
update_repo_handler: properly extract factory build string
2019-08-28 11:58:35 +02:00
Jimmy Berry
7a913b34d4
check_source: check for target package not found when checking out.
...
When new packages are submitted the target package should not exist and
thus does not constitute an error. Any other return code does.
2019-08-27 14:49:17 -05:00
Jimmy Berry
208336ca80
ReviewBot: action_method(): drop request.type sentry extra in favor or action.key.
2019-08-27 14:45:29 -05:00
Jimmy Berry
4ca9995b5d
ReviewBot: simplify sentry_sdk initialization line since defined globally.
2019-08-27 14:44:54 -05:00
Jimmy Berry
b0d7e9930a
ReviewBot: provide request.id and action.key as sentry extras.
2019-08-27 14:44:42 -05:00
Jimmy Berry
ca4033e614
ReviewBot: action_method(): reduce sentry extra to filter(None, ...).
2019-08-27 14:31:00 -05:00
Jimmy Berry
37386e0c74
osclib/common: provide version_calcuate() and utilize by default.
2019-08-27 14:27:11 -05:00
Jimmy Berry
6e8e461e1c
osclib/git: provide describe().
2019-08-27 14:27:08 -05:00
Jimmy Berry
2189443994
osclib/git: remove unnecessary CacheManager import.
2019-08-27 14:13:10 -05:00