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

crawler: only update directories of the current category #250

Closed adrianreber closed 6 years ago

adrianreber commented 6 years ago

In one last place (hopefully) the crawler was not yet category based crawling aware. Instead of removing the not up to date directories from the current category it removed the directories from all existing host categories. The means that whenever one category is scanned, all other categories are automatically empty.

Instead of looking at all categories of a host the crawler now only looks at those categories specified on the command-line.

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

adrianreber commented 6 years ago

Fix for #249