2580 Commits

Author SHA1 Message Date
Ludwig Nussel
3cbe377b11 Merge pull request #768 from jberry-suse/cleanup-setprio
setprio: utilize project_status() and refactor to support list of stagings.
2017-03-20 15:41:01 +01:00
Ludwig Nussel
79a193ab78 Merge pull request #770 from jberry-suse/cleanup-obsolete-untracked
support --cleanup for obsolete and untracked requests in unselect and repair commands
2017-03-20 15:40:17 +01:00
Ludwig Nussel
99c358703f Merge pull request #765 from jberry-suse/cleanup-ignore
Cleanup ignore and always provide a comment.
2017-03-20 15:39:13 +01:00
Jimmy Berry
8ebe94bc5f stagingapi: get_ignored_requests() handle empty file. 2017-03-18 21:04:54 -05:00
Jimmy Berry
37ce041b9d repair: support the --cleanup flag to include all untracked requests. 2017-03-18 18:14:47 -05:00
Jimmy Berry
94a4629d2c unselect: support the --cleanup flag to include all obsolete requests. 2017-03-18 18:13:42 -05:00
Jimmy Berry
3505736fe0 stagingapi: project_status_requests() to extract all requests of type. 2017-03-18 18:06:51 -05:00
Jimmy Berry
b998a136bf Merge pull request #767 from jberry-suse/cleanup-check
Cleanup check command doc and extra argument
2017-03-18 17:21:21 -05:00
Jimmy Berry
e41c58cb3b stagingapi: refactor supersede logic and handle different source projects.
Primarily an issue for Leap in that requests originating from different
source projects may be submitted for the same package at once. Instead of
always superseding the previous request the request will only be
superseded if it originates from the same project.

