Repository navigation
feat(image): add the copier program - #43
Merged
Merged
Conversation
Debian sid has no copier package, so copier 9.19.1 comes from the hashed uv lock of python/ in a virtual environment of its own, like pre-commit and semgrep. osv-scanner scans its lock file, and test/tools.sh runs copier --version.
Owner
Author
|
Review point for the owner: the source of copier. The issue says "with apt when Debian sid has a current version, else with mise". This PR uses the hashed uv lock of
The virtual environment of copier holds Person steps: none. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
The image has the
copierprogram (copier 9.19.1).devops repos onboardof devops-cli uses this program to render the repository template of dan-petty/infra. devops-cli does not import the Copier library, because the library needsjinja2-ansible-filters, which is GPL3.Debian sid has no copier package, so apt cannot install it. copier is a Python tool, so it uses the source of the Python tools of the image:
python/copier.innamescopier==9.19.1, andpython/copier.txtis its universal lock with the hash of each wheel forlinux/amd64andlinux/arm64. Renovatepip-compileupdates the two files.python-toolsstage installs copier in its own virtual environment,/usr/local/lib/devtools/copier, with--require-hashesand no source build. The last stage links thecopiercommand into/usr/local/bin.image.ymlscanspython/copier.txt.test/tools.shrunscopier --version.README.md now says which source installs a tool that sid does not have: mise for a binary tool,
python/for a Python tool and npm for a Node tool.Closes #42