[aur-general] AUR4 refuses to accept *any* commit that doesn't have a .SRCINFO
kyleterrien at gmail.com
Tue May 26 00:19:07 UTC 2015
I just submitted my first package, so I'm still learning. However,
because I forgot to include a .SRCINFO file until the last commit (i.e
several commits including the first did not have .SRCINFO), AUR4 refused
to accept anything altogether.
kyle at landru ~/builds/aur4/wmload :(
$ git push -v origin master
Pushing to ssh+git://email@example.com/wmload.git
X11 forwarding request failed on channel 0
Counting objects: 12, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (9/9), done.
Writing objects: 100% (12/12), 1.79 KiB | 0 bytes/s, done.
Total 12 (delta 2), reused 0 (delta 0)
remote: error: The following error occurred when parsing commit
remote: error: d495231b82fd541d626b46aafbfba78d5302e53f:
remote: error: missing .SRCINFO
remote: error: hook declined to update refs/heads/master
! [remote rejected] master -> master (hook declined)
error: failed to push some refs to 'ssh+git://firstname.lastname@example.org/wmload.git'
So, now I apparently have to rewrite git history so that *every* commit
has .SRCINFO. (Bear in mind I already copied the repo to GitHub, so I
have multiple copies to correct.) IMHO, there should be a clear warning
on the wiki page about this.
I eventually gave up and re-initted the repos.
This begs some questions:
1. Is there any way to generate the .SRCINFO file without doing the
2. Why is .SRCINFO even needed? Why can't AUR parse the raw PKGBUILD?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 819 bytes
Desc: OpenPGP digital signature
More information about the aur-general