Red Hat Bugzilla – Bug 831551
[RFE] bkr distros-list --tag wildcard support
Last modified: 2016-10-17 20:16:52 EDT
distro searching by tag doesn't support wildcards:
bkr distros-list --help
Usage: bkr distros-list
-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.
Bulk reassignment of issues as Bill has moved to another team.
We have supported wildcard in distro name in bug 1200427, so we will do the same for --tag here as well.