[aur-general] AUR4 refuses to accept *any* commit that doesn't have a .SRCINFO
kyleterrien at gmail.com
Tue May 26 03:17:04 UTC 2015
On 05/25/2015 07:15 PM, Doug Newgard wrote:
> On Mon, 25 May 2015 17:19:07 -0700
> Kyle Terrien <kyleterrien at gmail.com> wrote:
>> 1. Is there any way to generate the .SRCINFO file without doing the
>> tar/untar workaround?
> mksrcinfo from pkgbuild-introspection-git. You can easily use it to add it to
> all commmits with git filter-branch --tree-filter
Wow! I didn't know about mksrcinfo, but I'm definitely using it now.
And according to the manual, that git filter-branch command actually
modifies every commit in the repo. I had no idea you could do that.
Git never ceases to amaze me.
>> 2. Why is .SRCINFO even needed? Why can't AUR parse the raw PKGBUILD?
> There are no decent bash parsers out there. To get real info, they would have
> to be sourced/executed, which is a huge security risk.
I wonder if Perl can parse it. I'll have to try a couple of experiments
Thank you so much,
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 819 bytes
Desc: OpenPGP digital signature
More information about the aur-general