Package: etckeeper
Version: 0.34
Severity: minor

When doing an install of etckeeper (with darcs already installed, but
git-core not installed), etckeeper complains about git not being found
in the postinst.  Instead it could perhaps use debconf to say

    Please pick a VCS to use for /etc.  If you want to use one that is
    not yet installed, choose "not yet", install it, then run
    "dpkg-reconfigure etckeeper".

               [ ] git (not installed)
               [ ] mercurial (not installed)
               [x] bzr
               [ ] darcs
               [ ] Don't initialize yet.

Also, when doing the next package install, Darcs without warning asks
for "an email address for use in commits".  This is especially
confusing if the machine has multiple admins, and a different admin
installed etckeeper.

I suggest calling darcs record with --author etckee...@$fqdn by
default -- this can be in the default etckeeper.conf options.
Alternatively, you can write such an email address into
/etc/_darcs/prefs/author.  Otherwise /root/.darcs/author will be used,
which probably doesn't exist.

Finally, it seems that etckeeper calls "git commit -a", but doesn't
call "darcs record -a".  I think the default, at least, should be to
pass -a (--all) to darcs record.

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 
'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages etckeeper depends on:
ii  darcs                         2.2.0-1    a distributed, interactive, smart 
ii  debconf [debconf-2.0]         1.5.25     Debian configuration management sy
ii  git-core                      1:1.6.2-1  fast, scalable, distributed revisi
ii  mercurial                     1.1.2-2    scalable distributed version contr

Versions of packages etckeeper recommends:
pn  cron                          <none>     (no description available)

etckeeper suggests no packages.

-- debconf information:
* etckeeper/unclean: true
  etckeeper/commit_failed:



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to