openSUSE / obs-service-download_files

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

Report download failures #12

Closed jengelh closed 3 years ago

jengelh commented 8 years ago

https://build.opensuse.org/request/show/404309 for example was rejected by the bot scripts, but all it gave was a useless message (i.e. without a reason as to why it was unable to download it):

ERROR: Failed to download "http://[...]/kid3-3.4.1.tar.gz" Source URLs are not valid. Try "osc service localrun download_files"

More often than not, downloads fail because Sourceforge cannot get its mirroring to be flawless.

Use -nv instead of -q so that the error reason is shown.

In addition, the use of -nv will cause local runs to emit success progress report lines as well, quite useful if there are a lot of source files in a SRPM (e.g. in case of asterisk-sounds).

jengelh commented 8 years ago

ping?

M0ses commented 3 years ago

Closing as with usage of curl this patch is unable to be merged and might be obsolete anyway