Bug 831551

Summary: [RFE] bkr distros-list --tag wildcard support
Product: [Retired] Beaker Reporter: Ales Zelinka <azelinka>
Component: command lineAssignee: beaker-dev-list
Status: CLOSED WONTFIX QA Contact: tools-bugs <tools-bugs>
Severity: low Docs Contact:
Priority: low    
Version: 0.8CC: bpeck, cbouchar, mjia, stl, tools-bugs, xtian
Target Milestone: ---Keywords: EasyFix, FutureFeature, Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: Misc
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-11-19 22:08:31 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ales Zelinka 2012-06-13 09:42:24 UTC
distro searching by tag doesn't support wildcards:

bkr distros-list --help
Usage: bkr distros-list

Options:
  -h, --help                     show this help message and exit
  --username=USERNAME            specify user
  --password=PASSWORD            specify password
  --limit=LIMIT                  Limit results to this many (default 10)
  --tag=TAG                      filter by tag
  --name=NAME                    filter by name, use % for wildcard
  --treepath=TREEPATH            filter by treepath, use % for wildcard
  --labcontroller=LABCONTROLLER  filter by lab controller, use % for wildcard
  --family=FAMILY                filter by family
  --arch=ARCH                    filter by arch


Please implement wildcard search for tag too. 

use-case: searching for latest release candidate for rhel-6.3. The distros are tagged as RHEL-6.3-RC-X, where X starts as 1 and is incremented with every new compose (currently at 3). I'd like to be able to run

bkr distros-list --tag RHEL-6.3-RC-% 

and then pick the newest distro.

Comment 1 Nick Coghlan 2012-10-17 04:37:01 UTC
Bulk reassignment of issues as Bill has moved to another team.

Comment 3 matt jia 2016-10-18 00:16:52 UTC
We have supported wildcard in distro name in bug 1200427, so we will do the same for --tag here as well.