-
Notifications
You must be signed in to change notification settings - Fork 904
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Manage package templates with a specially named package and special package folder #542
Comments
Manage package creation templates through regular choco commands. The package must have a specially named id ("*.template") and have a "templates" folder that contains the package template.
@ferventcoder is this referring to a Chocolatey Package? If so, which one? |
No packages exist for this yet that I know of. |
@ferventcoder gotcha, the way I read this issue, the default templates were going to ship as a package as well. My bad. |
;) |
Forgot one little bit - automation scripts under this folder should not be evaluated. |
Exclude templates folders from the search for the automation scripts.
Unfortunately nuspec can't be saved as nuspecs in a package. So the name of the nuspec will need to be *.nuspec.template for it to pack up nicely. Find that file and rename it to .nuspec on install.
Okay, there we go. |
It would be great to fix the default template outside of a Chocolatey release, so I give you https://chocolatey.org/packages/default.template. |
Woo hoo! 👍 |
That package fails on newest beta Or isn't it supposed to be installed? |
Did you miss the comment on the package page? It's expected to fail. |
Thought the validator/verifier were expected to fail... |
@aronovgj I just pushed a new beta that should not fail on this. It's still under automated review though. Be sure to check the package page for when it is available. |
👍 worked |
- Adding back in chocolateyGH-560 - loading modules from known location (90d53ee) - Adding back in chocolateyGH-542 - not running templated scripts (d5f09bf)
Package should be named ".template" - folder name is templates.
The text was updated successfully, but these errors were encountered: