Details
- Reviewers
vlorentz - Group Reviewers
Reviewers - Maniphest Tasks
- T3894: Add a 'swh db upgrade' cli
- Commits
- rDVAUe4c9935c1488: Adapt to swh-core 2.0.0
Diff Detail
- Repository
- rDVAU Software Heritage Vault
- Branch
- master
- Lint
Lint Skipped - Unit
Unit Tests Skipped - Build Status
Buildable 26841 Build 41960: Phabricator diff pipeline on jenkins Jenkins console · Jenkins Build 41959: arc lint + arc unit
Event Timeline
Build has FAILED
Patch application report for D7162 (id=25960)
Could not rebase; Attempt merge onto 9d2a46ed06...
Updating 9d2a46e..833dc35 Fast-forward swh/vault/__init__.py | 9 +++++++-- swh/vault/backend.py | 2 ++ swh/vault/sql/30-schema.sql | 10 ---------- swh/vault/tests/conftest.py | 27 +++++++++++++++++++-------- swh/vault/tests/test_server.py | 2 ++ 5 files changed, 30 insertions(+), 20 deletions(-)
Changes applied before test
commit 833dc351d019efbc1f60f290248aab1978010629 Author: David Douard <david.douard@sdfa3.org> Date: Mon Feb 7 13:33:02 2022 +0100 Adapt to swh-core 2.0.0 - add the `get_datastore` function in `swh.vault` - add the `get_current_version` method in `VaultBackend`, - remove dbversion management from sql init script - update tests accordingly commit 88bdab84f62d6e106bf26afe8e1e8beff327f2e7 Author: David Douard <david.douard@sdfa3.org> Date: Thu Feb 10 19:40:03 2022 +0100 Ensure the vault instance used in tests is recreated otherwise XXX
Link to build: https://jenkins.softwareheritage.org/job/DVAU/job/tests-on-diff/208/
See console output for more information: https://jenkins.softwareheritage.org/job/DVAU/job/tests-on-diff/208/console
Build has FAILED
Patch application report for D7162 (id=25962)
Could not rebase; Attempt merge onto 9d2a46ed06...
Updating 9d2a46e..6630472 Fast-forward swh/vault/__init__.py | 9 +++++++-- swh/vault/backend.py | 2 ++ swh/vault/sql/30-schema.sql | 10 ---------- swh/vault/tests/conftest.py | 27 +++++++++++++++++++-------- swh/vault/tests/test_server.py | 2 ++ 5 files changed, 30 insertions(+), 20 deletions(-)
Changes applied before test
commit 6630472ae79e41a6af1cf557dd5ca5dd4e86108f Author: David Douard <david.douard@sdfa3.org> Date: Mon Feb 7 13:33:02 2022 +0100 Adapt to swh-core 2.0.0 - add the `get_datastore` function in `swh.vault` - add the `get_current_version` method in `VaultBackend`, - remove dbversion management from sql init script - update tests accordingly commit 88bdab84f62d6e106bf26afe8e1e8beff327f2e7 Author: David Douard <david.douard@sdfa3.org> Date: Thu Feb 10 19:40:03 2022 +0100 Ensure the vault instance used in tests is recreated otherwise XXX
Link to build: https://jenkins.softwareheritage.org/job/DVAU/job/tests-on-diff/209/
See console output for more information: https://jenkins.softwareheritage.org/job/DVAU/job/tests-on-diff/209/console
Build has FAILED
Patch application report for D7162 (id=25965)
Could not rebase; Attempt merge onto 9d2a46ed06...
Updating 9d2a46e..d37b73b Fast-forward swh/vault/__init__.py | 9 +++++++-- swh/vault/backend.py | 2 ++ swh/vault/sql/30-schema.sql | 10 ---------- {sql => swh/vault/sql}/upgrades/002.sql | 0 {sql => swh/vault/sql}/upgrades/003.sql | 0 swh/vault/tests/conftest.py | 27 +++++++++++++++++++-------- swh/vault/tests/test_server.py | 2 ++ 7 files changed, 30 insertions(+), 20 deletions(-) rename {sql => swh/vault/sql}/upgrades/002.sql (100%) rename {sql => swh/vault/sql}/upgrades/003.sql (100%)
Changes applied before test
commit d37b73b12128408234dabdcb170e379bab0feeb6 Author: David Douard <david.douard@sdfa3.org> Date: Mon Feb 7 13:33:02 2022 +0100 Adapt to swh-core 2.0.0 - add the `get_datastore` function in `swh.vault` - add the `get_current_version` method in `VaultBackend`, - remove dbversion management from sql init script - update tests accordingly commit 88bdab84f62d6e106bf26afe8e1e8beff327f2e7 Author: David Douard <david.douard@sdfa3.org> Date: Thu Feb 10 19:40:03 2022 +0100 Ensure the vault instance used in tests is recreated otherwise XXX
Link to build: https://jenkins.softwareheritage.org/job/DVAU/job/tests-on-diff/210/
See console output for more information: https://jenkins.softwareheritage.org/job/DVAU/job/tests-on-diff/210/console
Build has FAILED
Patch application report for D7162 (id=25977)
Could not rebase; Attempt merge onto 9d2a46ed06...
Updating 9d2a46e..2e41370 Fast-forward swh/vault/__init__.py | 9 +++++++-- swh/vault/backend.py | 2 ++ swh/vault/sql/30-schema.sql | 10 ---------- {sql => swh/vault/sql}/upgrades/002.sql | 0 {sql => swh/vault/sql}/upgrades/003.sql | 0 swh/vault/tests/conftest.py | 27 +++++++++++++++++++-------- swh/vault/tests/test_server.py | 4 ++++ 7 files changed, 32 insertions(+), 20 deletions(-) rename {sql => swh/vault/sql}/upgrades/002.sql (100%) rename {sql => swh/vault/sql}/upgrades/003.sql (100%)
Changes applied before test
commit 2e41370329c12dcc382a95b528b19f473478e4ef Author: David Douard <david.douard@sdfa3.org> Date: Mon Feb 7 13:33:02 2022 +0100 Adapt to swh-core 2.0.0 - add the `get_datastore` function in `swh.vault` - add the `get_current_version` method in `VaultBackend`, - remove dbversion management from sql init script - update tests accordingly commit dccc245a01aef621a7439dc392f56a5a646c4764 Author: David Douard <david.douard@sdfa3.org> Date: Thu Feb 10 19:40:03 2022 +0100 Ensure the vault instance used in tests is recreated otherwise XXX
Link to build: https://jenkins.softwareheritage.org/job/DVAU/job/tests-on-diff/212/
See console output for more information: https://jenkins.softwareheritage.org/job/DVAU/job/tests-on-diff/212/console
Build is green
Patch application report for D7162 (id=25977)
Rebasing onto dccc245a01...
Current branch diff-target is up to date.
Changes applied before test
commit 2e41370329c12dcc382a95b528b19f473478e4ef Author: David Douard <david.douard@sdfa3.org> Date: Mon Feb 7 13:33:02 2022 +0100 Adapt to swh-core 2.0.0 - add the `get_datastore` function in `swh.vault` - add the `get_current_version` method in `VaultBackend`, - remove dbversion management from sql init script - update tests accordingly
See https://jenkins.softwareheritage.org/job/DVAU/job/tests-on-diff/213/ for more details.
swh/vault/backend.py | ||
---|---|---|
70 | So now, we only have to migrate that version number when migrating pg schema, right? |
swh/vault/backend.py | ||
---|---|---|
70 |
yes (and add a nnn.sql migration script). |
Build has FAILED
Patch application report for D7162 (id=26240)
Rebasing onto dccc245a01...
Current branch diff-target is up to date.
Changes applied before test
commit e4c9935c14889ee5fce387dfa6956c047c418b2d Author: David Douard <david.douard@sdfa3.org> Date: Mon Feb 7 13:33:02 2022 +0100 Adapt to swh-core 2.0.0 - add the `get_datastore` function in `swh.vault` - add the `get_current_version` method in `VaultBackend`, - remove dbversion management from sql init script - update tests accordingly
Link to build: https://jenkins.softwareheritage.org/job/DVAU/job/tests-on-diff/214/
See console output for more information: https://jenkins.softwareheritage.org/job/DVAU/job/tests-on-diff/214/console
Build is green
Patch application report for D7162 (id=26240)
Rebasing onto dccc245a01...
Current branch diff-target is up to date.
Changes applied before test
commit e4c9935c14889ee5fce387dfa6956c047c418b2d Author: David Douard <david.douard@sdfa3.org> Date: Mon Feb 7 13:33:02 2022 +0100 Adapt to swh-core 2.0.0 - add the `get_datastore` function in `swh.vault` - add the `get_current_version` method in `VaultBackend`, - remove dbversion management from sql init script - update tests accordingly
See https://jenkins.softwareheritage.org/job/DVAU/job/tests-on-diff/215/ for more details.
Build is green
Patch application report for D7162 (id=26240)
Rebasing onto dccc245a01...
Current branch diff-target is up to date.
Changes applied before test
commit e4c9935c14889ee5fce387dfa6956c047c418b2d Author: David Douard <david.douard@sdfa3.org> Date: Mon Feb 7 13:33:02 2022 +0100 Adapt to swh-core 2.0.0 - add the `get_datastore` function in `swh.vault` - add the `get_current_version` method in `VaultBackend`, - remove dbversion management from sql init script - update tests accordingly
See https://jenkins.softwareheritage.org/job/DVAU/job/tests-on-diff/216/ for more details.