[aur-general] AUR hook: "missing source files"
scimmia at archlinux.info
Mon May 2 16:39:14 UTC 2016
On Mon, 2 May 2016 17:14:08 +0100
Eric Engestrom <eric at engestrom.ch> wrote:
> Hi all,
> I wrote a package for the Coverity  scan build tool, but they require
> manual download of their tarball, hidden behind a login . Because
> of that, my `source` array contains a filename with no URL, as you're
> meant to download it manually and build the package afterwards.
> When trying to upload my package to the AUR, its hook rejects it,
> citing "missing source file":
> remote: error: The following error occurred when parsing commit
> remote: error: f468427b563a71e81656a849b1145166be3449ec:
> remote: error: missing source file: cov-analysis-linux32-18.104.22.168.tar.gz
> remote: error: hook declined to update refs/heads/master
> To aur at aur.archlinux.org:cov-analysis
> ! [remote rejected] master -> master (hook declined)
> error: failed to push some refs to 'aur at aur.archlinux.org:cov-analysis'
> I can bypass that check by adding an empty file that will fail checksum
> check when the user tries to use it, but I'd prefer no file to be there,
> so it's clear to the user that they need to download the file using the
> provided URL.
> I've pushed it on my GitHub  in the mean time, so you can have a look
> and tell me if I'm doing something dumb :]
> : https://scan.coverity.com/
> : https://scan.coverity.com/download
> : https://github.com/1ace/cov-analysis
Simply use a "file://" prefix in the source array.
More information about the aur-general