openSUSE / obs-service-download_files

An OBS source service: download files
GNU General Public License v2.0
8 stars 23 forks source link

Arch Linux: Sources provided by brace expansion fail to download #27

Open jonathonf opened 5 years ago

jonathonf commented 5 years ago

A very common pattern for Arch PKGBUILD files is to use brace expansion in the source listing, e.g.:

source=("https://download.savannah.gnu.org/releases/${pkgname}/${pkgname}-${pkgver}.tar.gz"{,.sig})

download_files parses this as a single download URL and so fails to download either the archive or its signature.

I presume it's related to this line:

https://github.com/openSUSE/obs-service-download_files/blob/ba8fe5c8c7e8a4a83db1e78175ce3b63dce48434/download_files#L225

so this might actually be an issue with the "Build" Perl module...