If different sources md5s are found the request will be ignored and left
for manual review and an identical request will be declined.
2017-03-17 17:23:30 -05:00
Jimmy Berry
01868da548 stagingapi: do not attempt to supersede ignored requests. 2017-03-17 17:20:06 -05:00
Jimmy Berry
6669190e98 stagingapi: simplify finding action in superseded_request(). 2017-03-17 17:18:47 -05:00
Jimmy Berry
f5115930bc stagingapi: provide source_info_request() helper. 2017-03-17 17:17:58 -05:00
Jimmy Berry
8a33032c96 stagingapi: provide source_info() from ReviewBot. 2017-03-17 17:17:39 -05:00
Jimmy Berry
e1626db5e7 stagingapi: @memoize to get_ignored_requests() and get_open_requests().
Based on usage neither of these are refreshed during a single run, but
are called multiple times in function chains.
2017-03-17 17:16:49 -05:00
Jimmy Berry
76dc41ed45 ignore|uningore: use past tense in output. 2017-03-17 14:45:31 -05:00
Jimmy Berry
ee5f265265 ignore: add default comment message if none provided. 2017-03-17 14:44:27 -05:00
Jimmy Berry
12cd69c6ab ignore: remove validation since that is handled by RequestFinder. 2017-03-17 14:43:52 -05:00
Jimmy Berry
89c75ab227 unignore: add comment when a request is unignored.
Without a comment the only indication of when a request was unignored
is in the revision history of ignored_requests file.
2017-03-17 14:41:43 -05:00
Jimmy Berry
5927b2b283 unignore: utilize RequestFinder. 2017-03-17 14:41:11 -05:00
Jimmy Berry
d7e4cac7cb check: stagingapi.check_project_status() does not have verbose argument. 2017-03-17 14:13:34 -05:00
Jimmy Berry
bd8c4dea83 osc-staging: check command replace REPO with STAGING in doc. 2017-03-17 14:13:01 -05:00
Jimmy Berry
84e1b66cd8 setprio: utilize project_status() and refactor to support list of stagings.
The existing setup was inconsistent in that it was copied from check, but
documented that it supported multiple specific stagings. Assuming that
would be a desired feature anyway it has been reworked.
2017-03-17 14:11:55 -05:00
Ludwig Nussel
331ec53e72 Merge pull request #762 from jberry-suse/project-status-aggregate
stagingapi: utilize aggregate backend call wherever possible.
2017-03-17 15:00:10 +01:00
Ludwig Nussel
3158189c09 Merge pull request #744 from lnussel/setprio
Add setprio command
2017-03-17 11:17:50 +01:00
Ludwig Nussel
284bae9021 Merge pull request #761 from lnussel/repochecker
Prepare repochecker for Leap
2017-03-17 11:15:20 +01:00
Jimmy Berry
b4abfd8b58 stagingapi: refactor _get_staged_requests() to use project_status(). 2017-03-16 23:16:26 -05:00
Jimmy Berry
a0441417e1 tests: add missing project/staging_project staging U to summary. 2017-03-16 23:16:21 -05:00
Jimmy Berry
e17ee8cd53 stagingapi: handle empty string in load_prj_pseudometa(). 2017-03-16 22:42:28 -05:00
Jimmy Berry
959232e441 check: utilize project_status(). 2017-03-16 22:13:57 -05:00
Jimmy Berry
7b6ead4047 adi: utilize extract_staging_short() and project_status(). 2017-03-16 22:13:55 -05:00
Jimmy Berry
19a6d60c78 stagingapi: allow project_status() to utilize aggregate backend call. 2017-03-16 22:11:12 -05:00
Jimmy Berry
791d25046d stagingapi: correct spelling supseded_request() -> superseded_request(). 2017-03-16 18:33:40 -05:00
Jimmy Berry
7580e5504d stagingapi: allow staging to be None in project_status() to return all. 2017-03-16 14:35:12 -05:00
Ludwig Nussel
c2c9d2f40d Don't use hardcoded temp file name 2017-03-16 17:04:20 +01:00
Ludwig Nussel
866a28adad Prepare repochecker for Leap 2017-03-16 17:04:05 +01:00
Ludwig Nussel
6e0826801f Add setprio command
raise priority for requests in review
2017-03-16 14:43:28 +01:00
Ludwig Nussel
98e167d555 Merge pull request #742 from jberry-suse/select-proposal-move
osc-staging: --move and --from do not make sense with select proposal.
2017-03-16 10:41:42 +01:00
Ludwig Nussel
e985d45cb3 Merge pull request #743 from jberry-suse/strategy-devel-min-map
request_splitter: add group min map to devel strategy.
2017-03-16 10:41:24 +01:00
Ludwig Nussel
4a03f9ab73 Merge pull request #750 from jberry-suse/unselect-empty-staging-deactivate
unselect: cleanup stagings left empty after request removal.
2017-03-16 10:41:06 +01:00
Ludwig Nussel
67daf27c59 Merge pull request #760 from lnussel/reviewoptions
Add options for review team an release managers
2017-03-16 10:40:28 +01:00
Ludwig Nussel
7b71d5b738 Merge pull request #751 from jberry-suse/special-drop-python
special strategy: drop python*.
2017-03-16 10:40:13 +01:00
Ludwig Nussel
090943030b Merge pull request #745 from lnussel/manager
manager42 fixes
2017-03-16 10:39:50 +01:00
Ludwig Nussel
ffc5714b52 Merge pull request #756 from jberry-suse/leaper-self-submission
leaper: allow self submission.
2017-03-16 10:39:30 +01:00
Jimmy Berry
1c646a3c9c list: remove duplicate empty list handling for dispatch_open_requests(). 2017-03-15 15:49:06 -05:00
Jimmy Berry
21b887f5f2 leaper: allow self submission. 2017-03-15 15:08:21 -05:00
Ludwig Nussel
8194fa0934 Merge pull request #758 from DimStar77/check-deletes
Delete requests should be handled by repo checker
2017-03-15 17:34:36 +01:00
Ludwig Nussel
1af91580ac Add options for review team an release managers 2017-03-15 17:32:48 +01:00
d49761ec4d
Delete requests should be handled by repo checker
Repo-checker at least has some code to validate if it's safe to delete
a package and gives us the information what else we would break with it.

https://progress.opensuse.org/issues/17746
2017-03-15 15:44:59 +01:00
Ludwig Nussel
8707ceda4b Merge pull request #755 from nilxam/no_reason_ignore
Ignore has been declined request from whatever user submitted
2017-03-15 13:34:44 +01:00
eefb74149b Ignore has been declined request from whatever user submitted 2017-03-15 20:31:35 +08:00