Created attachment 7857 [details] patch from mentioned pullrequest 57, rediffed to make it apply cleanly to 0.3.1-9 processing commits that have gpg signature make gitpython fail with: LookupError: unknown encoding: -----BEGIN PGP SIGNATURE----- see https://github.com/gitpython-developers/GitPython/issues/110 or https://github.com/gitpython-developers/GitPython/pull/57 for details
python-gitpython-1.0.2-1.mga6 should fix this for mga5 python-gitpython-0.3.1-9.1.mga5 should be ok Please test new packages in 5/core/testing Suggested advisory: ======================== Fix gitpython fails on gpg signed commits in python-gitpython package Updated packages in core/updates_testing: ========================================= python-gitpython-0.3.1-9.1.mga5.noarch from python-gitpython-0.3.1-9.1.mga5.src
CC: (none) => makowski.mageiaAssignee: bugsquad => qa-bugs
MGA5-32 on Acer D620 Xfce No installation issues, does not seem to break anything, but I have not been able to dream something up that uses this package # urpmq --whatrequires python-gitpython gitbuster openerp-git python-gfbi_core python-gitpython w3af openerp and gitbuster are way over my head and w3af crashes on me.
CC: (none) => herman.viaene
FYI: using https://bitbucket.org/spaetz/gitanaly that in turn uses gitpython.
Sorry this is way over my head, I won't start a study on git.
Tested on x86_64 $ cd ~ $ git clone https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git # urpmi python-gitpython $ python Python 2.7.9 (default, Dec 14 2014, 10:12:16) [GCC 4.9.2] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> from git import repo >>> rp = repo.Repo('~/linux/') >>> cm = rp.commit("ad3e2751e7") >>> cm.stats.files.keys() Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python2.7/site-packages/git/objects/commit.py", line 217, in stats if not self.parents: File "/usr/lib64/python2.7/site-packages/gitdb/util.py", line 238, in __getattr__ self._set_cache_(attr) File "/usr/lib/python2.7/site-packages/git/objects/commit.py", line 132, in _set_cache_ self._deserialize(StringIO(stream.read())) File "/usr/lib/python2.7/site-packages/git/objects/commit.py", line 443, in _deserialize self.author.name = self.author.name.decode(self.encoding) LookupError: unknown encoding: -----BEGIN PGP SIGNATURE----- >>> exit() # urpmi.update --no-ignore "Core Updates Testing" # urpmi python-gitpython $ python Python 2.7.9 (default, Dec 14 2014, 10:12:16) [GCC 4.9.2] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> from git import repo >>> rp = repo.Repo('~/linux/') >>> cm = rp.commit("ad3e2751e7") >>> cm.stats.files.keys() ['drivers/ntb/ntb_hw.c'] >>> exit() $
Whiteboard: (none) => has_procedure MGA5-64-OK
Given the extensive software infrastructure needed to test this update, and the fact that Philippe (many thanks) has tested it on x64, it has been agreed to validate it with just the one OK.
Keywords: (none) => validated_updateCC: (none) => lewyssmith, sysadmin-bugs
CC: (none) => davidwhodginsWhiteboard: has_procedure MGA5-64-OK => has_procedure MGA5-64-OK advisory
An update for this issue has been pushed to the Mageia Updates repository. http://advisories.mageia.org/MGAA-2016-0097.html
Status: NEW => RESOLVEDResolution: (none) => FIXED