You are not logged in.

#1 2019-10-18 19:00:24

tbhaxor
Member
Registered: 2019-10-18
Posts: 2

Unable to publish AUR package

I have cloned a repo

$ git clone https://aur.archlinux.org/libfirefly-git.git

. I am unable to push it to the repository because of

remote: error: The following error occurred when parsing commit
remote: error: 1b27e377e25d773e7e9b4b78712b1c0580162b9c:
remote: error: missing .SRCINFO
remote: error: hook declined to update refs/heads/master
To ssh://aur.archlinux.org/libfirefly-git.git
 ! [remote rejected] master -> master (hook declined)
error: failed to push some refs to 'ssh://aur@aur.archlinux.org/libfirefly-git.git'

But the .SRCINFO file exists in the current directory

$ ll
total 20
drwxr-xr-x 3 terabyte terabyte 4096 Oct 19 00:27 .
drwxr-xr-x 3 terabyte terabyte 4096 Oct 18 23:50 ..
drwxr-xr-x 8 terabyte terabyte 4096 Oct 19 00:35 .git
-rw-r--r-- 1 terabyte terabyte  825 Oct 19 00:22 PKGBUILD
-rw-r--r-- 1 terabyte terabyte  311 Oct 19 00:35 .SRCINFO

Offline

#2 2019-10-18 19:04:37

progandy
Member
Registered: 2012-05-17
Posts: 5,199

Re: Unable to publish AUR package

All commits have to contain a PKGBUILD with the matching .SRCINFO, not only the most recent one.


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Online

Board footer

Powered by FluxBB