-
-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Feature Request: File-Based Version Constraints
Description
Add support for reading version constraints from external files using a path notation in the extractPath property of the Download action configuration. This allows dynamically referencing version constraints from project files (like composer.json).
Use Case
When a project already defines version constraints in standard files (like composer.json), users should be able to reference those constraints without duplicating them in the DLoad configuration.
Implementation Details
Syntax
Allow the extractPath property to accept file paths in the format:
Example:
This would extract the version constraint from the require.temporal/sdk property in the composer.json file.
Behavior
- When both
versionandextractPath(in file reference format) are specified, both constraints should be applied when matching versions. - The file path resolver should support multiple nesting levels with dot notation to traverse JSON/YAML structures.
- Handle gracefully if the file doesn't exist or the property path doesn't resolve.
Example Configuration
<download
software="temporal"
extractPath="[email protected]/sdk"
/>Metadata
Metadata
Assignees
Labels
No labels