This repository has been archived by the owner on Jul 30, 2020. It is now read-only.
Add collections lock file support (Fixes #173) #271
Merged
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
Add --collections-lock art to a 'collections lock'
Add support for 'collection lockfiles'.
A collections lock specifies a set of collections to install
and the version specs to match.
Fixes #173
Add collections_lock and collections_lockfile models.
Add ansible_galaxy.collections_lockfile with a yaml loader
for a collections lockfile.
Update cli and install action to use the collections lockfile.
The contents of collections lock file is a yaml file, containing a dictionary.
The dictitionary is the same format as the 'dependencies' dict in
galaxy.yml.
ie, The keys are collection labels (the namespace and name
dot separated ala 'alikins.collection_inspect').
The values is a version spec string. ie "*" or "==1.0.0".
Example contents of a collections lock file:
ISSUE TYPE
MAZER VERSION