2411 Commits

Author SHA1 Message Date
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
Ludwig Nussel
5b61b92808 Merge pull request #684 from jberry-suse/leaper-comment-to-reviewbot
ReviewBot: refactor leaper comment from log functionality.
2017-02-15 09:59:32 +01:00
Ludwig Nussel
10d4abb077 Merge pull request #683 from jberry-suse/update_status_comments-dashboard
stagingapi: update_status_comments() include link to dashboard.
2017-02-15 09:56:32 +01:00
Ludwig Nussel
7502dbfff8 Merge pull request #689 from lnussel/ttm
Only output timestamps when run on tty
2017-02-15 09:54:07 +01:00
b1e781436c Adjust FCC_Submitter for 42.3 2017-02-14 21:03:03 +08:00
Ludwig Nussel
924d05b198 Merge pull request #657 from DimStar77/statedir
Announcer: put the state of the last version into /var/lib
2017-02-14 13:44:29 +01:00
Ludwig Nussel
e5c5a07c3b Merge pull request #686 from jberry-suse/document-staging-commands
osc-staging: add missing documentation and correct/clean existing
2017-02-14 13:40:02 +01:00
Ludwig Nussel
125eb4ddf3 Only output timestamps when run on tty
If not connected to a tty output probably goes to systemd's journal.
2017-02-14 13:30:14 +01:00
Ludwig Nussel
a5df36aaab Merge pull request #685 from jberry-suse/ReviewBot-super
ReviewBot: use super().check_source_submission() in subclasses.
2017-02-14 09:21:16 +01:00
Ludwig Nussel
a58a063c0f Merge pull request #682 from jberry-suse/check_source-self-submission
check_source: allow self-submission.
2017-02-14 09:20:18 +01:00
5289d80a18 Merge pull request #688 from nilxam/proper_status_comment
adi: Do not update status comment per request but project
2017-02-13 19:39:03 +08:00
9a322d712e adi: Do not update status comment per request but project 2017-02-13 18:11:20 +08:00