Subject: | Get user name and mail from environment if not specified |
Hi,
I'm forwarding this bug request received at Debian's BTS
(http://bugs.debian.org/472102). I'm reproducing the report here:
/-----------
|module-starter's --author and --email options are required. I wish
|the author would default to the user's full name from the GECOS field
|and the email would default to the user's login name @ the contents of
|/etc/mailname, respectively.
\-----------
My answer to the requester:
/-----------
|Umh... I'm not very happy to implement this one. It does make sense,
|but I think I'd end up doing something according to _my_ use case, and
|not general enough - i.e. many users won't have anything meaningful in
|/etc/mailname (on this laptop, I have 'localdomain') - In my case, I'd
|choose $ENV{EMAIL}, but many people also don't have it set.
|
|As for the person name, many people won't even have something
|meaningful in the GECOS field (even worse, might not have the field at
|all - think this module is also usable in Windows systems).
|
|I'm just pushing the bug upstream as a wishlist request.
\-----------
So... it's up to you :-)