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

Run all migrations in Python script #59

Merged
merged 2 commits into from
Sep 27, 2024

Conversation

lkubb
Copy link
Member

@lkubb lkubb commented Sep 27, 2024

  • Adds migration helpers and dedicated script running in both before and after stages
  • Removes copier_python from context since it's already set by Copier in _copier_python and not available in before migrations for some reason
  • Makes the Copier helper independent of the current working directory, increasing robustness
  • Adds two new migrations and replaces the previous one, which depended on GNU CLI tools being available

* Adds migration helpers and dedicated script running in both before and
  after stages
* Removes `copier_python` from context since it's already set by Copier
  in `_copier_python` and not available in `before` migrations for some
  reason
* Makes the Copier helper independent of the current working directory,
  increasing robustness
* Adds two new migrations and replaces the previous one, which depended
  on GNU CLI tools being available
@lkubb lkubb merged commit 827c406 into salt-extensions:main Sep 27, 2024
9 checks passed
@lkubb lkubb deleted the migrations-helper branch September 27, 2024 21:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant