Page MenuHomePhabricator

extdist should run git gc occasionally
Closed, ResolvedPublic

Description

The cron job for extdist needs to run [[ https://git-scm.com/docs/git-gc | git gc]] occasionally in each repository it processes, otherwise /srv/src starts to get really big. You can find the script in the labs/tools/extdist repository in Gerrit. Maybe once every 100 runs the script can run gc.

Mentors: @Legoktm

Event Timeline

Aklapper renamed this task from extdist should run git gc ocassionally to extdist should run git gc occasionally.Oct 5 2018, 12:44 PM
Aklapper updated the task description. (Show Details)
Aklapper moved this task from Proposed tasks to Imported in GCI Site on the Google-Code-in-2018 board.
rafidaslam added a subscriber: rafidaslam.

I'll do this (claimed on gci)

Change 471512 had a related patch set uploaded (by Rafidaslam; owner: Rafid Aslam):
[labs/tools/extdist@master] Run git gc on /srv/src every 100 processes

https://gerrit.wikimedia.org/r/471512

Change 471512 merged by jenkins-bot:
[labs/tools/extdist@master] Run git gc on /srv/src every 100 processes

https://gerrit.wikimedia.org/r/471512