You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@allura.apache.org by Dave Brondsema <br...@users.sf.net> on 2014/01/02 17:37:26 UTC

[allura:tickets] #7021 Handle pgp-signed git commits



---

** [tickets:#7021] Handle pgp-signed git commits**

**Status:** open
**Created:** Thu Jan 02, 2014 04:37 PM UTC by Dave Brondsema
**Last Updated:** Thu Jan 02, 2014 04:37 PM UTC
**Owner:** nobody

~~~~
  File "/var/local/allura/ForgeGit/forgegit/model/git_repo.py", line 232, in refresh_commit_info
    tree_id=ci.tree.hexsha,
  File "/var/local/env-allura/lib/python2.7/site-packages/gitdb-0.5.4-py2.7-linux-x86_64.egg/gitdb/util.py", line 238, in __getattr__
    self._set_cache_(attr)
  File "/var/local/env-allura/lib/python2.7/site-packages/GitPython-0.3.2.RC1_20131017-py2.7.egg/git/objects/commit.py", line 133, in _set_cache_
    self._deserialize(StringIO(stream.read()))
  File "/var/local/env-allura/lib/python2.7/site-packages/GitPython-0.3.2.RC1_20131017-py2.7.egg/git/objects/commit.py", line 453, in _deserialize
    self.author.name = self.author.name.decode(self.encoding)
LookupError: unknown encoding: -----BEGIN PGP SIGNATURE-----
~~~~


---

Sent from sourceforge.net because allura-dev@incubator.apache.org is subscribed to https://sourceforge.net/p/allura/tickets/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/allura/admin/tickets/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.

[allura:tickets] #7021 Handle pgp-signed git commits

Posted by Igor Bondarenko <je...@users.sf.net>.
Closed #533. 

Created pull request on github https://github.com/johnsca/GitPython/pull/2

No Allura changes.


---

** [tickets:#7021] Handle pgp-signed git commits**

**Status:** code-review
**Labels:** 42cc 
**Created:** Thu Jan 02, 2014 04:37 PM UTC by Dave Brondsema
**Last Updated:** Wed Feb 19, 2014 03:42 PM UTC
**Owner:** nobody

~~~~
  File "/var/local/allura/ForgeGit/forgegit/model/git_repo.py", line 232, in refresh_commit_info
    tree_id=ci.tree.hexsha,
  File "/var/local/env-allura/lib/python2.7/site-packages/gitdb-0.5.4-py2.7-linux-x86_64.egg/gitdb/util.py", line 238, in __getattr__
    self._set_cache_(attr)
  File "/var/local/env-allura/lib/python2.7/site-packages/GitPython-0.3.2.RC1_20131017-py2.7.egg/git/objects/commit.py", line 133, in _set_cache_
    self._deserialize(StringIO(stream.read()))
  File "/var/local/env-allura/lib/python2.7/site-packages/GitPython-0.3.2.RC1_20131017-py2.7.egg/git/objects/commit.py", line 453, in _deserialize
    self.author.name = self.author.name.decode(self.encoding)
LookupError: unknown encoding: -----BEGIN PGP SIGNATURE-----
~~~~


---

Sent from sourceforge.net because allura-dev@incubator.apache.org is subscribed to https://sourceforge.net/p/allura/tickets/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/allura/admin/tickets/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.

[allura:tickets] #7021 Handle pgp-signed git commits

Posted by Cory Johns <ma...@users.sf.net>.
- **status**: code-review --> closed
- **Milestone**: forge-backlog --> forge-mar-7



---

** [tickets:#7021] Handle pgp-signed git commits**

**Status:** closed
**Milestone:** forge-mar-7
**Labels:** 42cc 
**Created:** Thu Jan 02, 2014 04:37 PM UTC by Dave Brondsema
**Last Updated:** Mon Mar 03, 2014 09:04 PM UTC
**Owner:** nobody

~~~~
  File "/var/local/allura/ForgeGit/forgegit/model/git_repo.py", line 232, in refresh_commit_info
    tree_id=ci.tree.hexsha,
  File "/var/local/env-allura/lib/python2.7/site-packages/gitdb-0.5.4-py2.7-linux-x86_64.egg/gitdb/util.py", line 238, in __getattr__
    self._set_cache_(attr)
  File "/var/local/env-allura/lib/python2.7/site-packages/GitPython-0.3.2.RC1_20131017-py2.7.egg/git/objects/commit.py", line 133, in _set_cache_
    self._deserialize(StringIO(stream.read()))
  File "/var/local/env-allura/lib/python2.7/site-packages/GitPython-0.3.2.RC1_20131017-py2.7.egg/git/objects/commit.py", line 453, in _deserialize
    self.author.name = self.author.name.decode(self.encoding)
LookupError: unknown encoding: -----BEGIN PGP SIGNATURE-----
~~~~


---

Sent from sourceforge.net because allura-dev@incubator.apache.org is subscribed to https://sourceforge.net/p/allura/tickets/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/allura/admin/tickets/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.

[allura:tickets] #7021 Handle pgp-signed git commits

Posted by Cory Johns <ma...@users.sf.net>.
- **QA**: Cory Johns



---

** [tickets:#7021] Handle pgp-signed git commits**

**Status:** code-review
**Milestone:** forge-backlog
**Labels:** 42cc 
**Created:** Thu Jan 02, 2014 04:37 PM UTC by Dave Brondsema
**Last Updated:** Mon Feb 24, 2014 01:31 PM UTC
**Owner:** nobody

~~~~
  File "/var/local/allura/ForgeGit/forgegit/model/git_repo.py", line 232, in refresh_commit_info
    tree_id=ci.tree.hexsha,
  File "/var/local/env-allura/lib/python2.7/site-packages/gitdb-0.5.4-py2.7-linux-x86_64.egg/gitdb/util.py", line 238, in __getattr__
    self._set_cache_(attr)
  File "/var/local/env-allura/lib/python2.7/site-packages/GitPython-0.3.2.RC1_20131017-py2.7.egg/git/objects/commit.py", line 133, in _set_cache_
    self._deserialize(StringIO(stream.read()))
  File "/var/local/env-allura/lib/python2.7/site-packages/GitPython-0.3.2.RC1_20131017-py2.7.egg/git/objects/commit.py", line 453, in _deserialize
    self.author.name = self.author.name.decode(self.encoding)
LookupError: unknown encoding: -----BEGIN PGP SIGNATURE-----
~~~~


---

Sent from sourceforge.net because allura-dev@incubator.apache.org is subscribed to https://sourceforge.net/p/allura/tickets/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/allura/admin/tickets/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.

[allura:tickets] #7021 Handle pgp-signed git commits

Posted by Igor Bondarenko <je...@users.sf.net>.
- **status**: in-progress --> code-review



---

** [tickets:#7021] Handle pgp-signed git commits**

**Status:** code-review
**Labels:** 42cc 
**Created:** Thu Jan 02, 2014 04:37 PM UTC by Dave Brondsema
**Last Updated:** Wed Feb 19, 2014 03:42 PM UTC
**Owner:** nobody

~~~~
  File "/var/local/allura/ForgeGit/forgegit/model/git_repo.py", line 232, in refresh_commit_info
    tree_id=ci.tree.hexsha,
  File "/var/local/env-allura/lib/python2.7/site-packages/gitdb-0.5.4-py2.7-linux-x86_64.egg/gitdb/util.py", line 238, in __getattr__
    self._set_cache_(attr)
  File "/var/local/env-allura/lib/python2.7/site-packages/GitPython-0.3.2.RC1_20131017-py2.7.egg/git/objects/commit.py", line 133, in _set_cache_
    self._deserialize(StringIO(stream.read()))
  File "/var/local/env-allura/lib/python2.7/site-packages/GitPython-0.3.2.RC1_20131017-py2.7.egg/git/objects/commit.py", line 453, in _deserialize
    self.author.name = self.author.name.decode(self.encoding)
LookupError: unknown encoding: -----BEGIN PGP SIGNATURE-----
~~~~


---

Sent from sourceforge.net because allura-dev@incubator.apache.org is subscribed to https://sourceforge.net/p/allura/tickets/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/allura/admin/tickets/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.

[allura:tickets] #7021 Handle pgp-signed git commits

Posted by Dave Brondsema <br...@users.sf.net>.
We've been compiling our other patches to GitPython at this repo/branch: https://github.com/johnsca/GitPython/tree/sf-master

I'd recommend a test of merging the pull request with that branch, and see if it all works well.


---

** [tickets:#7021] Handle pgp-signed git commits**

**Status:** in-progress
**Labels:** 42cc 
**Created:** Thu Jan 02, 2014 04:37 PM UTC by Dave Brondsema
**Last Updated:** Tue Feb 18, 2014 09:19 AM UTC
**Owner:** nobody

~~~~
  File "/var/local/allura/ForgeGit/forgegit/model/git_repo.py", line 232, in refresh_commit_info
    tree_id=ci.tree.hexsha,
  File "/var/local/env-allura/lib/python2.7/site-packages/gitdb-0.5.4-py2.7-linux-x86_64.egg/gitdb/util.py", line 238, in __getattr__
    self._set_cache_(attr)
  File "/var/local/env-allura/lib/python2.7/site-packages/GitPython-0.3.2.RC1_20131017-py2.7.egg/git/objects/commit.py", line 133, in _set_cache_
    self._deserialize(StringIO(stream.read()))
  File "/var/local/env-allura/lib/python2.7/site-packages/GitPython-0.3.2.RC1_20131017-py2.7.egg/git/objects/commit.py", line 453, in _deserialize
    self.author.name = self.author.name.decode(self.encoding)
LookupError: unknown encoding: -----BEGIN PGP SIGNATURE-----
~~~~


---

Sent from sourceforge.net because allura-dev@incubator.apache.org is subscribed to https://sourceforge.net/p/allura/tickets/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/allura/admin/tickets/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.

[allura:tickets] #7021 Handle pgp-signed git commits

Posted by Igor Bondarenko <je...@users.sf.net>.
It's know GitPython bug. There are [merge request](https://github.com/gitpython-developers/GitPython/pull/124) for fixing this, but unfortunately it isn't merged into main GitPython repo yet.

We can use GitPython from this fork, or make our own from stable revision and apply similar changes to it. What do you think? 


---

** [tickets:#7021] Handle pgp-signed git commits**

**Status:** in-progress
**Labels:** 42cc 
**Created:** Thu Jan 02, 2014 04:37 PM UTC by Dave Brondsema
**Last Updated:** Fri Feb 07, 2014 07:37 PM UTC
**Owner:** nobody

~~~~
  File "/var/local/allura/ForgeGit/forgegit/model/git_repo.py", line 232, in refresh_commit_info
    tree_id=ci.tree.hexsha,
  File "/var/local/env-allura/lib/python2.7/site-packages/gitdb-0.5.4-py2.7-linux-x86_64.egg/gitdb/util.py", line 238, in __getattr__
    self._set_cache_(attr)
  File "/var/local/env-allura/lib/python2.7/site-packages/GitPython-0.3.2.RC1_20131017-py2.7.egg/git/objects/commit.py", line 133, in _set_cache_
    self._deserialize(StringIO(stream.read()))
  File "/var/local/env-allura/lib/python2.7/site-packages/GitPython-0.3.2.RC1_20131017-py2.7.egg/git/objects/commit.py", line 453, in _deserialize
    self.author.name = self.author.name.decode(self.encoding)
LookupError: unknown encoding: -----BEGIN PGP SIGNATURE-----
~~~~


---

Sent from sourceforge.net because allura-dev@incubator.apache.org is subscribed to https://sourceforge.net/p/allura/tickets/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/allura/admin/tickets/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.