• Colin Shea's avatar
    Purge is optional, #generate is even smarter · c3c44937
    Colin Shea authored
    Purge is not called by default any more. We're managing the results of
    the generation in a git repo, so don't delete the entire directory every
    time.
    
    Compare the list of zones old vs new and delete any old. This allows the
    user to rename a zone and not leave files around.
    
    The comparison for SOA record bumping didn't work until the introduction
    of the remote vs local concept of zone files. Now, you can point dnsgit
    to the old zones on your laptop and it'll only update the zones that
    have actually changed.
    c3c44937