Hi, I have an issue trying to update a package in AUR. I get the following error: $ aurpublish python-tweedledum git push using: aur:python-tweedledum.git master Enumerating objects: 12, done. Counting objects: 100% (12/12), done. Delta compression using up to 8 threads Compressing objects: 100% (9/9), done. Writing objects: 100% (9/9), 870.96 KiB | 6.80 MiB/s, done. Total 9 (delta 4), reused 0 (delta 0), pack-reused 0 remote: Checking connectivity: 9, done. remote: error: The following error occurred when parsing commit remote: error: ef079835003ac029a21f2bcec32ece1a62bc19d0: remote: error: maximum blob size (488.28KiB) exceeded remote: error: hook declined to update refs/heads/master To aur:python-tweedledum.git ! [remote rejected] c19571c71b3b6c9d3ea28ba069d965b22509bd0a -> master (hook declined) I think the issue is that in the past I commited a large patch file (by mistake) instead of including the url in the sources array (that's commit ef079835), and somehow the remote didn't complain back then but it does now. I have removed that patch and replace it with the upstream url, but I can't push a new version. This is what I'm trying to commit: https://github.com/iyanmv/PKGBUILDs/commit/ 5e642048f438b3857007621d8b778689776244f3 Hopefully some trusted user can help me. Thanks, Iyán -- Iyán Méndez Veiga GPG 0x422E3694311E5AC1
Hey Iyán,
I think the issue is that in the past I commited a large patch file (by mistake) instead of including the url in the sources array (that's commit ef079835), and somehow the remote didn't complain back then but it does now.
I have removed that patch and replace it with the upstream url, but I can't push a new version. This is what I'm trying to commit:
https://github.com/iyanmv/PKGBUILDs/commit/5e642048f438b3857007621d8b7786897...
Yes that indeed seems to be the issue here. If you compare the history of the PKGBUILD on GitHub[0] and on the aur[1] seems that the problematic commit is currently not in the aur and would only be added once your push goes through. You could try to remove the patch file from the problematic commits[2][3] and re-publish using aurpublish. Another solution which is maybe more easily doable is to directly clone the aur repo of python-tweedledum, re-apply and push the fixed changes (so without the big patch) and re-import the package into your GitHub repository. There is currently no need to rewrite the git history on the AUR, so you should be able to do this without TU support :) cheers, chris [0] https://github.com/iyanmv/PKGBUILDs/commits/main/python-tweedledum/PKGBUILD [1] https://aur.archlinux.org/cgit/aur.git/log/?h=python-tweedledum [2] https://github.com/iyanmv/PKGBUILDs/commit/03f29bc9219ecc3c35e969011dc810484... [3] https://github.com/iyanmv/PKGBUILDs/commit/5e642048f438b3857007621d8b7786897...
participants (2)
-
Christian Heusel
-
Iyán Méndez Veiga