Skip to content

Git repository maintenanceΒ #17288

@nijel

Description

@nijel

Describe the problem

Weblate doesn't perform regular repository maintenance, so Git might at some point decide to do garbage collection on it's own. It would be better to be in charge of this and perform the maintenance regularly on our own.

Solution brainstorm

  • Add a daily task that will perform maintenance on all repository components once a month (using ID module 30).
  • Remove not needed remote branches (all except branch and push branch).
  • Using https://git-scm.com/docs/git-maintenance for the low-level stuff.

Describe alternatives you have considered

No response

Screenshots

No response

Additional context

https://github.com/orgs/WeblateOrg/discussions/17239

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area: VCSVersion control integrationWaiting for: ImplementationAdded to a milestone, will be resolved according to the milestone timeline.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions