[aur-general] missing source file; hook declined update
Dear all,
I'm trying to submit the following new PKGBUILD:
# Maintainer: Olaf Leidinger
On Thu, 27 Jul 2017 15:01:30 +0200
Olaf Leidinger
remote: error: 340c3119f9661343b5067bf848aaee0ac56a0028:
Does this commit contain file:// in the source entry in .SRCINFO?
On 07/27/2017 09:09 AM, Doug Newgard wrote:
On Thu, 27 Jul 2017 15:01:30 +0200 Olaf Leidinger
wrote: remote: error: 340c3119f9661343b5067bf848aaee0ac56a0028:
Does this commit contain file:// in the source entry in .SRCINFO?
+1 You almost certainly added a commit without file:// and then added a new commit to fix that. But the AUR validates every commit, not just the contents of the final pushed commit, so you'll need to rebase... -- Eli Schwartz
On 27 July 2017 15:09:05 CEST, Doug Newgard
Does this commit contain file:// in the source entry in .SRCINFO?
It does, c.f the srcinfo file in the original mail.
On 07/27/2017 10:39 AM, Olaf Leidinger wrote:
On 27 July 2017 15:09:05 CEST, Doug Newgard
wrote: Does this commit contain file:// in the source entry in .SRCINFO?
It does, c.f the srcinfo file in the original mail.
I would really double-check if I were you. https://git.archlinux.org/aurweb.git/tree/aurweb/git/update.py?h=v4.5.1#n338 See the block 'if "://" in fname or "lp:" in fname: continue' ... Use `git show 340c3119f9661343b5067bf848aaee0ac56a0028:.SRCINFO` to check what the AUR validator is actually looking at. -- Eli Schwartz
Use `git show 340c3119f9661343b5067bf848aaee0ac56a0028:.SRCINFO` to check what the AUR validator is actually looking at. That was the key! It would seem that the hook analyzes individual commits, but not the last version. I started out without file://, but added it on the second commit. Squashing it all together and doing a force push solved the problem. Thanks :)
participants (3)
-
Doug Newgard
-
Eli Schwartz
-
Olaf Leidinger