r/programming • u/anishathalye • Apr 25 '16
Dropbox as a True Git Server
http://www.anishathalye.com/2016/04/25/dropbox-as-a-true-git-server/2
u/bloody-albatross Apr 26 '16
I'm just glad that my university provided us with web space back then so I simply installed mercurial in my home dir and added CGI based http basic auth authenticated mercurial repos. I guess one could have done the same using git?
For some exercises we even had to hand in the exercise via sftp and the server happened to have mercurial installed. So I set up a repo with a hook to automatically update the working dir on push in the directory meant for the assignment to be stored. So collaborating actually ensured that the assignment was handed in.
1
u/anishathalye Apr 26 '16
We have GitHub Enterprise, but for some reason, nobody really seems to use it.
2
Apr 25 '16
How hard is it to just setup remote SSH access to someones machine?
9
u/ponca707 Apr 25 '16
IIRC the initial announcement of the Dropbox project was dismissed on similar grounds (rsync being trivial to set up, etc.)
8
u/nemec Apr 25 '16
Do they have an ssh server installed?
Have they opened up ports on their router?
Can they open up ports on their router?
It's not always easy to p2p
0
Apr 26 '16
So you want to purchase a third party service plan, install some non-vendor supported addon to git, etc and so on...
3
u/schorsch3000 Apr 26 '16
Hey, as a student, living in a student dorm, that might be a usable thing...
1
1
u/c_linkage Apr 25 '16
But that's not Web 2.0!
edit: I got a fever, and the only prescription is more web services!
0
39
u/Xgamer4 Apr 25 '16
...While technologically, this is really cool, if all you want is a giant pile of free personal private git repos, and you're too lazy/unmotivated/paranoid to host your own server, I'd recommend taking a look at https://bitbucket.org/.
An account with unlimited private repos is free for up to 5 team users.