Comments (3)
hi @Keerthivasan472
quoting the docs from README:
rate-mirrors stdin -- takes mirrors from stdin
Each string should comply with one of two supported formats:
tab-separated url and country (either name or country code)
tab-separated country and url -- just in case :)
url
So you need to cat
your file and preprocess its content with sed
first (to make it comply with the rules above) before you feed it to rate-mirrors
Answers to your questions:
-
eps is sigma to mean speed ratio (the lower it is, the lower are errors in speed measurements); eps checks defines number of data points to collect to start calculating the epsilon we just discussed. Default values should work fine
-
to be honest you don't need it -- because this iterative algorithm works best when you allow it to work, starting from the farthest country you can ping). If you just start from India, the tool can stop after few steps because speeds are worsening (however there's a chance that on step#4 you'd found a perfect mirror). So as a rule of thumb, the further you start, the better results are.
However, if you still want it, here it is:rate-mirrors --entry-country=IN stdin
-
can you please clarify the question about avoiding timeout errors? timeouted mirrors are just excluded from results.
As for rsync, there's no support at the moment (as far as I know http & https protocols are the only pacman-native protocols).
from rate-mirrors.
Reply @westandskif
- if i use fastest mirror even if the update is huge (ex:8gb) sometime aur helpers cause time out error to fetch packages at particular mirror
next,please give example format or file for stdin and make a blog or youtube video and explore the full potential of rate-mirrors
it will help different arch-distro users
please provide sample file to feed in stdin or show how the content look like in mirrorlist file
from rate-mirrors.
re: AUR timeouts
AUR isn't the source of your AUR package updates, neither mirrors are. So if you are installing something from AUR, please check out the PKGBUILD file of a package on AUR, to see the source it is downloading from.
I already shared that the file has to be the list of links or tab separated links and country codes.
Links are what your --path-to-test
is to be joined to for testing.
AT\thttp://mirror.easyname.at/blackarch/
https://mirrors.fosshost.org/blackarch/
So you can mix country-annotated links with unlabeled ones.
re: blog or videos: to cut it short - contributions are welcome!
a more verbose reply: I believe this isn't how open source works:) you can't just send a list of things in an imperative manner to have them done for you.
I'm comfortable with coding and improving README where needed and that's it for now. if you are willing to contribute by making vids or writing a blog post, please, do
from rate-mirrors.
Related Issues (20)
- Support geoclue if enabled HOT 1
- rate-mirrors fails when mirror list times out HOT 1
- Support for Artix linux HOT 2
- Support for different branches on Manjaro HOT 2
- The --protocol option isn't working HOT 3
- Minor typo HOT 2
- Warning at compile time HOT 1
- It doesn't compile with 'OPTIONS=(... lto)' HOT 1
- Unable to save to file owned by root HOT 1
- Permit other CPU architectures in the Arch Linux PKGBUILD HOT 1
- reuse runtime instead of spawning new ones in new Thread HOT 4
- Twice --path-to-return HOT 2
- Does the option exist to not print out the beginning? HOT 4
- PKGBUILD needs fixing HOT 5
- archarm borked HOT 2
- country-neighbors-per-country is bugged? HOT 1
- CachyOSv3 and v4 Mirrorlists HOT 8
- Feature request: config file HOT 3
- [Arch specific] Community repo has moved to Extra HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rate-mirrors.