fedora-infra / mirrormanager2

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

repomap: fix modular updates repository #224

Closed adrianreber closed 6 years ago

adrianreber commented 6 years ago

To make umdl detect the modular updates repositories the repomap prefix detection had to be moved under isModular. Now some update repositories are under isUpdates* and some are under isModular.

repomap.py has become unreadable and should actually be a configuration file, somehow.

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

adrianreber commented 6 years ago

The change looks more complicated than it is as I had to change the indentation level as some ifs have moved around. So basically only changes to some ifs.

adrianreber commented 6 years ago

@ralphbean

adrianreber commented 6 years ago

Any reviewers? This already verified in Fedora's production environment,

pypingou commented 6 years ago

👍 for me