Page MenuHomeSoftware Heritage

cassandra/in_memory: rename raw_extrinsic_metadata.id to target
ClosedPublic

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

Details

Summary

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

Depends on D4395

Test Plan

tox

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 D4396 (id=15577)

Could not rebase; Attempt merge onto 6e3e35096f...

Updating 6e3e3509..0d10dbec
Fast-forward
 sql/upgrades/164.sql                 |  9 +++++++++
 swh/storage/backfill.py              |  4 ++--
 swh/storage/cassandra/cql.py         | 21 ++++++++++++---------
 swh/storage/cassandra/model.py       |  4 ++--
 swh/storage/cassandra/schema.py      |  6 +++---
 swh/storage/cassandra/storage.py     |  4 ++--
 swh/storage/in_memory.py             | 14 ++++++++------
 swh/storage/postgresql/converters.py |  2 +-
 swh/storage/postgresql/db.py         | 18 +++++++++---------
 swh/storage/postgresql/storage.py    |  4 ++--
 swh/storage/sql/30-schema.sql        |  6 +++---
 swh/storage/sql/60-indexes.sql       |  2 +-
 12 files changed, 54 insertions(+), 40 deletions(-)
 create mode 100644 sql/upgrades/164.sql
Changes applied before test
commit 0d10dbec4deadc2e14ff40c8de41f661511e6364
Author: Nicolas Dandrimont <nicolas@dandrimont.eu>
Date:   Tue Nov 3 12:46:23 2020 +0100

    cassandra/in_memory: 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.

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

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

Build is green

Patch application report for D4396 (id=15594)

Could not rebase; Attempt merge onto 8b1815572c...

Updating 8b181557..48b6dbe4
Fast-forward
 sql/upgrades/164.sql                 |  9 +++++++++
 swh/storage/backfill.py              |  4 ++--
 swh/storage/cassandra/cql.py         | 21 ++++++++++++---------
 swh/storage/cassandra/model.py       |  4 ++--
 swh/storage/cassandra/schema.py      |  6 +++---
 swh/storage/cassandra/storage.py     |  4 ++--
 swh/storage/in_memory.py             | 14 ++++++++------
 swh/storage/postgresql/converters.py |  2 +-
 swh/storage/postgresql/db.py         | 18 +++++++++---------
 swh/storage/postgresql/storage.py    |  4 ++--
 swh/storage/sql/30-schema.sql        |  6 +++---
 swh/storage/sql/60-indexes.sql       |  2 +-
 12 files changed, 54 insertions(+), 40 deletions(-)
 create mode 100644 sql/upgrades/164.sql
Changes applied before test
commit 48b6dbe468ad71a601285c0d3b80cbe0f15d5ece
Author: Nicolas Dandrimont <nicolas@dandrimont.eu>
Date:   Tue Nov 3 12:46:23 2020 +0100

    cassandra/in_memory: 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.

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