43 Commits

Author SHA1 Message Date
Jimmy Berry
92a3a28ac9 Merge pull request #1121 from jberry-suse/set_bugowner
Handle set_bugowner requests to avoid mixing them where they do not belong
2017-09-13 21:17:44 -05:00
Jimmy Berry
77e70feef7 osclib/list: rework change_devel_requests to include set_bugowner.
Since set_bugowner requests are essentially equivalent to Factory
change_devel requests they should be presented in the same manor.
2017-08-31 16:35:30 -05:00
Jimmy Berry
4234706f30 osclib/list: only present submit and delete requests in main list. 2017-08-31 16:35:30 -05:00
Jimmy Berry
34dc6e73e6 osclib/list: strip openSUSE.org: prefix from source projects to reduce verbosity. 2017-08-31 16:22:02 -05:00
Jimmy Berry
4deab19da8 osclib/list: remove SUSE:SLE from hide_source now that devel groupings are used. 2017-08-31 16:21:56 -05:00
Jimmy Berry
213ebdb702 list: hide source project for SLE now that devel falls back to source. 2017-06-15 15:52:42 -05:00
Jimmy Berry
afaf794398 list: do not include parenthesis in delete request color. 2017-06-14 22:07:04 -05:00
Jimmy Berry
20751a997d list: s/is_factory/not_factory/ to correct variable name. 2017-05-11 16:02:19 -05:00
Jimmy Berry
f2dd455d13 list: correct ring-0 spacing by separating the color from value. 2017-05-11 16:01:41 -05:00
Jimmy Berry
9ae63cff62 list: color source_project. 2017-04-28 10:21:52 -05:00
Jimmy Berry
22ec112225 list & adi: share common stagingapi.ignore_format(). 2017-04-28 10:21:50 -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
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
1c646a3c9c list: remove duplicate empty list handling for dispatch_open_requests(). 2017-03-15 15:49:06 -05:00
Jimmy Berry
a6d7716eb0 osclib: wrap ignored request reason with str() to handle None. 2017-03-03 14:57:16 -06:00
Jimmy Berry
08f2218574 request_splitter: list: remove case for delete request without ring.
This case should no longer exist as non-ring requests will have already
be separated out of this loop.
2017-02-08 13:20:36 -06:00
Jimmy Berry
f42358eaad request_splitter: move @devel_project to action/target.
With the source no longer being checked for devel project and the fact
that delete requests and such will not have source, but make sense to
have a devel project moving to target makes more sense.
2017-02-01 08:09:01 -06:00
Jimmy Berry
69f662685c Add RequestSplitter for common filtering and grouping or requests.
- re-implement list and adi commands using RequestSplitter
- numerous small cleanups and clarity improvements
- notably, adi now prints similar output to select when adding requests
- lxml is needed to provide more fully-featured xpath implementation
2017-01-24 22:21:10 -06:00
Jimmy Berry
6a521fc063 Correct indentation level of in requests_ignored check.
In the previous state this worked for any project except factory, now it
works on factory too.
2017-01-12 16:14:33 -06:00
Jimmy Berry
b25fda9b47 Provide ignore/unignore request staging commands.
It is not uncommon for a request to be in a pending state which requires
action beyond the scope of the staging workflow, but does not make sense
to deny the request. For lack of a "postponed" or "pending" state on OBS
a sudo-state of "ignore" is provided for the staging workflow. The ignore
state will remove a request from the "list" and "adi" commands so as not
to be accidentally staged. This avoids the need for keeping a context of
what requests should be ignored in one's memory.

It is expected that an ignored request will have comments reflecting what
is to be done or one should be added via the -m option of ignore command.
2017-01-11 18:32:23 -06:00
d6e845231a Ignore add_role request in the list command 2016-08-23 16:58:44 +08:00
Ludwig Nussel
41b189b5f5 For non-Factory statings show origin of requests 2016-07-29 10:28:58 +02:00
335089ac61 Displays as Ring0 package if the subpackage was linked to Ring1
If the package was linked to Ring1 from Ring1, staging list command
should display it as Ring0 package ie. it's only be able to puts in
ring0 staging project. This is work out
https://progress.opensuse.org/issues/8266
2016-06-13 16:54:01 +08:00
Ludwig Nussel
4c43fe5c87 Group staging list by devel project 2016-06-07 15:12:02 +02:00
a3f59150af Do not superseding requests with list command
Do not superseding requests with list command, but if had the permission
of staging, can executing with --supersede argument, or even against
specific requests.
2015-10-01 19:59:40 +08:00
dc5e797df1 list all deletereq request as in-ring 2015-09-09 16:18:20 +08:00
62a1946064 split the view for change_devel requests 2015-09-09 15:11:47 +08:00
Stephan Kulow
77e9276340 no longer accept non-ring packages but show them in list 2015-07-16 12:42:25 +02:00
Alberto Planas
8308eaab14 Small changes for SLE integration. 2015-03-24 14:46:36 +01:00
29b8bcca6b Makes staging pluging Factory agnostic. 2014-08-07 12:58:47 +02:00
Tomáš Chvátal
24bf0341be Refactory list command using the api so we can use it in other commands too. 2014-03-06 11:43:21 +01:00
Stephan Kulow
783cf708c0 fix more things for the list command 2014-03-06 09:54:12 +01:00
Stephan Kulow
18fb2d9e8c fix list_command 2014-03-05 20:26:27 +01:00
Michal Hrusecky
60d5c26854 More comments 2014-03-05 13:03:58 +01:00
Michal Hrusecky
555fc07888 Improve list command
List command now also replace superseded requests with their newer counterparts.
2014-03-05 11:12:36 +01:00
1e0b8e920d Remove dead and commented code 2014-02-28 13:12:12 +01:00
780073f6d8 Fix headers and comment dead code. 2014-02-28 11:45:06 +01:00
Michal Hrusecky
ef8f61ec3f Whitespace fix 2014-02-19 20:05:01 +01:00
Stephan Kulow
a1ad96579f simplify osc staging list output 2014-02-19 17:27:03 +01:00
Stephan Kulow
aa2765c423 moving list command into a file on its own (issue 1591)
Removed accept - which is broken anyway and needs to be redone (issue 1479)
2014-02-18 14:28:45 +01:00