This repository has been archived by the owner on Mar 3, 2023. It is now read-only.
Make stacks metadata for dependencies dependent on version #179
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
In the process of trying to support Jammy Jellyfish in Paketo we need to test whether existing dependencies are compatible with Jammy. I've found that .NET 3.1 is not compatible with the Jammy Jellyfish, but .NET 6.0 is. For this reason, the
stacks
metadata for .NET dependencies must be more flexible; it must depend on the version of the dependency, not just the ID. I've updated the workflow template data schema and thetest-and-upload-metadata.yml
workflow to support this use case.While this PR will ultimately generate a diff in all dependencies'
*-test-and-upload-metadata.yml
, it's intended not to change the behaviour of the metadata upload step EXCEPT for .NET dependencies; the output metadata for all other dependencies should look exactly the same. It also sets us up to add version constraints to other dependencies+stacks as needed, as we roll out Jammy support.Use Cases
Checklist