QA: Clarify the relationship between resources, products, and dependencies
@godfat started a discussion that brought up an issue that's been confusing me. It's not really clear what the relationship is between a Resource
, product
and dependency
.
I think a big part of the confusion is that there is one way to define and access an attribute of a resource if it's a resource (e.g., attr_reader :path
), and another way if it's a dependency (e.g., product :name
), even if the attribute should have the same value.
Documentation might help, but I wonder if there's a way to make the relationships clearer?