r/programming • • Apr 25 '16

Dropbox as a True Git Server

http://www.anishathalye.com/2016/04/25/dropbox-as-a-true-git-server/
67 Upvotes

13 comments sorted by

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.

6

u/anishathalye Apr 25 '16

Yup, that's true. BitBucket has a lot of advantages.

At least for me though, I usually have more than 5 unique collaborators over all my repos, and it's super inconvenient to swap people out as the need to push code.

I guess GitLab is a pretty good alternative, at least for now (I think they allow unlimited collaborators at the moment).

12

u/HomemadeBananas Apr 25 '16

You can also host Gitlab yourself, and DigitalOcean has a prebuilt box for you to spin up. I like their hosted service better than Bitbucket though and have no reason to self host.

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

u/[deleted] 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

u/[deleted] 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

u/[deleted] Apr 26 '16

I'd be surprised as a student you didn't have access to some sort of SSH'able machine.

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

u/Bromlife Apr 26 '16

Needs moar microservices