Artifactory automatically picks up on an RPM's "Requires:" tags for upstream dependencies and "Provides:" tags for downstream dependencies such that when an RPM is deployed to Artifactory, the tags are reflected as sections of the Artifact's "RPM Info" tab.
RPM has, since v4.12, supported weak and very weak upstream/downstream dependency tagging through the use of the "Recommends:", "Suggests:", "Supplements:", and "Enhances:" tags. Our use case would benefit from Artifactory reflecting these tags, and we are requesting their inclusion in the RPM Info tab alongside the regular dependencies. Specifically our system use case would benefit from this feature for reasons including the following:
- We need to be able to query (using AQL) for all upstream providers of a weak dependency, so we can install them into a full system configuration (if they exist). But unlike hard dependencies, a missing weak dependency isn’t considered an error.
- After selecting a set of packages (using AQL) to assemble into a full system configuration, we need to be able to query for unsatisfied weak dependencies of that system. This is used to produce a report for human consumption.
- We need to be able to query for all downstream consumers of a weak dependency, so we can determine impacts of changes to the upstream source.