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

Try to phase out GitHub packages list (or give it lesser priority) #1169

Open
xTrayambak opened this issue Dec 16, 2023 · 1 comment
Open

Comments

@xTrayambak
Copy link
Contributor

See: #1149

GitHub likes to time-out on many ISPs, and if they don't, ISPs like to poke their nose into it. Reliance Jio in India shadow-bans https://raw.githubusercontent.com because "it helps distribute pirated content" and despite a ton of people complaining to them, they just ignore us (they're a big media giant here, so that make sense).

There's a circumvention by using something like Cloudflare WARP or another VPN. I'd say that we should either phase out the GitHub package list and just run a job on the Nim website server that periodically updates the packages list from the GitHub one (like it currently does!) and remove the GitHub link as a lot of people, including me, have to wait for the GitHub link to time-out, then Nimble advances onto the Nim website mirror. If you CTRL+C during any of that, you end up with what's happening in issue #1149. Or, we can also keep the GitHub link as a fallback in case the Nim website mirror goes down for some reason.

Thoughts?

@penguinite
Copy link

penguinite commented Dec 21, 2023

Amazing suggestion

I personally think its a great idea to use the nim website mirror first for the reasons you have outlined and then the github mirror as a fallback. But it would be best if we had a non-github mirror as a fallback instead (because of the reasons you have listed)

We could actually have two different mirrors hosted on the same domain, so, main.example.com redirects to the main mirror whilst backup.example.com could redirect to a backup VPS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants