Re: DNS zone files in Git



On Fri, Dec 11, 2009 at 8:58 AM, Owen Taylor <otaylor redhat com> wrote:
> I got really annoyed by not having any version history for the DNS zone
> files.
>
> I didn't want to take the time to do a full solution as described in:
>
>  https://bugzilla.gnome.org/show_bug.cgi?id=592015
>
> So I took the level-zero approach of just doing a 'git init' in
> /var/named/chroot/master and importing the files there.
>
> Practically speaking, this means:
>
>  If you change one or more zone files, once you are happy
>  with your changes, do 'git commit -a' and describe what
>  you changed, in the format:
>
>  Subject
>  <blank line>
>  Details
>
> I'd certainly like to see someone pick up the task of doing a more
> comprehensive job!

FYI: I did this some time ago on /var/named/chroot and created a
/chroot symlink for convenience. We should probably merge the two. I
also put this stuff in the excludes for that repo:
*.[oa]
*~
*.jnl
*.sw[op]
proc/*
run/*
var/run/*
log/*
slave/*
*.bkp*
*.rpmnew

Feel free to look at that repo and merge in the changes.

-- 
Jeff Schroeder

Don't drink and derive, alcohol and analysis don't mix.
http://www.digitalprognosis.com


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]