Hacker News new | ask | show | jobs
by thetron 4889 days ago
We tend to run out of private repos on our organisation gold plan, but have a little ruby script which can pull down some of the older projects (and their wikis), zip them up, archive them to S3 and then remove the repo on Github.

It can also do the reverse, pull the archives down, create a new private repo and push everything back up.

It works quite well, and certainly solved the problem of hitting that ceiling.

1 comments

Would you mind publishing this? We run into this issue too.
It's definitely my intention to. At the moment it's a bit of a hodge-podge, but it's definitely on my to-do list to release it as a properly packaged (and tested) rubygem.
You should consider using git-annex with an S3 remote.

http://git-annex.branchable.com/tips/using_Amazon_S3/