Bug 725465 - Filter tasks by destructiveness
Summary: Filter tasks by destructiveness
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Beaker
Classification: Retired
Component: command line
Version: 0.6
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Bill Peck
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 707152
TreeView+ depends on / blocked
 
Reported: 2011-07-25 15:07 UTC by Petr Šplíchal
Modified: 2019-05-22 13:40 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-08-12 02:43:52 UTC
Embargoed:


Attachments (Terms of Use)

Description Petr Šplíchal 2011-07-25 15:07:35 UTC
Description of problem:

When scheduling a set of tasks based on a related package it is
essential to be able to select non-destructive tasks only. From
the Beaker source it seems currently only the following values are
accepted:

    The *filter* argument must be an XML-RPC structure (dict),
    with any of the following keys:

        'install_name'
        'osmajor'
        'names'
        'packages'
        'types'
        'valid'

Please, implement "destructive" field as well. Thanks.

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

Steps to Reproduce:
self.workflow.hub.tasks.filter(
        dict(packages=["wget"], valid=True, destructive=False))

Comment 1 Bill Peck 2011-08-01 20:01:40 UTC
pushed to gerrit for review.

Comment 3 Dan Callaghan 2011-08-08 00:54:20 UTC
I think this feature is working properly. But the problem is, even though Beaker has a column for "destructive", it looks like we are never populating it from testinfo.desc. :-(

Comment 4 Raymond Mancy 2011-08-10 00:07:15 UTC
Hi Petr, We'll close this off and mark 729257 for the next minor version release (which will be 0.7.x)


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