Victor Lowther (victor.lowt...@gmail.com) wrote:
> On Wed, Dec 4, 2013 at 3:49 PM, Adam Spiers <aspi...@suse.com> wrote:
> 
> > Victor Lowther (victor.lowt...@gmail.com) wrote:
> > > On Wed, Dec 4, 2013 at 3:34 PM, Adam Spiers <aspi...@suse.com> wrote:
> > > > [Porting conversation from
> > https://github.com/crowbar/crowbar/pull/1959]
> > > >
> > > > gitify-meta breakage follows in case it's of use (BTW this was run
> > > > immediately after an rm -rf .releases)
> > > >
> > > > --------- 8< --------- 8< --------- 8< --------- 8< --------- 8<
> > ---------
> > > > Initialized empty Git repository in
> > > > /home/adam/SUSE/cloud/crowbar/git/2.0/.releases/.git/
> > >
> > > [snip]
> > >
> > > > Adding v2.2.0-hadoop-dell to git release tracking repository
> > > > Switched to a new branch 'v2.2.0-hadoop-dell'
> > > > 2013-12-04 21:27:13 +0000: Git not setup.
> > > > 2013-12-04 21:27:13 +0000: Please run
> > > > 2013-12-04 21:27:13 +0000: git config --global user.name "your name"
> > > > 2013-12-04 21:27:13 +0000: git config --global user.email
> > "you@your.domain
> > > > "
> > >
> > > Well, it is rather odd that the dev tool thinks that git is not
> > configured
> > > here, and that is probably what is causing your problems.
> >
> > I don't think it's odd - it's a brand new repo, so user.email is not
> > set.  Is your code expecting user.email to be set globally?  If so,
> > that's a bug, because some of us use more than one email address for
> > git operations, and therefore cannot set user.email globally.
> 
> huh?  Nothing stops you from having user.name and user.email set globally
> and also set per-repository -- IIRC, git will just use the most specific
> one.

I know that, but I still don't want to set user.email globally because
then I risk accidentally polluting a repo with the wrong routable
email address if I forget to override it locally.  ./dev should not be
this opinionated.

> > Furthermore, if user.email is a genuine requirement in order to
> > proceed successfully (although I can't think why it would be), then it
> > should abort when it is not set, rather than simply complain and
> > proceed anyway.
> 
> It is because github is a super whiny whiner otherwise.

OK but that shouldn't break creation of the local .releases repo, so
AFAICS something else must broken.  In case you didn't notice in the
output I sent, there were errors like this:

  cp: cannot overwrite non-directory 
'/home/adam/SUSE/crowbar2/./.releases/cloudera-build/change-image' with 
directory 
'/home/adam/SUSE/crowbar2/./releases/rails3anddb/cloudera-build/change-image'

which sound much more serious than a bit of whining about email
addresses.

_______________________________________________
Crowbar mailing list
Crowbar@dell.com
https://lists.us.dell.com/mailman/listinfo/crowbar
For more information: http://crowbar.github.com/

Reply via email to