Closed jhidding closed 11 months ago
First cookiecutter template is available here: https://github.com/entangled/template-mkdocs
What are the pre-requisites in the template list? Do you want to have "unsafe=True" by default for copier?
List of software that should be available. For our own 'vetted' templates its ok to have unsafe=True
, for others I think better not. May need to add a --trust
flag to the new
command for that.
What are the pre-requisites in the template list? Do you want to have "unsafe=True" by default for copier?
Bit late to the party, but: for the vetted templates, wouldn't you also want to record the vetted versions (e.g. commit hash or release tag)? Or do you vet only templates that you are sure will never be maliciously changed?
That's a good point! That way we can have community participation with a bit of control.
Use
copier
to access project templates. Templates should be registered in a separate repoentangled/template-registry
.entangled new <template-name>
entangled new gh:<github-url>
entangled new --list-templates
There should be a list of vetted templates inside entangled (the ones that are listed by
--list-templates
). These should contain the following info:not now:
It may be easiest to have the registry act as a Python package installed straight from github.
Another package that also does updating of templates:
copier
.