Re: more git updates..

Barry K. Nathan
2005-04-12T07:10:58Z

On Mon, Apr 11, 2005 at 10:14:13PM -0700, David Lang wrote:
> I've been reading this and have another thought for you guys to keep in
> mind for this tool.
>
> version control of system config files on linux systems.

I've been thinking about this too. (I won't have time to implement this
however. If I do have time in the near future to do anything involving
git, it probably won't have anything to do with version control of
config files.)

> it sounds like you could put the / fileystem under the control of git
> (after teaching it to not cross fileystem boundries so you can have
> another filesystem to work with) and version control your entire system.
> if this was done it would be nice to add a item type that would referance
> a file in a distro package to save space. it sounds like you could run a
> git checkin daily (as part of the updatedb run for example) at very little
> cost.

I was thinking that the GIT checkin should actually be done by the
distro configuration tools, and not as a cronjob. And maybe the config
tools could do two checkins if there were any manual changes since the
last checkin, or something. (That is, one checkin to check in the manual
changes since the last checkin, and another to check in whatever the
config tool just did.)

Now that I think about it, it would be really good to have a simple tool
for doing a manual checkin after manual editing of config files, but I
think something like the dual-checkin scheme would be needed as a safety
net in case root forgets to do the checkin.

-Barry K. Nathan <barryn@pobox.com>