Page MenuHomeSoftware Heritage

migrate_extrinsic_metadata: allow dash in deposit client and collection names.
ClosedPublic

Authored by vlorentz on Oct 1 2020, 7:55 PM.

Diff Detail

Event Timeline

Build is green

Patch application report for D4121 (id=14522)

Could not rebase; Attempt merge onto bef08d6316...

Merge made by the 'recursive' strategy.
 swh/storage/migrate_extrinsic_metadata.py          | 24 ++++---
 .../tests/migrate_extrinsic_metadata/test_cran.py  | 76 ++++++++++++++++++++++
 .../migrate_extrinsic_metadata/test_deposit.py     | 32 ++++-----
 3 files changed, 108 insertions(+), 24 deletions(-)
Changes applied before test
commit f1949163f19cc157c6190f1e3c84c6d9202f8b54
Merge: bef08d63 b6a10e5e
Author: Jenkins user <jenkins@localhost>
Date:   Thu Oct 1 17:58:56 2020 +0000

    Merge branch 'diff-target' into HEAD

commit b6a10e5ee038c2dcd5748fe924d9cf8cb0fe40fc
Author: Valentin Lorentz <vlorentz@softwareheritage.org>
Date:   Thu Oct 1 19:54:57 2020 +0200

    migrate_extrinsic_metadata: allow dash in deposit client and collection names.

commit 5fa348ba82c9d8449db40dfe67285137f8d66703
Author: Valentin Lorentz <vlorentz@softwareheritage.org>
Date:   Thu Oct 1 19:53:53 2020 +0200

    migrate_extrinsic_metadata: update name of column deposit.swhid_context.
    
    It was renamed in 4d72d1be529a568784842f5c0864e862a4b4705c.

commit a56dbbc055dc233841cc9fdb5c37ca622a7d121d
Author: Valentin Lorentz <vlorentz@softwareheritage.org>
Date:   Wed Sep 30 13:07:49 2020 +0200

    migrate_extrinsic_metadata: Add support for the current format of original_artifacts written by the CRAN loader.

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

This revision is now accepted and ready to land.Oct 2 2020, 10:02 AM
This revision was landed with ongoing or failed builds.Oct 2 2020, 11:08 AM
This revision was automatically updated to reflect the committed changes.

Build is green

Patch application report for D4121 (id=14537)

Rebasing onto a6af589ada...

First, rewinding head to replay your work on top of it...
Fast-forwarded diff-target to base-revision-998-D4121.
Changes applied before test

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