~xenrox/infrastructure#26: 
srht: Fix git "Internal Error"

git.sr.ht itself works, but when trying to open a repository it crashes with "Internal Error". Important part of the traceback:

AttributeError: '_pygit2.Oid' object has no attribute 'hex'
Status
RESOLVED FIXED
Submitter
~xenrox
Assigned to
No-one
Submitted
10 months ago
Updated
8 months ago
Labels
bug service

~xenrox 10 months ago*

Some deprecated functions were recently removed from pygit2.

To fix this, I will temporarily build older versions of pygit2 and libgit2 and write a patch to update all calls to such functions . Close this issue, when the patched package is deployed.

~xenrox 10 months ago

Thorben Günther referenced this ticket in commit ae5d1c7.

~xenrox REPORTED FIXED 8 months ago

sourcehut works with recent libgit2 and pygit2 versions now.