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

Automatically choosing fastest mirror #102

Open
pidario opened this issue Mar 11, 2024 · 2 comments
Open

Automatically choosing fastest mirror #102

pidario opened this issue Mar 11, 2024 · 2 comments

Comments

@pidario
Copy link

pidario commented Mar 11, 2024

Hello there!

I believe that automatically choosing the fastest mirror would be a nice addition to this project, in the same fashion of flexo.
I think it uses this endpoint to retrieve all the official mirrors and then ranks them.
This way the configuration file could be even simpler: the user could omit entirely the repos section and then pacoloco should probably serve packages from the root path (http://<HOSTNAME>:9129/$repo/os/$arch)

What do you think?

Apologies if this has already been asked, but I couldn't find anything like it.

@anatol
Copy link
Owner

anatol commented Mar 12, 2024

Yep, I think it is a great feature.

the user could omit entirely the repos

pacoloco implemented to handle multiple different repositories. The automatic sorting works for the default arch repository. Other repositories still need to be configured with repos.

@pidario
Copy link
Author

pidario commented Mar 12, 2024

Glad that you agree.
Yes, indeed that would work for default repositories only.

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