Unify

This MR splits the importer into a script and a library.

From now on, the importer's code lives in debexpo/importer/importer.py while the script is still accessible at bin/debexpo_importer.py The files debexpo/cronjobs/importuploads.py and debexpo/tests/importer/__init__.py has been updated to use the importer lib.

Tested with success:

  • CI pipeline
  • import with debexpo_importer.py
  • import with debexpo_worker.py

Relates to #5 (closed)

Merge request reports

Loading