AUR web interface

Tasklist

FS#43120 - changing the name of the downloaded file in source array will be rejected by AUR

Attached to Project: AUR web interface
Opened by lilydjwg (lilydjwg) - Monday, 15 December 2014, 10:21 GMT
Last edited by Dave Reisner (falconindy) - Monday, 15 December 2014, 13:18 GMT
Task Type Bug Report
Category PKGBUILD Parser
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version 3.5.0
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

AUR rejects my package with a message saying the url in source isn't beginning with things like http://, because I change the file name with the filename::url syntax. (GitHub has poor naming for what they call releases.)

Here's my PKGBUILD: https://github.com/lilydjwg/beautifuldnsd/blob/master/archlinux/PKGBUILD
This task depends upon

Closed by  Dave Reisner (falconindy)
Monday, 15 December 2014, 13:18 GMT
Reason for closing:  Not a bug
Comment by Johannes Löthberg (demize) - Monday, 15 December 2014, 11:14 GMT
Something pretty much identical works fine for me, what’s the exact error?

Edit: Could you also upload the sourceball somewhere? (like <https://pomf.se>)
Comment by lilydjwg (lilydjwg) - Monday, 15 December 2014, 12:00 GMT
Hi, I'm sorry, I missed out the url variable. The error said something didn't start with http://, so I thought it was because some url was incorrect. But it turns out that there's a url missing.
Comment by Dave Reisner (falconindy) - Monday, 15 December 2014, 13:18 GMT
github *does* offer sanely named tarballs, btw. See dosfstools for the first example I found, i.e.

https://github.com/dosfstools/dosfstools/releases/download/v3.0.27/dosfstools-3.0.27.tar.xz

tarball contains:

dosfstools-3.0.27/
dosfstools-3.0.27/.gitignore
dosfstools-3.0.27/COPYING
dosfstools-3.0.27/ChangeLog
...
Comment by lilydjwg (lilydjwg) - Monday, 15 December 2014, 14:48 GMT
Thanks. I've just tried that kind of URLs. It seems that all such urls will be redirected to the same URL, with a Content-Disposition header indicating the prettier name. wget --content-disposition=on or curl -JOL uses that name. However, makepkg doesn't use that; it uses whatever at the end of the URL (and github seems to accept anything at that part).

So it's not github's fault to put several number-named files in my /var/cache/yaourt...

Loading...