Skip to content

How to add a new salt extension to the repository #7

Answered by lkubb
dmurphy18 asked this question in Q&A
Discussion options

You must be logged in to vote

why not have copier do that ?

We're using the Copier CLI for simplicity (writing a dedicated interface by using it as a lib would be needless work imo). Since Copier templates are mostly declarative, we would need some ugly hacks to integrate the one-off extraction step into template rendering. We could bundle the script in the salt-extension-copier repository though to avoid having separate contact points.

don't correspond to those in copier [...] Wondering if that README would be better to have the directory creation part and then link to copier repo readme instructions

Yeah, that's suboptimal. Agreed about DRY, but I think we should centralize the docs on Salt extension creation/ex…

Replies: 4 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

dmurphy18
Aug 1, 2024
Maintainer Author

You must be logged in to vote
1 reply
@lkubb
Comment options

Answer selected by dmurphy18
Comment options

You must be logged in to vote
0 replies
Comment options

dmurphy18
Aug 21, 2024
Maintainer Author

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants