Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

whatprovides - allow multiple package selection #156

Open
jmoalves opened this issue May 16, 2023 · 0 comments
Open

whatprovides - allow multiple package selection #156

jmoalves opened this issue May 16, 2023 · 0 comments
Labels
enhancement New feature or request question Further information is requested

Comments

@jmoalves
Copy link
Owner

Allow a recipe to require a capability, something that multiple packages would be able to provide.

For instance, we could have the following packages:

  • node-10
  • node-12
  • node-18

providing the capability node.

We could have another recipe with the following dependencies:

  • node

Any package listed above will be able to fulfill this.

Questions:

  • How to choose one of them if none is mentioned in the dependency list?
  • Should we provide a "default" declaration?
  • What if we have multiple "defaults"?

This issue is something like the whatprovides capabilty in rpm.
http://ftp.rpm.org/max-rpm/s1-rpm-query-parts.html#S3-RPM-QUERY-WHATPROVIDES-OPTION

@jmoalves jmoalves added enhancement New feature or request question Further information is requested labels May 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant