[PR #3607] [MERGED] Add repository setting to enable/disable health checks #17013

Closed
opened 2025-11-02 12:24:15 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/3607
Author: @aswild
Created: 3/2/2018
Status: Merged
Merged: 3/27/2018
Merged by: @lunny

Base: masterHead: fsck-repo-option


📝 Commits (5)

  • 4f2f470 Add repository setting to enable/disable health checks
  • 6589de6 Merge branch 'master' of git://github.com/go-gitea/gitea into fsck-repo-option
  • e9b4328 Merge branch 'master' into fsck-repo-option
  • 54c086d Merge branch 'master' of git://github.com/go-gitea/gitea into fsck-repo-option
  • 5f24707 Merge branch 'master' of git://github.com/go-gitea/gitea into fsck-repo-option

📊 Changes

7 files changed (+73 additions, -2 deletions)

View changed files

📝 models/migrations/migrations.go (+2 -0)
models/migrations/v60.go (+22 -0)
📝 models/repo.go (+3 -2)
📝 modules/auth/repo_form.go (+3 -0)
📝 options/locale/locale_en-US.ini (+2 -0)
📝 routers/repo/setting.go (+18 -0)
📝 templates/repo/settings/options.tmpl (+23 -0)

📄 Description

New Feature:

  • Repository struct field for IsFsckEnabled (default true of course)
  • Admin Settings section on repo options page, accessible only by
    admin users

Possible Enhancements:

  • There's no way to force running health checks on all repos
    regardless of their IsFsckEnabled setting. This would be useful if
    there were an admin API or dashboard button to run fsck immediately.

Signed-off-by: Allen Wild allenwild93@gmail.com


🔄 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/3607 **Author:** [@aswild](https://github.com/aswild) **Created:** 3/2/2018 **Status:** ✅ Merged **Merged:** 3/27/2018 **Merged by:** [@lunny](https://github.com/lunny) **Base:** `master` ← **Head:** `fsck-repo-option` --- ### 📝 Commits (5) - [`4f2f470`](https://github.com/go-gitea/gitea/commit/4f2f470c95b5533d86da9ff62aeb0f43b4f7a236) Add repository setting to enable/disable health checks - [`6589de6`](https://github.com/go-gitea/gitea/commit/6589de61dffa5861decbd65c9572def152bf3285) Merge branch 'master' of git://github.com/go-gitea/gitea into fsck-repo-option - [`e9b4328`](https://github.com/go-gitea/gitea/commit/e9b4328c11a5d2bb39324fe0bddfa257a5629259) Merge branch 'master' into fsck-repo-option - [`54c086d`](https://github.com/go-gitea/gitea/commit/54c086deaec7e9f04a483d863f8a6e64879ed708) Merge branch 'master' of git://github.com/go-gitea/gitea into fsck-repo-option - [`5f24707`](https://github.com/go-gitea/gitea/commit/5f24707eaee634b355aed4973964dff9c4ab17f7) Merge branch 'master' of git://github.com/go-gitea/gitea into fsck-repo-option ### 📊 Changes **7 files changed** (+73 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `models/migrations/migrations.go` (+2 -0) ➕ `models/migrations/v60.go` (+22 -0) 📝 `models/repo.go` (+3 -2) 📝 `modules/auth/repo_form.go` (+3 -0) 📝 `options/locale/locale_en-US.ini` (+2 -0) 📝 `routers/repo/setting.go` (+18 -0) 📝 `templates/repo/settings/options.tmpl` (+23 -0) </details> ### 📄 Description New Feature: * Repository struct field for IsFsckEnabled (default true of course) * Admin Settings section on repo options page, accessible only by admin users Possible Enhancements: * There's no way to force running health checks on all repos regardless of their IsFsckEnabled setting. This would be useful if there were an admin API or dashboard button to run fsck immediately. Signed-off-by: Allen Wild <allenwild93@gmail.com> --- <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 12:24:15 -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#17013