Bug #20221

larsim repository is >2GB big

Added by Gianluca Petrillo almost 3 years ago. Updated 8 months ago.

Target version:
Start date:
Due date:
% Done:


Estimated time:
Occurs In:


Please remove whatever in the repository history was there, should have not been there and is making future generations pay for it.


#1 Updated by Marc Mengel almost 3 years ago

Okay, so I know how to clean the repository, we send a script through cleaning out the .root files from all history for all time, and this will take the repository back to a reasonable size.

However, this changes the commit hash id's all the way up the chain from quite some time ago on develop and master, which means anyone who has a clone of the repository who doesn't similarly clean it out can push the stuff back in.

So we need to:

  • get everyone who has it checked out to:
    • git flow publish any branch they are working on
    • git commit their changes
    • git push
    • remove their local copy
  • scrub the cdcvs copy of the repository
  • folks can git clone it again.

Otherwise we will keep having people inadvertently pushing this stuff back into
the repository, and being confused about where branches actually are, etc.

#2 Updated by Lynn Garren almost 3 years ago

  • Status changed from New to Under Discussion

We have already reduced the repository sized from 11 GB to it's present 2.3 GB. However, it appears that certain actions result in inadvertently pushing the old history again. We will discuss the problem and solution at the next coordination meeting.

#3 Updated by Katherine Lato over 2 years ago

Marc Mengel presented options at the July 3rd Coordination meeting -
Further discussion is needed to finalize the plan.

#4 Updated by Katherine Lato over 2 years ago

We have a filter that should prevent most probably causes of the problem. We can create a new repository with a different name, same content. It will be a breaking change, however it's very scriptable.

#5 Updated by Kyle Knoepfel over 2 years ago

  • Status changed from Under Discussion to Assigned
  • Assignee set to Erica Snider

Erica will send out an email.

#6 Updated by Erica Snider 8 months ago

  • Status changed from Assigned to Closed

Permanently fixed in move to GitHub

Also available in: Atom PDF