2522 Commits

Author SHA1 Message Date
Jimmy Berry
a6d7716eb0 osclib: wrap ignored request reason with str() to handle None. 2017-03-03 14:57:16 -06:00
Ludwig Nussel
a9fb871263 Merge pull request #704 from jberry-suse/unignore-cleanup
osc-staging: provide --cleanup option for unignore.
2017-03-03 16:46:59 +01:00
Jimmy Berry
c6b37d60ab osc-staging: provide --cleanup option for unignore. 2017-03-02 15:38:12 -06:00
Ludwig Nussel
9d322ee501 Merge pull request #694 from jberry-suse/leaper-automatic-submission-note
leaper: notify submit request authors of automatic submission.
2017-03-01 10:29:46 +01:00
41b79ddfc5 Merge pull request #701 from DimStar77/link-on-adiprj
Add a link to the dashboard of the respective adi project being created
2017-03-01 16:42:02 +08:00
Jimmy Berry
27a6772dce request_splitter: add strategy_do_non_bootstrapped().
Utilize in select command to fallback to none strategy and also excluded
packages that require bootstrapping.
2017-03-01 01:08:23 -06:00
Jimmy Berry
17147acb15 request_splitter: add @postponed concept.
This allows for high priority strategies that were unable to be staged
this round to be postponed until there is a staging available.
2017-03-01 01:08:23 -06:00
Jimmy Berry
ad4d93a5b4 request_splitter: rework internals to support merge and strategies.
- reworked internal representation of stagings to be more flexible
- new considerable staging state of mergeable based on set of conditions
- multiple proposal stages can be combined to create one proposal
- proposals may now fail to find every group a home without stopping
- splitter_info is stored when first request in an empty staging is staged
  to allow for automated merging into that staging
- strategy concept introduced along with several strategies
- strategy_try() concept for applying multiple strategies and keeping
  desirable groups which provides a solid basis for making smart decisions
- merge() introduced for merging new requests into existing stagings
- various internal cleanups along the way

functionality exposed via osc-staging:
- new options: --merge, --try-strategies, --strategy
- splitter info written when not merging

stagingapi: add set_splitter_info_in_prj_pseudometa().
2017-03-01 01:08:23 -06:00
Jimmy Berry
67d274e6eb request_splitter: extract is_staging_bootstrapped(). 2017-03-01 01:08:23 -06:00
Jimmy Berry
4d08331250 request_splitter: rework stagings_load() to be public facing.
Notify user and exit early if not stagings worth considering.
2017-03-01 01:08:23 -06:00
Jimmy Berry
3d3f0469a4 request_splitter: only supliment a request once. 2017-03-01 01:08:23 -06:00
Jimmy Berry
31ba1a1b7b osc-staging: select: correct documentation example missing bracket. 2017-03-01 01:08:23 -06:00
Jimmy Berry
a2a1d21f70 osc-staging: splitter: improve staging message and variable name. 2017-03-01 01:08:22 -06:00
Jimmy Berry
5d4ecedc82 osc-staging: splitter: move interactive invalidation check.
More appropriate to place inside --interactive check since that is the
only time the invalidation check should be needed. Also better since the
user is presented with a more accurate picture of what is to be done.
2017-03-01 01:08:22 -06:00
Jimmy Berry
8691226b82 osc-staging: splitter: check if no open requests. 2017-03-01 01:08:22 -06:00
Jimmy Berry
2a1b221e44 stagingapi: provide project_status_build_{percent,sum,sum_repos}(). 2017-03-01 01:08:22 -06:00
Jimmy Berry
e8008c4ee6 stagingapi: break out project_status() from check_project_status().
The status information can be useful outside of just checking acceptable.
2017-03-01 01:08:22 -06:00
Jimmy Berry
8198193196 stagingapi: utilize get_prj_meta() in set_prj_pseudometa(). 2017-03-01 01:08:16 -06:00
Jimmy Berry
172012f2c4 stagingapi: break out load() from get_prj_pseudometa().
The project meta can also be returned by other calls and can be handy to
load separately rather than make a needless API call.
2017-03-01 01:05:51 -06:00
Jimmy Berry
bfde256a6d stagingapi: drop prefix assignment in get_staging_projects_short(). 2017-03-01 01:05:51 -06:00
Jimmy Berry
be31ce05e4 stagingapi: get_staging_projects_short() exclude non-letter stagings. 2017-03-01 01:05:51 -06:00
Jimmy Berry
02b4958fe0 stagingapi: add clear_prj_pseudometa() and call after accept.
This ensures that the pseudometa data is fully reset and allows for
optional information to be added without risk of leaving it behind.
2017-03-01 01:04:57 -06:00
Jimmy Berry
4fb3058f93 select: provide --non-interactive option to skip proposal confirmation. 2017-03-01 00:28:15 -06:00
916a56764f
Add a link to the dashboard of the respective adi project being created 2017-02-22 11:02:38 +01:00
Martin Pluskal
6e28563f42 Merge pull request #700 from fschilling/upd_kgr_hostlist
Add kGraft24 and kGraft0j, remove now unsupported SUTs
2017-02-18 11:43:03 +01:00
Jimmy Berry
134d340dcf leaper: notify submit request authors of automatic submission. 2017-02-17 09:56:41 -06:00
schillingf
66952bc100 Add kGraft{24,0j}, remove now unsupported SUTs
* Add kGraft24
* Add kGraft0j
* Remove kgraft-guests which served kernels that are now out of live-
  patching support
