Jimmy Berry
e74ce20953
stagingapi: get_prj_pseudometa() provide revision parameter.
2017-06-01 10:10:12 +02:00
Jimmy Berry
99a6de7798
stagingapi: get_prj_meta() provide revision parameter.
2017-06-01 10:10:12 +02:00
Jimmy Berry
dfcad869c9
comments: provide parent_id parameter for add_comment().
2017-06-01 10:10:12 +02:00
Jimmy Berry
040cfde16b
comments: remove unused chunks() from comment_find().
2017-06-01 10:10:12 +02:00
Jimmy Berry
6ed8e2ea8a
comments: add query parameter to _prepare_url().
2017-06-01 10:10:12 +02:00
Jimmy Berry
fb76fb87b9
stagingapi: rework supersede logic to handle different request types.
...
Additionally, this treats revoked or superseded requests as always to
be replaced if a new requests is available.
2017-05-31 10:32:03 +02:00
Jimmy Berry
39799f0235
stagingapi: include new request ID in supersede review message.
2017-05-31 10:08:42 +02:00
Jimmy Berry
df9f89b2b7
stagingapi: handle old source removed and assume supersede.
2017-05-31 08:56:42 +02:00
Jimmy Berry
0a3d0f0f9f
Merge pull request #909 from jberry-suse/unselect-cleanup-supersede-decline
...
unslect: --cleanup handle superseded request that is never replaced.
2017-05-16 14:37:32 -05:00
Jimmy Berry
beb80534f0
unslect: --cleanup handle superseded request that is never replaced.
2017-05-15 17:52:28 -05:00
Jimmy Berry
8996c4c2ab
stagingapi: save_file_content() provide comment optional parameter.
2017-05-12 00:37:02 -05:00
Jimmy Berry
20751a997d
list: s/is_factory/not_factory/ to correct variable name.
2017-05-11 16:02:19 -05:00
Jimmy Berry
f2dd455d13
list: correct ring-0 spacing by separating the color from value.
2017-05-11 16:01:41 -05:00
Jimmy Berry
dc40ec7ac4
request_splitter: only allow devel/super followup for non-bootstrapped.
2017-05-09 19:40:15 -05:00
Ludwig Nussel
b085108aed
Merge pull request #887 from jberry-suse/lock-needed
...
osc-staging: skip lock for observation commands (and other unlock fix).
2017-05-09 17:41:30 +02:00
Ludwig Nussel
a2842357cf
Merge pull request #883 from jberry-suse/devel-super-not-ready-merge
...
request_splitter: should merge: allow devel and super if not ready.
2017-05-09 17:40:43 +02:00
Jimmy Berry
3d7a7d487b
obslock: unlock other user lock if force.
2017-05-08 21:47:12 -05:00
Jimmy Berry
f4523078b4
osc-staging: skip lock for observation commands.
2017-05-08 19:39:15 -05:00
28a0ee0c8e
Merge pull request #881 from nilxam/map_rings_fix
...
Refactor map_ring_package_to_subject to support corner case
2017-05-05 06:55:32 -05:00
edec29c6e1
Refactor map_ring_package_to_subject to support corner case
...
We have a corner case that package A in Ring2 and points to package B in Ring1,
map_ring_package_to_subject have to handle that as another non-inner project
link case, ie. the sub-package link must be created.
https://github.com/openSUSE/osc-plugin-factory/issues/876
2017-05-05 19:05:27 +08:00
Jimmy Berry
c78d98f9e6
request_splitter: should merge: allow devel and super if not ready.
2017-05-04 16:48:57 -05:00
Jimmy Berry
75ee7ef3e1
Merge pull request #872 from jberry-suse/unselect-cleanup-conditions
...
unselect: add conditions to obsolete filter used by --cleanup (along with refactor and tests).
2017-05-04 15:20:07 -05:00
Jimmy Berry
f70544ec81
unselect: extract filter conditions as config variables.
2017-05-04 15:08:41 -05:00
Jimmy Berry
cf966f5053
unselect: add conditions to obsolete filter used by --cleanup.
2017-05-04 15:08:12 -05:00
Jimmy Berry
83aac77c6a
stagingapi: project_status_requests(): provide filter function.
2017-05-04 15:00:04 -05:00
Jimmy Berry
ed1dc8b788
stagingapi: project_status_requests(): filter requests changed < 5 min ago.
2017-05-04 15:00:04 -05:00
Jimmy Berry
a86259e0e1
Merge pull request #879 from jberry-suse/obslock-hold-expire
...
obslock: cleanup hold logic and resolve inheriting an expired hold.
2017-05-04 12:18:48 -05:00
Jimmy Berry
c505e838cf
cache: correction to match all dashboard file requests.
...
With the query PUTs are not match and thus the local cache is not cleared
until the next statistics/latest_updated call.
2017-05-04 11:13:12 -05:00
Jimmy Berry
1e511e9c85
obslock: delta.total_seconds() is more resilient than delta.seconds.
2017-05-03 20:38:09 -05:00
Jimmy Berry
73f0ed895f
obslock: cleanup hold logic and resolve inheriting an expired hold.
2017-05-03 20:37:03 -05:00
Jimmy Berry
17e0089d5a
conf: provide remote-config option and default to false for SLE.
2017-05-03 19:12:09 -05:00
Jimmy Berry
e755c061aa
conf: explicitly check if config is None.
...
Otherwise a blank file may repeatedly submitted.
2017-05-01 22:33:11 -05:00
Jimmy Berry
2f32bf8fbf
conf: remove splitter-whitelist default in favor of remote config.
2017-05-01 17:40:33 -05:00
Jimmy Berry
9ea9a50c35
request_splitter: expose age thresholds to config.
2017-05-01 17:40:33 -05:00
Jimmy Berry
f6c31d7f59
cache: include dashboard files.
2017-05-01 17:40:33 -05:00
Jimmy Berry
d4a2af58c8
osc-staging: implement remote config.
2017-05-01 17:40:13 -05:00
Jimmy Berry
b2058120e6
obslock: actually implement locked property.
2017-05-01 17:09:43 -05:00
Jimmy Berry
53a79f2c05
lock: provide command to place a multi-command hold on a project.
2017-05-01 17:09:16 -05:00
Jimmy Berry
77f79f9175
obslock: add reason to indicate what command is being run.
2017-05-01 16:45:35 -05:00
Jimmy Berry
7f9cc0f74c
request_splitter: add staging whitelist config option.
...
For the initial Factory usage the bot will be allowed to stage on a subset
of the available stagings.
2017-04-28 15:42:09 -05:00
Jimmy Berry
9ae63cff62
list: color source_project.
2017-04-28 10:21:52 -05:00
Jimmy Berry
22ec112225
list & adi: share common stagingapi.ignore_format().
2017-04-28 10:21:50 -05:00
Jimmy Berry
9f84a7c321
supersede: colorize.
2017-04-27 16:33:04 -05:00
Jimmy Berry
2c592bdb53
stagingapi: rebuild_broken(): utilize python argument expansion.
2017-04-27 16:29:21 -05:00
Jimmy Berry
4409304cb0
rebuild: colorize.
2017-04-27 16:29:21 -05:00
Jimmy Berry
448c88a56e
supersede: include ignore and decline in output.
2017-04-27 15:35:26 -05:00
Jimmy Berry
0d760b707a
Merge pull request #847 from jberry-suse/cleanup_rings
...
cleanup_rings: runtime requiredby check, whitelist, summary, and substantial refactoring
2017-04-27 15:13:58 -05:00
Jimmy Berry
c47b296291
list: rework ignore indent and apply wordwrap.
2017-04-26 21:04:37 -05:00
Jimmy Berry
a4432aefff
list & adi: remove sr# prefix from request IDs to ease copy/paste.
2017-04-26 11:59:40 -05:00
Jimmy Berry
8dceae9053
list: move delete request indication to correct whitespace formatting.
2017-04-26 11:59:40 -05:00