fedora-infra / mirrormanager2

Rewrite of the MirrorManager application in Flask and SQLAlchemy
https://mirrormanager.fedoraproject.org
GNU General Public License v2.0
63 stars 46 forks source link

Let mirrors specify multiple countries #268

Open mdomsch opened 5 years ago

mdomsch commented 5 years ago

https://github.com/fedora-infra/mirrormanager2/issues/267 requests the ability for a mirror (really, a globally load balanced set of mirrors behind a single DNS name) to be able to specify the countries of their actual mirrors.

This patch lets Host.country be a comma-separated list of countries.

ott commented 2 years ago

I think this is a useful feature, in particular for smaller countries and for people who live in a border region. Several use cases in Europe come to mind. However, I think it would be preferred in the relational model to make the country column a table instead of a comma separated string. Only smaller changes would be required for it to add a model definition and migration the current data.

@mdomsch What do you think about this idea? And are you still interested in this pull request? If not, I would try to adopt it.

mdomsch commented 2 years ago

I'm not directly involved in mirrormanager maintenance anymore. The current maintainers would be in a better position to comment as to the direction they want to see here (if any).