Mailinglist Archive: opensuse-buildservice (256 mails)

< Previous Next >
Re: [opensuse-buildservice] obs-service-download_files and Sourceforge
On 29 August 2011 07:51, Adrian Schröter <adrian@xxxxxxx> wrote:
Am Sonntag, 28. August 2011, 13:15:22 schrieb Cristian Morales Vega:
I used this kind of source tags with SourceForge:


And the

    # Some web sites need a special user agent
    if echo $url | egrep -q '^http://[^/]*'; then
      # default wget user agent required, but /download suffix must be added

part of the download_files service is breaking it for me.
What's the logic behind appending "/download"?

That is interessting, it stopped to work without it for me since some time and
for example


works here. What is different at you side ?

I see. If I'm in

I can get this link:

And if I use it directly with wget it works. If I remove the
"/download" and try again what I get is a redirect to the same URL
with the "/download" appended.
The thing is I never tried with those links, I always clicked on them. And from

in your browser you get a web page with a "direct link" link to something as

What I always used is that, removing everything after the '?', so:

And this doesn't works if you append the "/download".

In summary:

- Works

- Works through a redirect

- Doesn't work
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups