Use zlib's "fossil" site for old tarballs#2735
Conversation
Following citibeth's suggestion in spack#2732, use zlib's "fossil" site (not to be confused with the sqlite team's VCS...) for retrieving old tarballs. Digests for 1.2.{8,10} match and both install for me on CentOS 7.
|
@citibeth -- just in case you haven't already been deluged with email etc... about this.... |
|
Thanks for taking this up. I'm not able to do this today, unfortunately. But I recommend the following. Basically, the |
|
Also.. can someone please point me to what |
|
The default URL can probably be the new one and the |
|
I can find no docs explaining that use of list_url. This seema hacky to me.
…On Jan 4, 2017 1:01 PM, "Adam J. Stewart" ***@***.***> wrote:
The default URL can probably be the new one and the list_url can be the
old one. If we substitute the version with url and it exists, we use it.
If it doesn't exist, we try searching list_url as a backup. So the
list_url should be http://zlib.net/fossils/. Btw, this doesn't fix the
real underlying issue I brought up in #2725
<#2725>.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2735 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AB1cd_pOM--4e05crO-HipzhtwkMAv4nks5rO95ggaJpZM4LazHZ>
.
|
Everything seems to be available at zlib's "fossil" URL, so just use it as the one and only url. (and fix a flake8 complaint about a comment)
|
@adamjstewart -- how does this look to you? |
|
@citibeth: did you try searching for |
|
This looks good. At first I didn't see |
|
@citibeth: that is a good point. We should update the docs to mention that the |
#2720) * Update to latest zlib version, server no longer provides older version Funded-by: IDEAS Project: IDEAS/xSDK * Add alternative URL for previous release of zlib
Even after thinking about it, that is not clear or obvious to me.
Sorry, this feels kludgy; like it's the first thing that came to somebody's mind, without any design review. A more obvious (to me) way to provide alternative download locations would be something like: This has many advantages:
|
|
As it currently stands, the PR no longer uses @adamjstewart seems happy with it in its new form. LGTM (let's see if that confuses @tgamblin 😄 [joke from another PR...]) |
|
@citibeth: sure, that's potentially better. That's not what's implemented, and this PR is about fixing |
|
@hartzell: did I get it right? |
|
@tgamblin: exactly! ;) |
|
@hartzell Thanks! |
I like that idea! |
Following citibeth's suggestion in #2732, use zlib's "fossil"
site (not to be confused with the sqlite team's VCS...) for retrieving
old tarballs.
Digests for 1.2.{8,10} match and both install for me on CentOS 7.
This is an alternative to #2733, which relies on sourceforge (something I try to avoid...).