Skip to content
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

Support Templating in Change Scripts #548

Open
theory opened this issue Sep 29, 2020 · 1 comment
Open

Support Templating in Change Scripts #548

theory opened this issue Sep 29, 2020 · 1 comment
Labels

Comments

@theory
Copy link
Collaborator

theory commented Sep 29, 2020

Add support for running deploy/verify/revert scripts through Template::Tiny or Template Toolkit, reading variable settings from a YAML or JSON file. Read in the scripts, run them through the template engine, write out a temporary file, have the database client run the temp file, then delete it.

@theory theory added the feature label Sep 29, 2020
@theory
Copy link
Collaborator Author

theory commented Sep 29, 2020

If want to use command-line options, need to figure out how to support both this functionality and --set. Maybe require a file with variables set? What about support in the Sqitch configuration?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant