[PR #885] [MERGED] Implement archive cleanup #15634

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

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/885
Author: @minecrafter
Created: 2/10/2017
Status: Merged
Merged: 2/11/2017
Merged by: @lunny

Base: masterHead: archive-cleanup


📝 Commits (5)

  • 42ae0e4 Implement archive cleanup
  • 5a85f6e Make sure to close the directory file
  • 3a5a732 Resolve issues noted by @strk
  • e274e78 edit cheatsheet app.ini [ci skip]
  • 0dfe6fd oops [ci skip]

📊 Changes

4 files changed (+92 additions, -3 deletions)

View changed files

📝 conf/app.ini (+7 -0)
📝 models/repo.go (+58 -3)
📝 modules/cron/cron.go (+11 -0)
📝 modules/setting/setting.go (+16 -0)

📄 Description

Fixes #769.

This allows Gitea to automatically purge created archives in order to better control disk space usage. Currently, archives older than 24 hours will be purged every 24 hours.


🔄 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/885 **Author:** [@minecrafter](https://github.com/minecrafter) **Created:** 2/10/2017 **Status:** ✅ Merged **Merged:** 2/11/2017 **Merged by:** [@lunny](https://github.com/lunny) **Base:** `master` ← **Head:** `archive-cleanup` --- ### 📝 Commits (5) - [`42ae0e4`](https://github.com/go-gitea/gitea/commit/42ae0e4a8bb0b17245bcbfe08d67b5bb76038b25) Implement archive cleanup - [`5a85f6e`](https://github.com/go-gitea/gitea/commit/5a85f6e74f58a891b4fa75b07ed6beadfcef16a4) Make sure to close the directory file - [`3a5a732`](https://github.com/go-gitea/gitea/commit/3a5a73278b16f7cfbc13a63d5316d8ea841a1f61) Resolve issues noted by @strk - [`e274e78`](https://github.com/go-gitea/gitea/commit/e274e788a00ec9cf0336c7b9ac1a7cecbfcba47b) edit cheatsheet app.ini [ci skip] - [`0dfe6fd`](https://github.com/go-gitea/gitea/commit/0dfe6fde99be40d72b653761dd947fa7e4f84ac6) oops [ci skip] ### 📊 Changes **4 files changed** (+92 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `conf/app.ini` (+7 -0) 📝 `models/repo.go` (+58 -3) 📝 `modules/cron/cron.go` (+11 -0) 📝 `modules/setting/setting.go` (+16 -0) </details> ### 📄 Description Fixes #769. This allows Gitea to automatically purge created archives in order to better control disk space usage. Currently, archives older than 24 hours will be purged every 24 hours. --- <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:51:09 -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#15634