Skip to content
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

Housekeeping #76

Closed
thibaultmeyer opened this issue Nov 5, 2016 · 6 comments
Closed

Housekeeping #76

thibaultmeyer opened this issue Nov 5, 2016 · 6 comments
Labels
type/proposal The new feature has not been accepted yet but needs to be discussed first.

Comments

@thibaultmeyer
Copy link
Contributor

thibaultmeyer commented 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).
@strk strk added the type/proposal The new feature has not been accepted yet but needs to be discussed first. label Nov 5, 2016
@strk
Copy link
Member

strk commented Nov 5, 2016

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

@strk
Copy link
Member

strk commented Nov 5, 2016

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

@tboerger tboerger added this to the 1.x.x milestone Nov 5, 2016
@thibaultmeyer
Copy link
Contributor Author

thibaultmeyer commented 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)

@strk
Copy link
Member

strk commented 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

lunny pushed a commit to lunny/gitea that referenced this issue Feb 7, 2019
-not is a GNU extension and not all find(8) implementations
support it. It's just an alias for ! which is POSIX compliant.
@6543
Copy link
Member

6543 commented Sep 7, 2020

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

@6543
Copy link
Member

6543 commented Sep 7, 2020

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

@6543 6543 closed this as completed Sep 7, 2020
@lunny lunny removed this from the 1.x.x milestone Sep 8, 2020
@go-gitea go-gitea locked and limited conversation to collaborators Nov 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type/proposal The new feature has not been accepted yet but needs to be discussed first.
Projects
None yet
Development

No branches or pull requests

5 participants