[kwlug-disc] Is SVN good enough?
unsolicited
unsolicited at swiz.ca
Fri Aug 14 21:23:26 EDT 2009
Interesting. However, by backup, I mean bare metal restore. i.e. /
(and everything underneath it). (While somehow solving the problem of
attempting to backup oneself in the process of backing up oneself.)
Chris Frey wrote, On 08/14/2009 9:09 PM:
> On Fri, Aug 14, 2009 at 08:41:49PM -0400, unsolicited wrote:
>> - off the top of my head, I would say use CVS for code (solving an
>> "individual's" problem), but adding file system level versioning
>> (solving an administrator's problem) seems weird.
>
> I use git for both.
>
> source control: both for quick one-off projects and public projects
>
> admin: I use git in my /etc directory so I can go back if a package
> update changes something I didn't notice
>
> combo: I use git to store custom built kernels, complete with all
> .o object files and the resulting .deb binary package.
> If I need to build a module against a specific kernel
> version, I just checkout the built version I need.
>
> I know there are people who store their whole home directory in source
> control, even back when it was only CVS. I think Joey Hess (of Debian fame)
> did this for a while, and is now using git.
>
> CVS and git have the "quick local change" functionality down pat. Git is
> easier than CVS in this respect, since you don't have to worry about
> remote publishing until you need it.
>
> Having the ability to turn any directory into an instant repo, complete
> with diff and history, is very handy, even if you just blow it away when
> you're done.
>
> GIT:
> mkdir /tmp/something
> cd /tmp/something
> git init
> # ready!
>
> CVS:
> mkdir -p /tmp/something/cvsroot
> mkdir /tmp/something/work
> cd /tmp/something/work
> cvs -d /tmp/something/cvsroot init
> # ready!
>
> SVN:
> mkdir -p /tmp/something/repo
> svnadmin create /tmp/something/repo
> cd /tmp/something
> svn co file:///tmp/something/repo work
> cd work
> # ready!
More information about the kwlug-disc
mailing list