[PR #1376] [MERGED] backport of PR #1257 for release/v1.1: rewrite pre-commit, post-commit and options hooks #15885

Closed
opened 2025-11-02 11:56:51 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/1376
Author: @philfry
Created: 3/23/2017
Status: Merged
Merged: 3/28/2017
Merged by: @lunny

Base: release/v1.1Head: fix_hooks_11


📝 Commits (8)

  • 6be2f34 issue #1250, replace {pre,post}-receive and update hooks with a single shell script that does not require custom hooks to be a sh-script
  • 11082ae issue #1250, make script posix compilant
  • d790482 v23, add migration script to update {pre,post}-receive and update hooks
  • e5ff832 migration: use a more common name and rename v23 to v26 to avoid conflicts
  • f62e8e2 gofmt'ed and added copyright header
  • e01bf52 fix SyncRepositoryHooks to also sync wiki repos
  • 7e52f01 no migration for you.
  • 44e98ba Merge branch 'release/v1.1' into fix_hooks_11

📊 Changes

1 file changed (+7 additions, -6 deletions)

View changed files

📝 models/repo.go (+7 -6)

📄 Description

See #1257


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/go-gitea/gitea/pull/1376 **Author:** [@philfry](https://github.com/philfry) **Created:** 3/23/2017 **Status:** ✅ Merged **Merged:** 3/28/2017 **Merged by:** [@lunny](https://github.com/lunny) **Base:** `release/v1.1` ← **Head:** `fix_hooks_11` --- ### 📝 Commits (8) - [`6be2f34`](https://github.com/go-gitea/gitea/commit/6be2f3412e5bebdd368ba29a4904ef5268f6d453) issue #1250, replace {pre,post}-receive and update hooks with a single shell script that does not require custom hooks to be a sh-script - [`11082ae`](https://github.com/go-gitea/gitea/commit/11082ae246f992c799b815ca109a2ea6988b32a1) issue #1250, make script posix compilant - [`d790482`](https://github.com/go-gitea/gitea/commit/d79048285aa91f6e0f6a49e1f36022de3d5a6d41) v23, add migration script to update {pre,post}-receive and update hooks - [`e5ff832`](https://github.com/go-gitea/gitea/commit/e5ff83272b9a8c305c2524d15fec35bb4bf2e4be) migration: use a more common name and rename v23 to v26 to avoid conflicts - [`f62e8e2`](https://github.com/go-gitea/gitea/commit/f62e8e253e65ab556defebbaa0c6ad77946c3876) gofmt'ed and added copyright header - [`e01bf52`](https://github.com/go-gitea/gitea/commit/e01bf52fb9e85da3539ae565f765972c8df8f660) fix SyncRepositoryHooks to also sync wiki repos - [`7e52f01`](https://github.com/go-gitea/gitea/commit/7e52f013a35615abe67a8d50383233943fe347ae) no migration for you. - [`44e98ba`](https://github.com/go-gitea/gitea/commit/44e98ba97374524a101f7da00c654721a11334d1) Merge branch 'release/v1.1' into fix_hooks_11 ### 📊 Changes **1 file changed** (+7 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `models/repo.go` (+7 -6) </details> ### 📄 Description See #1257 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-02 11:56:51 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#15885