Page MenuHomeSoftware Heritage

migrate_extrinsic_metadata: add support for guix revisions
ClosedPublic

Authored by vlorentz on Oct 22 2020, 12:33 PM.

Diff Detail

Repository
rDSTO Storage manager
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 D4326 (id=15307)

Could not rebase; Attempt merge onto 2bfd9febd0...

Updating 2bfd9feb..aeb72c71
Fast-forward
 swh/storage/migrate_extrinsic_metadata.py          | 32 +++++++++++++++++++---
 .../tests/migrate_extrinsic_metadata/test_pypi.py  |  7 +++++
 2 files changed, 35 insertions(+), 4 deletions(-)
Changes applied before test
commit aeb72c71d007175904e553cf064acf6a9cfb70c2
Author: Valentin Lorentz <vlorentz@softwareheritage.org>
Date:   Thu Oct 22 12:32:48 2020 +0200

    migrate_extrinsic_metadata: add support for guix revisions

commit 73dc5e32ed0d55dcbf6f681b719892507038d9de
Author: Valentin Lorentz <vlorentz@softwareheritage.org>
Date:   Thu Oct 22 12:28:18 2020 +0200

    migrate_extrinsic_metadata: allow deposits with 'id' missing from their metadata.

commit c48306642bf1b170d091e2d8d95bee5cb2168b2f
Author: Valentin Lorentz <vlorentz@softwareheritage.org>
Date:   Thu Oct 22 12:26:33 2020 +0200

    migrate_extrinsic_metadata: add support for guessing the origin of more PyPI packages from filenames.
    
    It now supports all pypi revisions with an id starting with an hex digit
    from 0 to 5.

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

This revision is now accepted and ready to land.Oct 22 2020, 1:03 PM