Bug 1277340 - bkr job-list --whiteboard should filter on whiteboard *substring* not exact match
Summary: bkr job-list --whiteboard should filter on whiteboard *substring* not exact m...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Beaker
Classification: Retired
Component: command line
Version: 21
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: 21.2
Assignee: Dan Callaghan
QA Contact: tools-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-11-03 05:46 UTC by Dan Callaghan
Modified: 2015-11-23 03:53 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-11-23 03:53:11 UTC
Embargoed:


Attachments (Terms of Use)

Description Dan Callaghan 2015-11-03 05:46:46 UTC
Description of problem:
According to the man page for bkr job-list, the --whiteboard option should filter by substring. However in 21.1 it only filters on exact matches.

Version-Release number of selected component (if applicable):
21.1

How reproducible:
easily

Steps to Reproduce:
1. Use bkr job-list to find some jobs using a substring of the whiteboard, for example if there is a job "Provision xyz.example.com" run "bkr job-list --whiteboard Provision"

Actual results:
Nothing matches

Expected results:
Command should list jobs matched on substring of whiteboard

Additional info:
Regression in 21.1 due to bug 1229937.

Comment 2 Dan Callaghan 2015-11-03 06:09:00 UTC
The original version (before 21.1) also allowed SQL LIKE wildcards in the whiteboard substring. Probably this was just an implementation accident, it's not documented anywhere. But people might still be relying on it so we should preserve that too.

Comment 3 Dan Callaghan 2015-11-03 06:12:01 UTC
http://gerrit.beaker-project.org/4472

Comment 6 matt jia 2015-11-23 03:53:11 UTC
Beaker 21.2 has been released.


Note You need to log in before you can comment on or make changes to this bug.