You are not logged in.
I'm trying to publish a package to the AUR using
git push aur master
However, I'm getting the following error:
Enumerating objects: 753, done.
Counting objects: 100% (753/753), done.
Delta compression using up to 12 threads
Compressing objects: 100% (600/600), done.
Writing objects: 100% (753/753), 2.63 MiB | 3.87 MiB/s, done.
Total 753 (delta 449), reused 310 (delta 149), pack-reused 0
remote: Resolving deltas: 100% (449/449), done.
remote: Checking connectivity: 753, done.
remote: Traceback (most recent call last):
remote: File "<string>", line 1, in <module>
remote: File "/srv/http/aurweb/aurweb/git/update.py", line 280, in main
remote: blob = repo[treeobj.id]
remote: File "/home/aur/.cache/pypoetry/virtualenvs/aurweb-SGBSfGik-py3.10/lib/python3.10/site-packages/pygit2/repository.py", line 210, in __getitem__
remote: raise KeyError(key)
remote: KeyError: 6ea69eca6817aead20a2cb87cdd08ab8e9a173cd
remote: error: hook declined to update refs/heads/master
To ssh://aur.archlinux.org/nickvision-tagger.git
! [remote rejected] master -> master (hook declined)
error: failed to push some refs to 'ssh://aur.archlinux.org/nickvision-tagger.git'
Any insight?
Offline
That appears to be a bug triggered by an unhandled edge case regarding the repo's state [1],
I suggest you file a bug report on either GitHub or FlySpray.
Online