Bug 747308

Summary: [RFE] wallaby lint: warn when including and depending on the same feature
Product: Red Hat Enterprise MRG Reporter: Lubos Trilety <ltrilety>
Component: wallabyAssignee: grid-maint-list <grid-maint-list>
Status: CLOSED WONTFIX QA Contact: MRG Quality Engineering <mrgqe-bugs>
Severity: low Docs Contact:
Priority: low    
Version: DevelopmentCC: matt
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-05-26 20:10:01 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Lubos Trilety 2011-10-19 13:09:37 UTC
Description of problem:
In wallaby store there should be no feature which includes the same feature as it depends on. Wallaby should discourage any action which could lead to such situation.

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


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Will Benton 2011-11-22 13:51:47 UTC
We've made the decision that feature dependencies can be satisfied by immediate or transitive inclusion.  Since it is possible that features in the field rely on this behavior, we'd need a very good reason to break the old functionality.  Is there such a reason?

Comment 2 Lubos Trilety 2011-11-22 15:38:00 UTC
OK, agreed, wallaby doesn't necessary have to forbid such action, but at least it could print some warning if it happens.

Comment 3 Will Benton 2011-11-22 16:39:36 UTC
This is a job for the "wallaby lint" tool that we've talked about in the past; I'm marking this bug as such.