[tor-bugs] #33692 [Internal Services/Service - git]: Add Git repository containing lots of large files
Tor Bug Tracker & Wiki
blackhole at torproject.org
Thu Mar 26 10:54:39 UTC 2020
#33692: Add Git repository containing lots of large files
---------------------------------------------+----------------------------
Reporter: karsten | Owner: tor-gitadm
Type: task | Status: new
Priority: Medium | Milestone:
Component: Internal Services/Service - git | Version:
Severity: Normal | Resolution:
Keywords: | Actual Points:
Parent ID: | Points:
Reviewer: | Sponsor:
---------------------------------------------+----------------------------
Comment (by irl):
One option would be to use git-annex, with web remotes. You would create a
git-annex repository and commit the smaller files to it to be version
controlled as normal. For larger files, you would upload them to your
people.torproject.org space and then include them using the web special
remote.
https://git-annex.branchable.com/tips/using_the_web_as_a_special_remote/
This would allow the large files to be fetched with only their metadata
stored in the git repository. If at a later time we support git-annex on
the gitolite, you'd only have one command to run to migrate it into the
gitolite setup.
You might want to play with git-annex a bit locally before you try to
upload things, but joeyh has made a bunch of easy to follow tutorials.
It's possible to use git-annex with a git LFS remote, so if we update
gitolite in the future then we can stop relying on the people.tpo files.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/33692#comment:3>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list