Page MenuHomeSoftware Heritage

cran: fix call to logger.warning.
ClosedPublic

Authored by vlorentz on Fri, Jul 31, 5:56 PM.

Details

Summary

It errors in test_cran_parse_date, I don't understand why
it worked so far.

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

vlorentz created this revision.Fri, Jul 31, 5:56 PM
ardumont accepted this revision.Fri, Jul 31, 5:57 PM
This revision is now accepted and ready to land.Fri, Jul 31, 5:57 PM

Build is green

Patch application report for D3678 (id=12937)

Could not rebase; Attempt merge onto c510d10d23...

Updating c510d10..b958f45
Fast-forward
 swh/loader/package/cran/loader.py          |  2 +-
 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 +++++++++++++++++++++++++++++-
 8 files changed, 157 insertions(+), 16 deletions(-)
Changes applied before test
commit b958f459e53fbaf8ebd85801ef08840303f45231
Author: Valentin Lorentz <vlorentz@softwareheritage.org>
Date:   Fri Jul 31 17:56:10 2020 +0200

    cran: fix call to logger.warning.
    
    It errors in test_cran_parse_date, I don't understand why
    it worked so far.

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/241/ for more details.

vlorentz updated this revision to Diff 12948.Fri, Jul 31, 6:53 PM

fix base commit

Build is green

Patch application report for D3678 (id=12953)

Could not rebase; Attempt merge onto c510d10d23...

Updating c510d10..d1e87ed
Fast-forward
 swh/loader/package/cran/loader.py          |  2 +-
 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 +++++++++++++++++++++++++++++-
 8 files changed, 155 insertions(+), 16 deletions(-)
Changes applied before test
commit d1e87ed7bc109e35c360711cfd4b9e65500da9ca
Author: Valentin Lorentz <vlorentz@softwareheritage.org>
Date:   Fri Jul 31 17:56:10 2020 +0200

    cran: fix call to logger.warning.
    
    It errors in test_cran_parse_date, I don't understand why
    it worked so far.

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/250/ for more details.

This revision was automatically updated to reflect the committed changes.