[pkg-go] dh-golang-make fails with git error
Michael Stapelberg
stapelberg at debian.org
Fri Oct 30 07:51:45 UTC 2015
I think the problem might be
https://github.com/Debian/dh-make-golang/blob/1221041fd15c552f370d14fbb1dc24699d57a467/make.go#L239
— can you try what happens if you just comment out
https://github.com/Debian/dh-make-golang/blob/1221041fd15c552f370d14fbb1dc24699d57a467/make.go#L239-L245
?
If that helps, we should just call git config user.name/user.email when
getDebianName and getDebianEmail return "TODO".
On Fri, Oct 30, 2015 at 1:49 AM, Jacob Marble <jacobmarble at google.com>
wrote:
> From a fresh unstable VM, I tried to get some practice using
> dh-make-golang so that I can eventually package my own project. This
> seems like the kind of thing that is obvious to someone, but I'm
> stumped.
>
> I'm following Michael's guide at
> https://people.debian.org/~stapelberg/2015/07/27/dh-make-golang.html
>
> <quote>
> user at debian:/tmp$ git config --get user.email
> jacobmarble at google.com
> user at debian:/tmp$ git config --get user.name
> Jacob Marble
> user at debian:/tmp$ dh-make-golang github.com/golang/example
> 2015/10/29 17:31:58 Downloading "github.com/golang/example/..."
> 2015/10/29 17:31:59 Determining upstream version number
> 2015/10/29 17:31:59 Package version is "0.0~git20150610.0.fef4da8"
> 2015/10/29 17:31:59 Determining package type
> 2015/10/29 17:31:59 Determining dependencies
> gbp:error: Failed to commit tree:
> *** Please tell me who you are.
>
> Run
>
> git config --global user.email "you at 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: empty ident name (for <@debian>) not allowed
>
> 2015/10/29 17:31:59 Could not create git repository: exit status 1
> user at debian:/tmp$
> </quote>
>
> Jacob
>
> _______________________________________________
> Pkg-go-maintainers mailing list
> Pkg-go-maintainers at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-go-maintainers
>
--
Best regards,
Michael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-go-maintainers/attachments/20151030/01c1da04/attachment.html>
More information about the Pkg-go-maintainers
mailing list