by mechanical_fish · 15y ago · 0 comments
These projects are mainly side projects, or small freelance jobs I've done through the years, and I want to save them for posterity; who knows when I'll need them, right?
My solution to this problem is called tar. Just clone the Git repos to /tmp, tar up the results, and push the tarball to S3. Done. Archived for posterity for a few cents per month.
This isn't SVN anymore: It doesn't take special voodoo to host a repo. If nobody needs to push or pull from a repo, tar it up and archive it. If one person needs to push and pull from a repo, store it on that person's local hard drive (with backups, of course). If two people need to push and pull from a repo... Well, this is no longer an archive for posterity, this is an active project, and can the team really not afford to pay Github something like $5 per month per repo?
This is the OP's complaint: once you're over 20 private repositories, you're paying $100/month. He wants stupid-simple, hosted, private git repositories, and lots of them. He probably ran a bunch of numbers on servers, storage, and bandwidth, and found that he run a simple, low-cost hosted git solution (without all the fancy web features) at a fraction the cost.
There was an opportunity in the market to make a simple, low-cost competitor to github, and he built it. Kudos.
Also, Github doesn't require you to know how to use tar, S3, or have any other Linux experience. So why should this particular use case? Why wouldn't a business be able to cater to that market?
This is a business, and as such, should be measured as one. Why are we criticizing the "technical necessity" of the product? Are we under the impression that HN is the target audience?
You don't need tar to package a git versioned project.
All you need is some kind of zip program, and every major OS has one built in.
The difference knowledge it requires to just zip up a directory and send it in an email, versus running a github connection is so minimal its laughable that anyone suggests that you need some kind of web interface in order to unburden yourself.
> This is a business, and as such, should be measured as one.
I think that this is a solution chasing a problem. However, lets assume that it is a viable business.
The beauty of github was ease of sharing, and the web interface. If you take away the web interface and don't need to share then what's the value proposition here?
All you're getting out of this project is backups of your local git repo. And you know what.... tar is pretty damn competitive when it comes to that arena.
Saving it to S3 is an option, but then you have to create that account too. Why shouldn't you be able to just use one account?
It's online and active, but its a CLI only.
To match the functionality of Codespace, you don't need anything as inelegant as S3. If you have a dropbox account, you basically have the same functionality as Codespace offers. And its free.
And as a bonus, you can store other things in dropbox apart from your git repos.
Looking at Codespace, its targeting a space below Github that's already massively serviced by other simpler competition.
Edit:
Let me add. Before using Github, I personally would just open a network drive to my webhost, and save things on there. It was cheap. It was CLI. And as a benefit I could save other things apart from my code there.
There is a big difference.
This thread (and hence the comment) was about archiving a repository, not about merging it.
If you want to collaborate with this setup, you would need to create a system-level account for every collaborator on your VPS (ugly) or install something like gitolite (https://github.com/sitaramc/gitolite).
The downside to gitolite is then you are running your own VPS, i.e. are responsible for security, updates, config, etc. It seems codeplane takes care of all the nonsense for you so you can get on with your real project.
As someone who had to set up gitolite because of this exact need, I can attest to the need for a service like codeplane.