flathub-infra / flatpak-external-data-checker

A tool for checking if the external data used in Flatpak manifests is still up to date
GNU General Public License v2.0
115 stars 34 forks source link

Make checkers optional #349

Closed gasinvein closed 1 year ago

gasinvein commented 1 year ago

Some checkers require specific modules, namely DebianRepoChecker needs python-apt module, which isn't always easily obtainable on non-Debian-based distros, and not available at all outside Linux. I believe we can just ignore checker modules that fail to load due to an import error; this way x-checker-data that use such checker will be just skipped.