Jimmy Berry
4d8e6efca1
Merge pull request #810 from jberry-suse/staging-age
...
request_splitter: switch from build percentage to staging age for merge.
2017-04-17 14:40:08 -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
62bde2f8ba
Merge pull request #806 from jberry-suse/splitter-delay
...
request_splitter: provide and utilize an aged attribute on requests.
2017-04-13 15:38:09 -05:00
Jimmy Berry
9dc9d1e910
Merge pull request #809 from jberry-suse/osc-request-creator-test-fix
...
tests: add missing creator attribute to requests to satisfy osc.
2017-04-13 15:12:41 -05:00
Jimmy Berry
7621d4f7f6
tests: add missing creator attribute to requests to satisfy osc.
2017-04-13 15:08:15 -05:00
Ludwig Nussel
b3464662bf
Merge pull request #797 from lnussel/updatecrawler
...
Hack to skip haskell submissions
2017-04-13 16:49:37 +02:00
Ludwig Nussel
65eac1f403
Hack to skip haskell submissions
...
It's just too much and needs to be submitted manually
2017-04-13 14:56:44 +02: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
Martin Pluskal
da0df18ed1
Merge pull request #804 from fschilling/update_kgr-systems_list
...
Update list of kgraft test-systems.
2017-04-12 20:01:20 +02:00
Ludwig Nussel
eefb3d9e93
Merge pull request #798 from jberry-suse/update-crawler-superseded
...
update_crawler: include superseded requests when looking for existing.
2017-04-12 17:53:11 +02:00
Jimmy Berry
849bf8abba
Merge pull request #801 from jberry-suse/devel-project-skip-comment-delete
...
devel-project: gracefully skip when removal of previous comment fails.
2017-04-12 08:03:49 -05:00
schillingf
52a67ec476
Update list of kgraft test-systems.
...
* Add kGraft0k, kGraft1f, and kGraft26.
* Remove kGraft0c, kGraft14 and kGraft15.
2017-04-12 10:29:33 +02:00
Jimmy Berry
eab1adb90b
devel-project: gracefully skip when removal of previous comment fails.
...
Given that previous comment is used as a basis for determining the time
since last reminder if it cannot be removed a new reminder should not be
created.
2017-04-11 15:38:45 -05:00
Jimmy Berry
2980790cd8
update_crawler: include superseded requests when looking for existing.
...
Prevents situation that can create a loop of update_crawler requests,
superseded and another update_crawler request.
2017-04-11 14:59:48 -05:00
Ludwig Nussel
e2caae4fd1
Merge pull request #796 from jberry-suse/rebuild-unresolvable-ignore
...
stagingapi: rebuild_broken(): ignore unresolvable packages.
2017-04-11 15:55:24 +02:00
Ludwig Nussel
b081dad10f
Merge pull request #795 from jberry-suse/leaper-automatic-submission-reset
...
leaper: reset automatic_submission to False on each review.
2017-04-11 15:55:01 +02:00
Jimmy Berry
27c0db5a78
stagingapi: rebuild_broken(): ignore unresolvable packages.
2017-04-10 23:24:12 -05:00
Jimmy Berry
5f77f48437
leaper: reset automatic_submission to False on each review.
...
Perhaps this should be handled on a larger scale where initial variable
states are not set in __init__ but rather in special method or reset in
some manor.
2017-04-10 23:17:09 -05:00
Ludwig Nussel
546fe96c74
Merge pull request #792 from jberry-suse/lock-time
...
obslock: include delta in message.
2017-04-07 10:48:54 +02:00
Jimmy Berry
7ceb58d814
obslock: include delta in message.
2017-04-06 17:37:55 -05:00
Jimmy Berry
70ab4594ab
Merge pull request #790 from jberry-suse/supersede-ignore-fix
...
stagingapi: correct supersede call to IgnoreCommand.
2017-04-06 16:49:58 -05:00
Jimmy Berry
043dad76db
stagingapi: correct supersede call to IgnoreCommand.
2017-04-06 16:27:11 -05:00
59c88a1f5b
Merge pull request #789 from okurz/feature/openqa
...
Add devel:openQA:tested to whitelist for auto-submit
2017-04-06 03:34:35 -05:00
Oliver Kurz
afdb1f35fa
Add devel:openQA:tested to whitelist for auto-submit
2017-04-06 10:15:22 +02: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
Stephan Kulow
81c5eaaac5
Merge pull request #787 from nilxam/improve_output
...
Misc improvements
2017-03-30 14:23:20 +02:00
36391fce92
Separate issues file
2017-03-30 20:01:31 +08:00
1b5d28fd41
Marked ignored=False if failed job has no refs
2017-03-30 19:59:57 +08:00
f401ebaa5b
Notice the job was ignored instead of just say failed
2017-03-30 18:44:25 +08:00
f74ba01d1d
Merge pull request #782 from jberry-suse/supersede-list-invalidate
...
stagingapi: invalidate get_open_requests() memoize cache after supersede.
2017-03-30 03:33:30 -05:00
Stephan Kulow
75bd6dffaf
Merge pull request #785 from coolo/advanced_ttm
...
Have TTM work through openqa comments
2017-03-30 07:15:22 +02:00
Stephan Kulow
4297757352
Merge pull request #786 from coolo/take_legal_prio_from_obs
...
Follow the legaldb priority from OBS priority
2017-03-30 07:09:12 +02:00
Stephan Kulow
e79b551ccf
Follow the legaldb priority from OBS priority
2017-03-29 17:20:50 +02:00
Stephan Kulow
5058eae171
Have TTM work through openqa comments
...
Instead of having the known failures in a global file, have it local to the TTM
but allow users to interact with it through openqa comments.
Work flow:
- openQA tests and finds failures
- reviewers tag them with (support from automatic carry over)
- if they are in the ignore list, TTM will not do anything but ignore them
- if not, TTM will add label:unkown_failure to mark the issue blocking
a release
- the release manager adds @ttm ignore as comment for the TTM to
add the issue to its white list.
Only if all failures are labeled and marked as ignored, a snapshot is released
2017-03-29 14:24:11 +02:00
Ludwig Nussel
4067d0c925
Add server:php:extensions:php7 to whitelist (poo#18004)
2017-03-29 11:52:05 +02:00
Ludwig Nussel
c1b30dd3d6
clean up devel project whitelist
2017-03-29 11:52:05 +02:00
Jimmy Berry
f9c78a6638
adi: create accept comment to be consistent with letter stagings.
2017-03-28 23:02:38 -05:00
Jimmy Berry
1dfa8d2568
stagingapi: provide accept_status_comment() based on accept command.
2017-03-28 23:01:33 -05:00
Jimmy Berry
1ece7d6375
accept: remove unused requests list in perform().
2017-03-28 22:59:36 -05:00
Jimmy Berry
5a2cd2dc9a
osc-staging: handle select --move
cleanup of empty source project.
...
- handle build disable in select command just like comment instead of
stagingapi move_between_project() for consistency and to reduce double
checking the same information via extra API calls
- build_switch_staging_project() provides target_flag parameter rather
than trying to figure out flag value since caller has the context to
know and again reduces API calls
- build_switch_staging_project() checking conditions are essentially
checking if True is True since non-adi projects will always have ring
packages or rings disabled entirely. The condition of interest is
non-empty. Additionally adi projects are removed if empty so not a
terribly useful distinction to make.
- provide helper update_status_or_deactivate() to handle common logic
and replace in calling locations
2017-03-28 22:33:35 -05:00
Jimmy Berry
5185a7f569
stagingapi: invalidate get_open_requests() memoize cache after supersede.
2017-03-28 19:52:43 -05:00
Stephan Kulow
fbcaa624c4
Merge pull request #778 from coolo/add_legal
...
Add legal-auto bot talking to the legaldb API
2017-03-28 12:36:08 +02:00
Stephan Kulow
20d78d2853
Add legal-auto bot talking to the legaldb API
2017-03-28 12:21:09 +02:00