Re: DNS zone files in Git



On Fri, 2009-12-11 at 12:11 -0800, Jeff Schroeder wrote:
> 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:

[ Looks like you made a /chroot hardlink rather than a symlink ]

Oh, oops, guess I should have tried 'git status' before 'git init' :-)

I guess my main preference for doing for just the master/ directory is
that it seems more natural to have things flat if/when we go to a
not-in-place git module.

But with the appropriate .gitignore seems that it works to do it up one
level as well. I'll clean up and merge my changes in when I get a
chance.

- Owen




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