[aur-general] pushing new package to aur fails
Lukas Fleischer
lfleischer at archlinux.org
Mon Jan 21 09:32:31 UTC 2019
On Sun, 20 Jan 2019 at 21:48:46, Eli Schwartz via aur-general wrote:
> [...]
> > remote: Traceback (most recent call last):
> > remote: File "hooks/update", line 11, in <module>
> > remote: load_entry_point('aurweb==4.7.0', 'console_scripts',
> > 'aurweb-git-update')()
> > remote: File
> > "/usr/lib/python3.7/site-packages/aurweb-4.7.0-py3.7.egg/aurweb/git/update.py",
> > line 306, in main
> > remote: KeyError: 'pkgbase'
> [...]
> You must have the PKGBUILD and .SRCINFO available in every commit -- you
> are not permitted to first commit a README and only afterwards add the
> actual AUR contents.
We do have a check in our update hook that walks every commit can
explicitly checks for .SRCINFO and PKGBUILD. I wonder why that check
does not trigger a warning (assuming that the missing files are the
actual issue).
In any case, we should avoid exceptions in the hook and probably
safeguard against this situation.
Lukas
More information about the aur-general
mailing list