[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: SVN my linux box - sanity check

From: Calvin Spealman <calvin_at_ironfroggy.com>
Date: 2004-03-03 19:29:39 CET

On Wednesday 03 March 2004 1:13 pm, Richard In Public
<edification@blueyonder.co.uk> wrote:
> Hi All
>
> The (inherently complex) configuration of a linux installation begs to
> be versioned. Here is what I'm planning to do:
>
> [After backing up all files to be versioned]
>
> 1. Create an empty "installation" repository
> 2. Checkout a working copy into / (i.e. / now contains .svn)
> 3. Add /etc and, for example, /opt/tomcat/conf to repository (add, commit)
> 4... Commit / after updating configuratons enabling rollbacks, diff, etc.
>
> The two issues that come to mind are:
> 1. Security - obviously the repository needs to be closely guarded
> 2. Permissions - this is only useful if svn 'remembers' the permissions
> of each file
>
> A quick test suggests that SVN does indeed restore permissions as
> checked in. So no problems?
>
> Well, I thought I'd see if anyone has tried this or forsees any problems
> with this scheme...
>
> best regards,
>
> Richard Hoberman
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org

I think thats a great idea, assuming it goes well, of course. If it doesn't
then any work needed to make it work properly would be worth the effort. I
can see all kinds of benefits, aside from the obviousness of rolling a system
back to a working copy.

I would even consider adding more directories to the repository, such as /home
and maybe /boot . You'll probably want to omit some things from the
repository, like /tmp and such.

I administer my family computer and i'm always looking for ways to make things
nicer for them, and I think it would be cool to have a nice interface to
this. A little K app to let them commit their $HOME or something.

Anyway, I'm ranting a bit, but I like to get ideas out for others to comment
on how stupid or genius I am :-D

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Mar 3 19:31:03 2004

This is an archived mail posted to the Subversion Users mailing list.