-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
backport of PR #1257 for release/v1.1: rewrite pre-commit, post-commit and options hooks #1376
Conversation
…e shell script that does not require custom hooks to be a sh-script
I kept the version name |
keep v26 or change it to v23 will both make it impossible to upgrade from v1.1.1 to v1.2. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We cannot change db version in stable branches
models/migrations/migrations.go
Outdated
@@ -94,6 +94,8 @@ var migrations = []Migration{ | |||
NewMigration("rewrite authorized_keys file via new format", useNewPublickeyFormat), | |||
// v21 -> v22 | |||
NewMigration("generate and migrate wiki Git hooks", generateAndMigrateWikiGitHooks), | |||
// v23 -> v24 | |||
NewMigration("generate and migrate repo and wiki Git hooks", generateAndMigrateGitHookChains), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No migrations can be allowed in 1.1 branch
Ok, so no migration for 1.1. I removed the questionable parts. |
LGTM |
So we have to add a notice on Release Notes that if he cannot work on other script type hook, he should click the |
This is another reason why I want to change the way migrations work 🙂 Add a release-file in |
Oh, I found a new use for my |
@bkcsoft let's move the changelog thing after v1.2 |
See #1257