Housekeeping #32

Closed
opened 2025-11-02 03:05:04 -06:00 by GiteaMirror · 6 comments
Owner

Originally created by @thibaultmeyer on GitHub (Nov 5, 2016).

It would be nice to have a button (on each repos settings page) to run a housekeeping operation. This operation is useful to clean a repository and decrease is size.

Usually these two commands are run:

git prune
git gc --aggressive
--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/38979600-housekeeping?utm_campaign=plugin&utm_content=tracker%2F47456670&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F47456670&utm_medium=issues&utm_source=github).
Originally created by @thibaultmeyer on GitHub (Nov 5, 2016). It would be nice to have a button (on each repos settings page) to run a _housekeeping_ operation. This operation is useful to clean a repository and decrease is size. Usually these two commands are run: ``` git prune git gc --aggressive ``` <bountysource-plugin> --- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/38979600-housekeeping?utm_campaign=plugin&utm_content=tracker%2F47456670&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F47456670&utm_medium=issues&utm_source=github). </bountysource-plugin>
GiteaMirror added the type/proposal label 2025-11-02 03:05:04 -06:00
Author
Owner

@strk commented on GitHub (Nov 5, 2016):

I think there's a periodic routine doing those things, (why) do you also want a button ?

@strk commented on GitHub (Nov 5, 2016): I think there's a periodic routine doing those things, (why) do you also want a button ?
Author
Owner

@strk commented on GitHub (Nov 5, 2016):

in any case, I guess if you provide a PR the approval process would be smoother :)

@strk commented on GitHub (Nov 5, 2016): in any case, I guess if you provide a PR the approval process would be smoother :)
Author
Owner

@thibaultmeyer commented on GitHub (Nov 5, 2016):

I think manual housekeeping is better than periodic routine, cause is useless to run housekeeping on no-longer used/ archived repos.

Or maybe the periodic routine could be configured to ignore some repos ? (like a checkbox on each repos settings)

@thibaultmeyer commented on GitHub (Nov 5, 2016): I think manual housekeeping is better than periodic routine, cause is useless to run housekeeping on no-longer used/ archived repos. Or maybe the periodic routine could be configured to ignore some repos ? (like a checkbox on each repos settings)
Author
Owner

@strk commented on GitHub (Nov 5, 2016):

I don't think the periodic routine can be configured, atm.
I guess an overall review of the system is needed, are you up for that ?
Ideally we'd have:

  • Configurable periodic routine (frequency, exclusion list)
  • Record of when the routine last run, shown in admin panel
  • Button to force a run the routine for a single repository
  • Button to force a run of the periodic routine
@strk commented on GitHub (Nov 5, 2016): I don't think the periodic routine can be configured, atm. I guess an overall review of the system is needed, are you up for that ? Ideally we'd have: - Configurable periodic routine (frequency, exclusion list) - Record of when the routine last run, shown in admin panel - Button to force a run the routine for a single repository - Button to force a run of the periodic routine
Author
Owner

@6543 commented on GitHub (Sep 7, 2020):

admin UI have button to "housekeep" all repos and I think there also exist a cronjob

@6543 commented on GitHub (Sep 7, 2020): admin UI have button to "housekeep" all repos and I think there also exist a cronjob
Author
Owner

@6543 commented on GitHub (Sep 7, 2020):

I'll close feel free to ask for reopen if i missed something

@6543 commented on GitHub (Sep 7, 2020): I'll close feel free to ask for reopen if i missed something
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#32