5472 Commits

Author SHA1 Message Date
Jimmy Berry
92b4ed430d dist/obs: provide OSRT:OriginUpdateSkip attribute definition. 2019-09-11 18:55:36 -05:00
Jimmy Berry
2782c4245b osc-origin: utilize osclib.core.RequestFuture.print_and_create(). 2019-09-11 18:55:36 -05:00
Jimmy Berry
b41c44e7bb osclib/core: provide RequestFuture.print_and_create(). 2019-09-11 18:55:36 -05:00
Jimmy Berry
4329d42b75 osclib/core: provide RequestFuture.create_tolerant(). 2019-09-11 18:55:36 -05:00
Jimmy Berry
97d1f968de osclib/core: provide project_attributes_list(). 2019-09-11 18:55:36 -05:00
Jimmy Berry
7e9bb0bc29 osclib/core: project_attribute_list(): provide locked parameter. 2019-09-11 18:55:36 -05:00
Jimmy Berry
52c857e5d8 osclib/core: project_attribute_list(): drop value parameter.
The value is not actually exposed by OBS xpath engine and the xpath would
be invalid if it was.
2019-09-11 18:55:36 -05:00
Jimmy Berry
f9e4d424d3 osclib/core: provide devel_projects(). 2019-09-11 18:55:36 -05:00
Jimmy Berry
b68a46d352 Move PubSubConsumer to osclib.PubSubConsumer to allow for proper import. 2019-09-11 18:55:22 -05:00
Stephan Kulow
d06fa8afb3
Merge pull request #2210 from lnussel/master
build fail reminder: change mail address
2019-09-11 12:46:39 +02:00
Ludwig Nussel
f30964b69c build fail reminder: change mail address 2019-09-11 11:17:09 +02:00
Jimmy Berry
9e21e7573c
Merge pull request #2202 from jsegitz/master
check_source: move checking of bad rpmlint entries to subprocess.
2019-09-10 09:31:00 -05:00
Johannes Segitz
b020a41a5c check_source: We need to use the user supplied REs to check if one
of those match the list of entries we want to check
2019-09-10 12:04:30 +02:00
Jimmy Berry
514a0f5ea1
Merge pull request #2208 from jberry-suse/check_source-delete-repository
check_source: check_action_delete_repository(): gate behind conf.mail-release-list.
2019-09-09 17:29:19 -05:00
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