Optionally exclude certain protocols from MM #144

Merged
merged 1 commit into from Nov 11, 2015

Projects

None yet

2 participants

@adrianreber
Contributor

This change adds the possibility to exclude certain
protocols to be entered in MirrorManager. The default
value in the configuration file of

MM_PROTOCOL_REGEX = '^(?!ftp)(.*)$'

will prohibit that FTP based URLs are entered at all.

The goal (as discussed in #99) is to remove FTP URLs from Fedora's
MirrorManager setup.

Signed-off-by: Adrian Reber adrian@lisas.de

@adrianreber adrianreber Optionally exclude certain protocols from MM
This change adds the possibility to exclude certain
protocols to be entered in MirrorManager. The default
value in the configuration file of

 MM_PROTOCOL_REGEX = '^(?!ftp)(.*)$'

will prohibit that FTP based URLs are entered at all.

The goal (as discussed in #99) is to remove FTP URLs from Fedora's
MirrorManager setup.

Signed-off-by: Adrian Reber <adrian@lisas.de>
b414de8
@pypingou
Member

Nice, good idea to use the form validator for this, ๐Ÿ‘

@adrianreber
Contributor

I was just copying what I saw you did for the country code validation. Thanks for the validator introduction ๐Ÿ˜„

@adrianreber adrianreber merged commit f41feb2 into fedora-infra:master Nov 11, 2015
@adrianreber adrianreber deleted the adrianreber:files branch Dec 20, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment