[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Monotone-devel] Re: /etc under version control
From: |
Lapo Luchini |
Subject: |
[Monotone-devel] Re: /etc under version control |
Date: |
Mon, 26 Jul 2010 01:00:29 +0200 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.1.11) Gecko/20100701 SeaMonkey/2.0.6 |
Gour D. wrote:
> On #monotone I've got info to take a look at "6.1.10 Attribute
> Handling", but would like to hear some more hints how to proceed in the
> "/etc under mtn" project?
Mhh, there are hooks for attribute handling, but "out of the box" I fear
monotone is not much more capable of versioning a whole /etc without
problems (for more or less the same reason that darcs says).
Personally, I version not all of /etc but all of my $HOME, but I also
happen to symlink a few files from /etc to my home (but only the few
that I modify), in order to have them versioned, as in:
/root/kernel/$HOSTNAME -> $HOME/etc/$HOSTNAME/KERNEL
/etc/make.conf -> $HOME/etc/$HOSTNAME/make.conf
/etc/pf.conf -> $HOME/etc/$HOSTNAME/pf.conf
/etc/rc.conf -> $HOME/etc/$HOSTNAME/rc.conf
Though it is not really a "versioned host configuration" solution, I
change those file little enough that hand-merge is ok (also, for me it's
more an issue of "I forgot that cute option I used on the other hosts"
that real versioning).
Let me know if you happen to manage something better-or-easier than
this, though. =)
--
Lapo Luchini - http://lapo.it/
“The sky above the port was the color of television, tuned to a dead
channel.” (William Gibson, "Neuromancer", 1984)