Page MenuHomeSoftware Heritage

pypi: Load the content of the API's response as extrinsic snapshot metadata.
ClosedPublic

Authored by vlorentz on Jul 31 2020, 4:51 PM.

Diff Detail

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

Event Timeline

Build is green

Patch application report for D3677 (id=12934)

Could not rebase; Attempt merge onto c510d10d23...

Updating c510d10..888d043
Fast-forward
 swh/loader/package/deposit/loader.py       |  2 -
 swh/loader/package/loader.py               |  2 +-
 swh/loader/package/nixguix/loader.py       |  4 +-
 swh/loader/package/npm/loader.py           | 25 ++++++++++++-
 swh/loader/package/npm/tests/test_npm.py   | 52 ++++++++++++++++++++++++--
 swh/loader/package/pypi/loader.py          | 26 ++++++++++++-
 swh/loader/package/pypi/tests/test_pypi.py | 60 +++++++++++++++++++++++++++++-
 7 files changed, 156 insertions(+), 15 deletions(-)
Changes applied before test
commit 888d0433da901dc08b2b7c8a4b61395346393c69
Author: Valentin Lorentz <vlorentz@softwareheritage.org>
Date:   Fri Jul 31 16:51:06 2020 +0200

    pypi: Load the content of the API's response as extrinsic snapshot metadata.

commit 59ee139191489e002488393410b17f22c7a57e25
Author: Valentin Lorentz <vlorentz@softwareheritage.org>
Date:   Fri Jul 31 16:34:34 2020 +0200

    Add a default value for RawExtrinsicMetadataCore.discovery_date

commit deb38d7fdd1fdb1c9ac476f6ca72cf492b0503aa
Author: Valentin Lorentz <vlorentz@softwareheritage.org>
Date:   Fri Jul 31 15:44:32 2020 +0200

    npm: Load the content of the API's response as extrinsic snapshot metadata.

See https://jenkins.softwareheritage.org/job/DLDBASE/job/tests-on-diff/240/ for more details.

This revision is now accepted and ready to land.Jul 31 2020, 6:00 PM

Build was aborted

Patch application report for D3677 (id=12942)

Rebasing onto c510d10d23...

Current branch diff-target is up to date.
Changes applied before test
commit e77b28ad17f57b390b5c76bb8a498137fbf3a307
Author: Valentin Lorentz <vlorentz@softwareheritage.org>
Date:   Fri Jul 31 16:51:06 2020 +0200

    pypi: Load the content of the API's response as extrinsic snapshot metadata.

commit 9e68402d2f5ace81e3b16113fc2026eae5a328c1
Author: Valentin Lorentz <vlorentz@softwareheritage.org>
Date:   Fri Jul 31 16:34:34 2020 +0200

    Add a default value for RawExtrinsicMetadataCore.discovery_date

commit 0ee6220db1dbff44a62a058281690b1f1d2c5282
Author: Valentin Lorentz <vlorentz@softwareheritage.org>
Date:   Fri Jul 31 15:44:32 2020 +0200

    npm: Load the content of the API's response as extrinsic snapshot metadata.

Link to build: https://jenkins.softwareheritage.org/job/DLDBASE/job/tests-on-diff/246/
See console output for more information: https://jenkins.softwareheritage.org/job/DLDBASE/job/tests-on-diff/246/console

Build is green

Patch application report for D3677 (id=12952)

Could not rebase; Attempt merge onto c510d10d23...

Updating c510d10..406a260
Fast-forward
 swh/loader/package/deposit/loader.py       |  2 -
 swh/loader/package/loader.py               |  2 +-
 swh/loader/package/nixguix/loader.py       |  4 +-
 swh/loader/package/npm/loader.py           | 23 +++++++++++-
 swh/loader/package/npm/tests/test_npm.py   | 52 ++++++++++++++++++++++++--
 swh/loader/package/pypi/loader.py          | 26 ++++++++++++-
 swh/loader/package/pypi/tests/test_pypi.py | 60 +++++++++++++++++++++++++++++-
 7 files changed, 154 insertions(+), 15 deletions(-)
Changes applied before test
commit 406a26055119d7ac2266b9183f6ea3992893e67d
Author: Valentin Lorentz <vlorentz@softwareheritage.org>
Date:   Fri Jul 31 16:51:06 2020 +0200

    pypi: Load the content of the API's response as extrinsic snapshot metadata.

commit 8901a06e32fcdeefc90e2b6fd67d75b29a340910
Author: Valentin Lorentz <vlorentz@softwareheritage.org>
Date:   Fri Jul 31 16:34:34 2020 +0200

    Add a default value for RawExtrinsicMetadataCore.discovery_date

commit 61aea4a2c1731f118b58ccd2d45225d64518d2bf
Author: Valentin Lorentz <vlorentz@softwareheritage.org>
Date:   Fri Jul 31 15:44:32 2020 +0200

    npm: Load the content of the API's response as extrinsic snapshot metadata.

See https://jenkins.softwareheritage.org/job/DLDBASE/job/tests-on-diff/249/ for more details.