Skip to content

Commit

Permalink
Merge b2c2fee into 56df1cf
Browse files Browse the repository at this point in the history
  • Loading branch information
jberry-suse committed Feb 7, 2018
2 parents 56df1cf + b2c2fee commit 80e4ccc
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions osc-staging.py
Expand Up @@ -237,19 +237,27 @@ def do_staging(self, subcmd, opts, *args):
Requests may either be the target package or the request ID.
When using --filter-by or --group-by the xpath will be applied to the
request node as returned by OBS. Several values will supplement the
normal request node.
request node as returned by OBS. Use the following on a current request
to see the XML structure.
osc api /request/1337
A number of additional values will supplement the normal request node.
- ./action/target/@devel_project: the devel project for the package
- ./action/target/@devel_project_super: super devel project if relevant
- ./action/target/@ring: the ring to which the package belongs
- ./@ignored: either false or the provided message
- ./@aged: either True or False based on splitter-request-age-threshold
- ./@nonfree: set to nonfree if targetting nonfree sub project
- ./@ignored: either False or the provided message
Some useful examples:
--filter-by './action/target[starts-with(@package, "yast-")]'
--filter-by './action/target/[@devel_project="YaST:Head"]'
--filter-by './action/target[starts-with(@ring, "1")]'
--filter-by '@id!="1234567"'
--filter-by 'contains(description, "#Portus")'
--group-by='./action/target/@devel_project'
--group-by='./action/target/@ring'
Expand Down Expand Up @@ -278,6 +286,7 @@ def do_staging(self, subcmd, opts, *args):
Built in strategies may be specified as well. For example:
select --strategy devel
select --strategy quick
select --strategy special
select --strategy super
Expand Down

0 comments on commit 80e4ccc

Please sign in to comment.