2017-02-17 16:28:26 +01:00
Ludwig Nussel
c6f4f4472e Merge pull request #693 from jberry-suse/leaper-unhandled
ReviewBot & leaper: provide deduplicate method for leaper comment (and other fixes)
2017-02-17 14:08:20 +01:00
Ludwig Nussel
0bebfe42dc Merge pull request #695 from jberry-suse/unselect-ignore-suggest
unselect: suggest marking a request ignored if eligible to restage.
2017-02-17 14:06:21 +01:00
Ludwig Nussel
b955c1174c Merge pull request #679 from jberry-suse/tags-delete-warn
check_tags: warn when issue references are removed (plus other fixes)
2017-02-17 14:04:42 +01:00
Ludwig Nussel
650d260912 Merge pull request #692 from jberry-suse/ReviewBot-botname
ReviewBot: extract __class__.__name__ as default for self.bot_name.
2017-02-17 14:03:24 +01:00
d49ede23a9 Merge pull request #697 from nilxam/gcc7_iso
Gcc7 staging also are a valid project to generate packagelist
2017-02-16 19:51:07 +08:00
Ludwig Nussel
b13f0b1962 Merge pull request #696 from nilxam/upload_skip_list
Load the skip pkgs list from OBS instead
2017-02-16 12:50:41 +01:00
d6fafa4dea Gcc7 and PIE staging also are a valid project to generate packagelist 2017-02-16 19:29:20 +08:00
14256758fa Load the skip pkgs list from OBS instead 2017-02-16 18:42:27 +08:00
2236096192 Merge pull request #691 from nilxam/check_pre_ver
Do not add the package exists in the previous version
2017-02-16 16:32:27 +08:00
Jimmy Berry
8ebf07b139 unselect: suggest marking a request ignored if eligible to restage. 2017-02-15 21:46:28 -06:00
Jimmy Berry
87cb5c2ab0 ReviewBot: drop duplicate import namedtuple. 2017-02-15 10:01:36 -06:00
Jimmy Berry
748fce38cc ReviewBot & leaper: provide deduplicate method for leaper comment.
Otherwise, leaper will indicate an unhandled request twice.
2017-02-15 10:01:20 -06:00
Jimmy Berry
dcf435430c leaper: utilize ReviewBot check_action__default() message. 2017-02-15 09:45:18 -06:00
Jimmy Berry
23d4a7a6a5 ReviewBot: check_action__default() should return None not set ret. 2017-02-15 09:44:31 -06:00
Jimmy Berry
b0f4a5fe2b leaper: drop extra definition of check_action__default().
The second definition being the current behavior and added later would seem
to be the desired implementation.
2017-02-15 09:05:45 -06:00
Jimmy Berry
8e842e507c check_tags: grammatical corrections. 2017-02-15 08:12:15 -06:00
Jimmy Berry
dfd98dab30 check_tags: warn when issue references are removed. 2017-02-15 08:12:15 -06:00
Jimmy Berry
7ddd4287e1 check_tags: use len() instead of list() since only count is of interest. 2017-02-15 08:12:15 -06:00
Jimmy Berry
c1fde90c64 check_tags: correct backwards diff.
Issues added in a request show as removed and visa versa.
2017-02-15 08:12:15 -06:00
Jimmy Berry
1ab3f846a5 check_tags: handle failed to load issue diff for existing package.
The previous code would crash on ET.parse(f) when the request failed
and the package existed.
2017-02-15 08:12:13 -06:00
Jimmy Berry
de9f94cae5 ReviewBot: extract __class__.__name__ as default for self.bot_name.
Allow future bots to change the name used to represent the bot.
2017-02-15 07:55:35 -06:00
f45fb1fd62 Do not add the package exists in the previous version 2017-02-15 19:08:46 +08:00
Ludwig Nussel
b3129e9353 Merge pull request #690 from nilxam/adjust_fcc_423
Adjust FCC_Submitter for 42.3
2017-02-15 10:02:19 +01:00