eli-schwartz / aurpublish

PKGBUILD management framework for the Arch User Repository
GNU General Public License v2.0
246 stars 18 forks source link

[Bug] aurpublish refuses to push package with a patch file located online #13

Closed acxz closed 4 years ago

acxz commented 4 years ago

I am trying to use aurpublish to push a package which also needs to be patched: https://github.com/acxz/pkgbuilds/tree/master/python-ray In particular we are pulling the patch from an upstream commit instead of having a local copy of it in the repo.

However, I am receiving the following output:

git push using:  aur:python-ray.git master
Enumerating objects: 7, done.
Counting objects: 100% (7/7), done.
Delta compression using up to 4 threads
Compressing objects: 100% (4/4), done.
Writing objects: 100% (4/4), 787 bytes | 787.00 KiB/s, done.
Total 4 (delta 2), reused 0 (delta 0), pack-reused 0
remote: error: The following error occurred when parsing commit
remote: error: 34d68f63bcaa768706971f89c02da22ebf951adb:
remote: error: missing source file: python-ray-0.8.4.patch
remote: error: hook declined to update refs/heads/master
To aur:python-ray.git
 ! [remote rejected] 34d68f63bcaa768706971f89c02da22ebf951adb -> master (hook declined)
error: failed to push some refs to 'aur:python-ray.git'

Is this a bug? How can I get around this issue? Thank you!

acxz commented 4 years ago

My bad, forgot to update the .SRCINFO file, everything works as expected.