Page MenuHomeSoftware Heritage

Postgres backend: rename raw_extrinsic_metadata.id to target
ClosedPublic

Authored by olasd on Nov 3 2020, 12:00 PM.

Details

Summary

Consistently with swh.model v0.7.2

Test Plan

tox + applied the db upgrade and checked that the databases were identical

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 D4395 (id=15568)

Rebasing onto 6e3e35096f...

Current branch diff-target is up to date.
Changes applied before test
commit c30a1edde6976b545eae769059ccc401cd324741
Author: Nicolas Dandrimont <nicolas@dandrimont.eu>
Date:   Tue Nov 3 11:40:01 2020 +0100

    Postgres backend: rename raw_extrinsic_metadata.id to target

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

Missing one id -> target replacement in swh/storage/backfill.py

Build is green

Patch application report for D4395 (id=15569)

Rebasing onto 6e3e35096f...

Current branch diff-target is up to date.
Changes applied before test
commit f33db7f02582f267ccf3c503a6df7327a3863ede
Author: Nicolas Dandrimont <nicolas@dandrimont.eu>
Date:   Tue Nov 3 11:40:01 2020 +0100

    Postgres backend: rename raw_extrinsic_metadata.id to target

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

Build is green

Patch application report for D4395 (id=15576)

Rebasing onto 6e3e35096f...

Current branch diff-target is up to date.
Changes applied before test
commit 8354fe56fbe44bbb9656e9e4cf98c2546aeeaed1
Author: Nicolas Dandrimont <nicolas@dandrimont.eu>
Date:   Tue Nov 3 11:40:01 2020 +0100

    PostgreSQL: rename raw_extrinsic_metadata.id to target
    
    For consistency with swh.model v0.7.2, to prepare for the addition of
    an (intrinsic) id field to RawExtrinsicMetadata objects.

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

This revision is now accepted and ready to land.Nov 3 2020, 1:28 PM

Build is green

Patch application report for D4395 (id=15593)

Rebasing onto 8b1815572c...

Current branch diff-target is up to date.
Changes applied before test
commit 4fbf4814370f786d75a0e2fe4f54d0f802a8592b
Author: Nicolas Dandrimont <nicolas@dandrimont.eu>
Date:   Tue Nov 3 11:40:01 2020 +0100

    PostgreSQL: rename raw_extrinsic_metadata.id to target
    
    For consistency with swh.model v0.7.2, to prepare for the addition of
    an (intrinsic) id field to RawExtrinsicMetadata objects.

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