5558 Commits

Author SHA1 Message Date
Jimmy Berry
031934d07c
Merge pull request #2204 from lnussel/master
osclib/git: describe(): drop python requirement to pre-3.7.
2019-09-09 17:27:49 -05:00
Jimmy Berry
4e4379a4d5 check_source: check_action_delete_repository(): simplify decline message. 2019-09-09 16:57:26 -05:00
Jimmy Berry
a7cf9026db check_source: check_action_delete_repository(): gate behind conf.mail-release-list.
Works for SLE and maintenance properly with this option.
2019-09-09 16:56:44 -05:00
Jimmy Berry
2ca2925a58
Merge pull request #2207 from jberry-suse/osclib-request_splitter-python3-hash
osclib/request_splitter: utilize osclib.util.sha1_short() for encoding.
2019-09-09 16:07:44 -05:00
Jimmy Berry
ff5efd108d osclib/request_splitter: utilize osclib.util.sha1_short() for encoding.
Without this, python 3 execution will fail with:
  TypeError: Unicode-objects must be encoded before hashing

The requests strategy is the only strategy to utilize kwargs besides
custom so this code is not executed often which is why this has not been
encountered. In fact it was executed mistakenly and reported.
2019-09-09 15:31:24 -05:00
Jimmy Berry
783a067423
Merge pull request #2201 from jberry-suse/osclib-comments-command-find-allow-seperators
osclib/comments: command_find(): allow seperators after user.
2019-09-05 14:14:31 -05:00
Stephan Kulow
b269bf4868 announce.gocd.yaml: escape the : in pipeline names 2019-09-05 13:04:32 +02:00
Stephan Kulow
a24bcf0f20
Merge pull request #2203 from coolo/bfrm
Fix syntax of build-fail-reminder.gocd.yaml (endless story)
2019-09-05 12:59:37 +02:00
Stephan Kulow
3d7b3fbb03 Fix syntax of build-fail-reminder.gocd.yaml (endless story) 2019-09-05 12:34:18 +02:00
Stephan Kulow
87de492db3
Merge pull request #2177 from coolo/problem-reporter
build-fail-notification: Mail to -factory after 4, dr after 6 weeks
2019-09-05 12:29:10 +02:00
Jimmy Berry
66c912475d osclib/comments: command_find(): allow seperators after user.
Users attempt both with and without seperators so might as well support.
2019-09-04 18:44:45 -05:00
Jimmy Berry
1b3a6e1f26
Merge pull request #2200 from jberry-suse/osclib-core-add_role-to-project
osclib/core: request_action_key(): handle add_role/set_bugowner against project.
2019-09-04 16:37:53 -05:00
Jimmy Berry
016bca069d osclib/core: request_action_key(): handle add_role/set_bugowner against project. 2019-09-04 16:13:03 -05:00
Jimmy Berry
a6d0974e27 osclib/core: request_action_key(): include set_bugowner in top level condition. 2019-09-04 16:12:46 -05:00
Stephan Kulow
415878033d
Merge pull request #2199 from coolo/abichecker_python3
Abichecker python3
2019-09-04 18:10:58 +02:00
Stephan Kulow
732d9d9d30 Continue python3 port of abichecker 2019-09-04 17:07:38 +02:00
Stephan Kulow
e0800e7c3b Fix cron for openqa - it's supposed to run every 10 minutes 2019-09-04 17:06:49 +02:00
Stephan Kulow
3d286c3590 Fix group name for the abichecker pipeline 2019-09-04 16:18:47 +02:00
Stephan Kulow
f5eee13e8e
Merge pull request #2198 from coolo/add_abichecker
Run abichecker on botmaster as well
2019-09-04 16:12:40 +02:00
Stephan Kulow
fce313d504 Run abichecker on botmaster as well 2019-09-04 16:11:42 +02:00
Stephan Kulow
fb0c41425f
Merge pull request #2197 from coolo/fix_utf8
oqamaint: fix more python3 issues and add _OBSOLETE=1
2019-09-04 14:15:45 +02:00
Stephan Kulow
cc00e1f2da oqamaint: fix more python3 issues and add _OBSOLETE=1
The default of openQA changed - _NO_OBSOLETE no longer exists, but for
the test repo we want obsoletion
2019-09-04 14:04:00 +02:00
Stephan Kulow
3ba02675d3
Merge pull request #2194 from msmeissn/master
remove leap 42.3 and add 15.2
2019-09-04 13:53:29 +02:00
Stephan Kulow
0f9d84a049
Merge pull request #2196 from coolo/fix_json
oqamaint: Take the default modules
2019-09-04 13:42:04 +02:00
Stephan Kulow
245256ea15 oqamaint: Take the default modules 2019-09-04 13:34:27 +02:00
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