This installs a swh loader subcommand. This allows loading of url for a given loader.
This also aligns the npm loader's constructor to be consistent with other loaders (having only one url as constructor parameter).
Related to T2134
Build has FAILED
Link to build: https://jenkins.softwareheritage.org/job/DLDBASE/job/tox/257/ See console output for more information: https://jenkins.softwareheritage.org/job/DLDBASE/job/tox/257/console
(that still cannot pass green here though, need to land the loaders' first D2395)
Link to build: https://jenkins.softwareheritage.org/job/DLDBASE/job/tox/258/ See console output for more information: https://jenkins.softwareheritage.org/job/DLDBASE/job/tox/258/console
Link to build: https://jenkins.softwareheritage.org/job/DLDBASE/job/tox/261/ See console output for more information: https://jenkins.softwareheritage.org/job/DLDBASE/job/tox/261/console
Build is green See https://jenkins.softwareheritage.org/job/DLDBASE/job/tox/262/ for more details.
Rebase on latest master
Build is green See https://jenkins.softwareheritage.org/job/DLDBASE/job/tox/263/ for more details.
Looks good to me !
Load an origin from its url with loader <name>
nitpick: it's better to use concrete type (here Dict) when typing return value
Triggering
this should be removed I think
same here
Adapt according to review
Build is green See https://jenkins.softwareheritage.org/job/DLDBASE/job/tox/265/ for more details.
Adapt according to review (i missed one)
Link to build: https://jenkins.softwareheritage.org/job/DLDBASE/job/tox/266/ See console output for more information: https://jenkins.softwareheritage.org/job/DLDBASE/job/tox/266/console
It's packaged in debian stable so ok: python3-pytest-mock ;)
Build is green See https://jenkins.softwareheritage.org/job/DLDBASE/job/tox/267/ for more details.
Plug to master branch
Still this one to replace with mocker fixture
Build is green See https://jenkins.softwareheritage.org/job/DLDBASE/job/tox/268/ for more details.
Migrate last test with mocker fixture (missed)
Build is green See https://jenkins.softwareheritage.org/job/DLDBASE/job/tox/269/ for more details.