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
Jimmy Berry
fb25b7a044
osc-staging: implement colorization using colorama for adi and list.
2017-04-26 11:59:38 -05:00
Jimmy Berry
41e4d5ae2b
cleanup_rings: provide package whitelist for special cases.
2017-04-25 20:06:20 -05:00
Jimmy Berry
aca88d19c0
cleanup_rings: check runtime requiredby if not a build requirement.
...
This check only works if the runtime requirement resides in the same ring.
The fun case being kernel-syms which is required by virtual box (ring-2),
but must remain in ring-1 to ensure matching build revision with other
kernel packages.
2017-04-25 19:57:03 -05:00
Jimmy Berry
ac031bb915
stagingapi: provide fileinfo_ext_all() and fileinfo_ext().
2017-04-25 19:55:00 -05:00
Jimmy Berry
4d0e98a00c
cleanup_rings: print summary of packages to be dropped and commands last.
2017-04-25 19:54:59 -05:00
Jimmy Berry
39a4914e48
cleanup_rings: check ring index instead of string comparison.
2017-04-25 19:53:49 -05:00
Jimmy Berry
ce8818fd3d
cleanup_rings: utilize splitlines() in check_buildconfig().
2017-04-25 19:53:49 -05:00
Jimmy Berry
51c2f6e0e9
cleanup_rings: extract check_image_bdeps() and check_buildconfig().
...
- change archs loop to use the archs appropriate for the ring instead of
always using DVD archs
- drop check_image_bdeps() out of archs loop since DVD should only look
at DVD archs even if ring 1
2017-04-25 19:53:49 -05:00
Jimmy Berry
50166347e1
stagingapi: provide ring_archs() to return arch relevant to a ring.
2017-04-25 19:53:46 -05:00
Jimmy Berry
1198da8eef
cleanup_ring: extract repo_state_acceptable().
2017-04-25 19:15:04 -05:00
Jimmy Berry
253b6592b4
cleanup_rings: indicate the ring being processed.
2017-04-25 19:11:18 -05:00
Jimmy Berry
57174711ab
cleanup_rings: utilize config ring list rather than hard-coded.
2017-04-25 18:24:55 -05:00
Jimmy Berry
50f8042ba9
stagingapi: convert rebuild_broken to a generator for instant feedback.
...
Otherwise, the rebuild command does not print output until all the
rebuilds for a whole staging are completed. With this change each package
should be printed immediately.
2017-04-20 23:10:05 -05:00
Jimmy Berry
52d356db29
Merge pull request #834 from jberry-suse/supersede-command
...
supersede: separate command, feedback, and force supersede post source project check
2017-04-20 14:10:08 -05:00
Ludwig Nussel
0f9d4fc86a
Merge pull request #832 from jberry-suse/simplify-project-status-walk
...
stagingapi: simplify project_status_build_sum() with a generator.
2017-04-20 12:05:38 +02:00
Jimmy Berry
cf3ce7435e
stagingapi: bypass ignored list when supersede with target_requests.
2017-04-19 18:14:35 -05:00
Jimmy Berry
7e26435ee0
supersede: provide feedback about what requests were superseded.
2017-04-19 18:09:34 -05:00
Jimmy Berry
862ee547eb
supersede: allow list of request IDs or packages.
2017-04-19 18:09:34 -05:00
Jimmy Berry
b2ba0730de
stagingapi: enhance supersede target_pkgs to skip source project check.
...
This creates a facility for forcing a request, that was ignored due to
the source check, to supersede the existing one.
2017-04-19 18:09:25 -05:00
Jimmy Berry
54f502da37
osc-staging: break out list --supersede PACKAGES...
as separate command.
...
Maintains `list --supersede`, but places the explicit supersede based on
a list of packages in a separate command.
2017-04-19 17:42:14 -05:00
Jimmy Berry
567d6d7950
Merge pull request #831 from jberry-suse/obsolete-skip-superseded
...
unselect: filter superseded when using --cleanup.
2017-04-19 16:54:52 -05:00
Jimmy Berry
f79e35caeb
stagingapi: correct project_status_build_percent() formula.
...
final: packages in final state (not final count ie total)
tobuild: packages remaining to build
2017-04-19 16:08:39 -05:00
Jimmy Berry
e156e1cede
stagingapi: simplify project_status_build_sum() with a generator.
2017-04-19 15:23:49 -05:00
Jimmy Berry
9135f91620
unselect: filter superseded when using --cleanup.
2017-04-19 14:55:42 -05:00
Jimmy Berry
3d503c1f2c
request_splitter: provide quick strategy based on lack of reviews needed.
2017-04-18 13:36:40 -05:00
Jimmy Berry
2aa494aea3
request_splitter: provide Strategy.desirable() in base.
...
Default should be all groups are desirable which the strategy can override.
2017-04-18 13:33:05 -05:00
Jimmy Berry
959a8f7905
request_splitter: add super strategy for representing devel groups.
2017-04-17 23:06:24 -05:00
Jimmy Berry
59eda5d82d
request_splitter: group_by(): provide required option and use in devel.
...
Staging packages with no devel project as a result of devel strategy seems
like the incorrect behavior.
2017-04-17 23:05:04 -05:00
Jimmy Berry
232219363c
request_splitter: s/supliment/supplement/ in comment.
2017-04-17 22:55:41 -05:00
Jimmy Berry
446a30dde0
request_splitter: switch from build percentage to staging age for merge.
...
Using build percentage is sub-optimal since many events can reset the
percentage which can result in additional requests being merged into the
staging. A better metric is the time since the first request was added to
the staging (the age of the staging). Unfortunately, this is not trivial to
determine especially given that the original request may be superseded or
unstaged entirely. As such the datetime at which the staging was activated
is stored in the staging pseudometa. A max age is then used to allow for
merging up until that point.
2017-04-14 17:11:30 -05:00
Jimmy Berry
d8f7d03c33
request_splitter: allow user to override merge conditions.
2017-04-14 17:03:18 -05:00
Jimmy Berry
83f425f23a
request_splitter: s/age_threshold/request_age_threshold/.
...
Makes room for more age related variables. My gut was to do this in the
first place which seems correct now.
2017-04-14 16:48:23 -05:00
Jimmy Berry
ef2bc90061
request_splitter: provide and utilize an aged attribute on requests.
2017-04-12 17:32:43 -05:00
Jimmy Berry
50a83d1108
request_splitter: use capital for boolean strings in supplement().
...
Given that str(boolean) is used a capital is sometimes present, but should
be consistent to remove the possibility for issues.
2017-04-12 17:32:43 -05:00
Jimmy Berry
4bea74ae3a
request_splitter: s/suppliment/supplement/().
2017-04-12 17:32:43 -05:00
Jimmy Berry
06d93b7344
stagingapi: get_open_requests() provide query_extra option.
2017-04-12 17:32:43 -05:00
Jimmy Berry
8109772372
stagingapi: get_open_requests(): replace query string with dictionary.
2017-04-12 17:32:38 -05:00
Jimmy Berry
27c0db5a78
stagingapi: rebuild_broken(): ignore unresolvable packages.
2017-04-10 23:24:12 -05:00
Jimmy Berry
7ceb58d814
obslock: include delta in message.
2017-04-06 17:37:55 -05:00
Jimmy Berry
043dad76db
stagingapi: correct supersede call to IgnoreCommand.
2017-04-06 16:27:11 -05:00
Ludwig Nussel
37499194ce
Merge pull request #783 from jberry-suse/select-move-deactivate
...
osc-staging: handle `select --move` cleanup of empty source project.
2017-04-05 18:22:35 +02:00
Ludwig Nussel
5eae68a0d9
Merge pull request #784 from jberry-suse/adi-accept-comment
...
adi: create accept comment to be consistent with letter stagings. (and cleanups)
2017-04-05 18:21:51 +02:00