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: "download_files" fails if PKGBUILD is loaded via obs_scm #25

Open M-Reimer opened 5 years ago

M-Reimer commented 5 years ago

If my _service looks like this, then "download_files" seems to fail silently without any visible error logged:

<services>
    <service name="obs_scm">
        <param name="scm">git</param>
        <param name="url">https://github.com/SOME/REPO.git</param>
        <param name="extract">PKGBUILD</param>
    </service>
    <service name="download_files"/>
</services>
M-Reimer commented 5 years ago

Maybe that's the source of this problem? https://github.com/openSUSE/obs-service-download_files/blob/master/download_files#L222 I think it works with ".desc" files because of the ".desc". If I get my PKGBUILD with GIT, then it has a prefix. So would it help if you change the "PKGBUILD" to "PKGBUILD"?