Live data from Hacker News

Ask HN: Dropbox for source control

news.ycombinator.com

1–7 of 7 posts

Re: Ask HN: Dropbox for source control

#2
I think it's a poor idea.

A set of backup snapshots is not the same as source control. Your source control history is a story you tell about your code. Each commit is an important event, encapsulated on its own, with a person to blame and a text description and a definite date. Whereas a history of file changes is just a history of file changes.

The other point to make is that there is only one timeline of file changes. That is far too one-dimensional for code development. You need the ability to branch.

Using Dropbox for source control is like publishing an hour-by-hour activity log and claiming it's your autobiography:

  9 am: Typing. Still breathing.
  10am: Typing. Still breathing.
  11am: walking to lunch, breathing faster
  noon: eating.
  1pm: typing. Still breathing.
You want a system that tracks the deliberately edited, important points of the story. You also want backups, of course, but they don't accomplish the same thing.

Re: Ask HN: Dropbox for source control

#6

I think it's a poor idea. A set of backup snapshots is not the same as source control. Your source control history is a story you tell about your code. Each commit is an important event, encapsulated on its own, with a person to blame and a text description and a definite date. Whereas a history of file changes is just a history of file changes. The other point to make is that there is only one timeline of file chang…

Also, Dropbox only keeps 30 days by default unless you pay for the Pack Rat option.

Re: Ask HN: Dropbox for source control

#7
Mercurial, Git, Fossil, etc. are all extremely easy to setup. I'd setup one of those and then setup a branch/clone in DropBox. Mercurial and Git have hooks that can run when a commit is finished. Just write a quick hook that automatically keeps the branch/clone in sync with your changes.