Repository navigation
Added a mirror for the astropy data repository - #5547
Conversation
|
I'll finish this up tomorrow morning. I need to figure out whether the dataurl config item can be changed to a list at this point (or if config items even support list inputs) |
|
@astrofrog - if you look at Also, I'm realizing a downside of this: the caching machinery will double-cache these files because they have different URLs :( I don't think there's an easy fix for that, although a long-term solution might be too add a |
|
@astrofrog - Would be nice to have this in the next release. Could you rebase to get the changelog moved to 2.0? |
|
@bsipocz , I moved the change log for as requested. @eteq , as for making the config item from a string to a list, it would require some aliasing and deprecation warning, which is more work. I think we can re-consider that if we have more than one mirrors. Otherwise, this looks sufficient for now (despite some code duplication). |
|
Thanks @pllim! |
In view of the STScI server being down this weekend, this seems like a good time to add a config item for a mirror for data.astropy.org :) While doing this, I realized that in the remote-data plugin, I need to actually read the URLs from the astropy.utils.data config not hard-code URLs....