Package: etckeeper Version: 0.47 Severity: normal The latest release of etckeeper makes sudo-based Git commits authorship worse for me, for two reasons:
- My full name and email are defined in ~/.gitconfig, but etckeeper now sets $HOME to ~root. - $GIT_AUTHOR_NAME/EMAIL are defined unconditionally, making it impossible to override them. So, things have gone from this: Author: Frédéric Brière <[email protected]> Commit: fbriere <[email protected]> To this: Author: fbriere <[email protected]> Commit: root <[email protected]> I can't comment much on the first point -- maybe this should be done only for some VCSes? On the second point, you probably want to do test something like: [ -z "$GIT_AUTHOR_NAME" ] && ! git config --get user.name > /dev/null [ -z "$GIT_AUTHOR_EMAIL" ] && ! git config --get user.email > /dev/null -- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.33 (SMP w/1 CPU core) Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages etckeeper depends on: ii debconf [debconf-2.0] 1.5.32 Debian configuration management sy ii git [git-core] 1:1.7.1-1 fast, scalable, distributed revisi ii git-core 1:1.7.1-1 fast, scalable, distributed revisi ii mercurial 1.5.2-1 scalable distributed version contr Versions of packages etckeeper recommends: ii cron 3.0pl1-111 process scheduling daemon etckeeper suggests no packages. -- debconf information: etckeeper/commit_failed: etckeeper/purge: true -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

