Git-python patch for working with GPG signed commits

Ankur Sinha sanjay.ankur at gmail.com
Mon Jan 6 04:49:05 UTC 2014


Hi,

The relevant bug[1] is fixed and updates pushed to stable for Fedora and
EL6. However, I still get the error while pushing signed commits to SCM.
Are the infra machines not yet up to date, or is it another issue? :(


> [asinha at ankur-laptop  labyrinth(master %>)]$ git push origin master
> Counting objects: 18, done.
> Delta compression using up to 4 threads.
> Compressing objects: 100% (4/4), done.
> Writing objects: 100% (4/4), 1.95 KiB | 0 bytes/s, done.
> Total 4 (delta 1), reused 0 (delta 0)
> remote: Traceback (most recent call last):
> remote:   File "./hooks/post-receive-chained.d/post-receive-fedmsg", line 47, in <module>
> remote:     commits = map(_build_commit, lines)
> remote:   File "./hooks/post-receive-chained.d/post-receive-fedmsg", line 31, in _build_commit
> remote:     name=commit.author.name,
> remote:   File "/usr/lib64/python2.6/site-packages/gitdb/util.py", line 238, in __getattr__
> remote:     self._set_cache_(attr)
> remote:   File "/usr/lib/python2.6/site-packages/git/objects/commit.py", line 132, in _set_cache_
> remote:     self._deserialize(StringIO(stream.read()))
> remote:   File "/usr/lib/python2.6/site-packages/git/objects/commit.py", line 443, in _deserialize
> remote:     self.author.name = self.author.name.decode(self.encoding)
> remote: LookupError: unknown encoding: -----BEGIN PGP SIGNATURE-----
> To ssh://ankursinha@pkgs.fedoraproject.org/labyrinth
>    31452aa..e9b8989  master -> master


[1] https://bugzilla.redhat.com/show_bug.cgi?id=1010706

-- 
Thanks,
Warm regards,
Ankur (FranciscoD)

http://fedoraproject.org/wiki/User:Ankursinha

Join Fedora! Come talk to us!
http://fedoraproject.org/wiki/Fedora_Join_SIG

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: This is a digitally signed message part
URL: <http://lists.fedoraproject.org/pipermail/infrastructure/attachments/20140106/764991e2/attachment.sig>


More information about the infrastructure mailing list