Bug 725465

Summary: Filter tasks by destructiveness
Product: [Retired] Beaker Reporter: Petr Šplíchal <psplicha>
Component: command lineAssignee: Bill Peck <bpeck>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 0.6CC: bpeck, dcallagh, mcsontos, ohudlick, rmancy, stl
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-08-12 02:43:52 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 707152    

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)