Page MenuHomeSoftware Heritage

Fix bogus mimetype values detection in the mimetype indexer implementation
Closed, MigratedEdits Locked

Description

As explained in the parent task, the current mimetype implementation use file and parses the results.
It's opened to implementation bug.

Migrate away from file and use the already package python3-magic implementation.
This should get rid of those errors altogether.

Impacts:

  • swh-storage: to add the new indexer configuration in the db
  • swh-indexer: packaging + implementation