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

Mirrors with only a HTTPS URL cannot be crawled #183

Closed adrianreber closed 7 years ago

adrianreber commented 7 years ago

The function method_pref() in the crawler cannot correctly handle mirrors which only provide a HTTPS URL. The simplest fix would probably be to remove the ':' in u.startswith('http:').

haydenjames commented 7 years ago

Avoid adding https and use http instead? Or fixed?

adrianreber commented 7 years ago

At least one HTTP or RSYNC URL needs to be available. If that is the case HTTPS can be added.

adrianreber commented 7 years ago

Fixed by #192