Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto resolve Apache mirror site #107

Closed
janhoy opened this issue Jan 8, 2019 · 5 comments
Closed

Auto resolve Apache mirror site #107

janhoy opened this issue Jan 8, 2019 · 5 comments
Labels

Comments

@janhoy
Copy link

janhoy commented Jan 8, 2019

This role defaults to downloading Solr from https://archive.apache.org/dist
This is a very bad practice, as Apache is a non profit organization with very limited server resources, and if everybody started downloading directly from Apache servers, it would be very costly. That's why the mirror system was created. See the text in bold on the archive site: "Please do not download from apache.org"

The role should instead resolve the nearest mirror and use that for downloading (can be done by simply calling https://www.apache.org/dyn/closer.lua?asjson and parsing the root URL from "preferred", and if that returns 404, then fallback to the root URL from "backup".

@stale
Copy link

stale bot commented Mar 6, 2020

This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!

Please read this blog post to see the reasons why I mark issues as stale.

@stale stale bot added the stale label Mar 6, 2020
@janhoy
Copy link
Author

janhoy commented Mar 6, 2020

I still think this is worth addressing but I don’t have the bandwidth right now.

@stale
Copy link

stale bot commented Mar 6, 2020

This issue is no longer marked for closure.

@stale stale bot removed the stale label Mar 6, 2020
@stale
Copy link

stale bot commented Jun 4, 2020

This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!

Please read this blog post to see the reasons why I mark issues as stale.

@stale stale bot added the stale label Jun 4, 2020
@stale
Copy link

stale bot commented Jul 4, 2020

This issue has been closed due to inactivity. If you feel this is in error, please reopen the issue or file a new issue with the relevant details.

@stale stale bot closed this as completed Jul 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant