Bug 747308 - [RFE] wallaby lint: warn when including and depending on the same feature
Summary: [RFE] wallaby lint: warn when including and depending on the same feature
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: wallaby
Version: Development
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: ---
Assignee: grid-maint-list
QA Contact: MRG Quality Engineering
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-19 13:09 UTC by Lubos Trilety
Modified: 2016-05-26 20:10 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-05-26 20:10:01 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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.


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