Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 433687 - app-portage/layman-2.0.0_rc3: please consider setting dummy username for git
Summary: app-portage/layman-2.0.0_rc3: please consider setting dummy username for git
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: 375789
  Show dependency tree
 
Reported: 2012-09-01 21:58 UTC by Michał Górny
Modified: 2013-08-13 20:04 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2012-09-01 21:58:05 UTC
A user of my overlay has just reported that layman failed to sync it with the following output:

 * Syncing selected overlays,...
 * Running Git... # ( cd /usr/portage/local/layman/mgorny  && /usr/bin/git
 * pull )

*** Please tell me who you are.

Run

  git config --global user.email "you@example.com"
  git config --global user.name "Your Name"

to set your account's default identity.
Omit --global to set the identity only in this repository.

fatal: unable to auto-detect email address (got 'root@TuX.(none)')
 * Failure result returned from Git

--

I guess it is mostly my fault but I think that if layman set some dummy username and e-mail for git, that could at least users being hit with such ambiguous messages.
Comment 1 Brian Dolbec (RETIRED) gentoo-dev 2012-10-07 23:51:46 UTC
Done.  The name and email is global for all git repos.  Perhaps in a future release I'll make it settable per repo.  But that will take enabling per repo settings for all repo types, at least IMHO.

commit http://git.overlays.gentoo.org/gitweb/?p=proj/layman.git;a=commit;h=faf6c74c1aa866d62137dcf203b3bca7a0e32634
Comment 2 Brian Dolbec (RETIRED) gentoo-dev 2012-11-19 01:51:30 UTC
released in layman-2.0.0_rc4 and rc5.