-
Notifications
You must be signed in to change notification settings - Fork 79
Open
Description
Distribution tool should be able to automatically include required packages, so users of distributions don't need to explicitly include dependencies that other packages require.
For example, if a package with the following requires section is included, then the generated distribution should include the latest apache_otel version that matches ^1.0.0, filelog_otel 1.0.0 and apache_input_otel 1.0.0.
requires:
content:
- package: apache_otel
version: "^1.0.0"
input:
- package: filelog_otel
version: "1.0.0"
- package: apache_input_otel
version: "1.0.0"
It should be possible to configure this behavior, with the following defaults:
dependencies:
types: [input, content]
constraint_match: latest
typesis the type of required packages to download, as only content packages are required in runtime, a user could settypes: [content]to avoid downloading required input packages.constraint_matchselects, for constraints, what version should be selected, can belatestfor the latest package that matches, andoldestfor the oldest package.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels