Coder Social home page Coder Social logo

Comments (3)

tgamblin avatar tgamblin commented on May 13, 2024

@scogland: there are some packages that use other source forge urls -- ones that end in /download. Did you look at those? For example, for tmux, you can navigate to here:

http://sourceforge.net/projects/tmux/files/tmux/tmux-1.9/

And you can copy a link that looks like this:

http://sourceforge.net/projects/tmux/files/tmux/tmux-1.9/tmux-1.9a.tar.gz/download

I think that URL will work with Spack and is also stable (and doesn't need their URL annotation crap). Can you see if this fixes things? I am hesitant to include a change for something that tacks weird parameters onto the end of URLs.

I wish there was some crowdsourced place I could go to pay for projects I like to get off of source forge...

from spack.

trws avatar trws commented on May 13, 2024

Unfortunately, that's the problem. That used to work. Now I get an
html file named "download" or "download.html" depending on whether you
use curl -O or wget respectively. Does it still work for you?

Using the same URL in a browser or elinks will follow the delayed
redirect and get the actual file, but I don't know a way to get one of
the basic download programs to handle it. I have some python code
somewhere for invoking an external V8 javascript interpreter to follow
this kind of redirect, but that's a lot heavier and a lot more
invasive...

On 18 Jun 2015, at 0:43, Todd Gamblin wrote:

@scogland: there are some packages that use other source forge urls --
ones that end in /download. Did you look at those? For example, for
tmux, you can navigate to here:

http://sourceforge.net/projects/tmux/files/tmux/tmux-1.9/

And you can copy a link that looks like this:

http://sourceforge.net/projects/tmux/files/tmux/tmux-1.9/tmux-1.9a.tar.gz/download

I think that URL will work with Spack and is also stable (and doesn't
need their URL annotation crap). Can you see if this fixes things? I
am hesitant to include a change for something that tacks weird
parameters onto the end of URLs.

I wish there was some crowdsourced place I could go to pay for
projects I like to get off of source forge...


Reply to this email directly or view it on GitHub:
#59 (comment)

from spack.

trws avatar trws commented on May 13, 2024

Closing, this is a configuration issue that needs a completely different solution. For anyone that finds this by searching, check to make sure your ~/.curlrc is not setting the user agent, it causes sourceforge to indirect out the direct-download link and inject adds.

from spack.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.