Page MenuHomeSoftware Heritage

package.archive: Move archive loader to its own namespace

Authored by ardumont on Dec 4 2019, 1:47 PM.



This is pre-requisite work towards the unified cli.

(Other package loaders have been migrated the same way, i won't open similar diffs as this though, it's time consuming for everyone for little benefit)

This implies a scheduler's task_type migration on their backend name (P567)

Related to T2134

Test Plan


Diff Detail

rDLDBASE Generic VCS/Package Loader
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

Reuse the same conftest configuration between tests (instead of duplication)

Adapt accordingly

ardumont edited the summary of this revision. (Show Details)
This revision is now accepted and ready to land.Dec 5 2019, 12:04 PM
  • package.npm: Move npm loader to its own namespace
  • package.pypi: Move pypi loader to its own namespace
  • loader.package: Remove dead code

Diff against origin/master and plug to master branch