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
mirrors: Add centos mirror #66537
mirrors: Add centos mirror #66537
Conversation
I think this is a misuse of the mirrors feature because you don't actually provide any mirrors. The same effect can be achieved if you just put those urls in list into the |
Oh. Will try this instead! Not sure though if this will also work for: |
@veprbl While using |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be okay. They do separate by centos version on http://mirror.centos.org, but not on any of the mirrors listed on their website https://www.centos.org/download/mirrors/ .
We could also drop couple mirrors in the list like
http://ftp.ussg.iu.edu/linux/centos/
http://centos.uib.no/
Most of the mirrors suffer from the same problem: Deprecated versions will just be replaced with directories containing the readme pointing to vault.centos.org: http://ftp.ussg.iu.edu/linux/centos/7.3.1611/ I did find some mirrors for centos-vault, will add these. |
090b43c
to
7201556
Compare
This should remove the need to rename links from mirror.centos.org to vault.centos.org as the removed comment mentions.
7201556
to
484cad5
Compare
Figured while we previously used both |
Yes, I think this is a very standard strategy: most mirrors provide only current versions which are also most popular. Fewer mirrors will have enough resources to also mirror all of the releases. Nice catch with centos-{6,7}/ to centos/, indeed. |
What's next here? |
Motivation for this change
This should remove the need to rename links from mirror.centos.org to vault.centos.org as the removed comment mentions.
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nix-review --run "nix-review wip"
./result/bin/
)nix path-info -S
before and after)