Fixing the migration upgrade cli use.
Related to T4305
Differential D7953
Set current_version attribute to postgresql datastore ardumont on Jun 3 2022, 11:37 AM. Authored by
Details
Fixing the migration upgrade cli use. Related to T4305 Trying it out on staging does fix the version cli (so the other ones as well). swhstorage@storage1:~$ swh db --config-file config.yml version storage WARNING the database does not have a dbmodule table. module: storage flavor: default current code version: 182 version: 183
Diff Detail
Event TimelineComment Actions Build has FAILED Patch application report for D7953 (id=28643)Rebasing onto e64d64e4da... Current branch diff-target is up to date. Changes applied before testcommit 89560150ff253f1c316ef75ce59a37659ad59338 Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org> Date: Fri Jun 3 11:35:32 2022 +0200 Set current_version attribute to postgresql datastore Related to T4305 Link to build: https://jenkins.softwareheritage.org/job/DSTO/job/tests-on-diff/1618/ Comment Actions Build has FAILED Patch application report for D7953 (id=28647)Rebasing onto e64d64e4da... Current branch diff-target is up to date. Changes applied before testcommit a9ce4fc7f46b3c5a0478a703a7ff62b9a2a5b33b Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org> Date: Fri Jun 3 11:35:32 2022 +0200 Set current_version attribute to postgresql datastore This also simplifies the db collaborator code reusing core.db functions to check the code version and the actual db version matches. Related to T4305 Link to build: https://jenkins.softwareheritage.org/job/DSTO/job/tests-on-diff/1619/ Comment Actions Build is green Patch application report for D7953 (id=28662)Rebasing onto e64d64e4da... Current branch diff-target is up to date. Changes applied before testcommit 1c484ed2654ab08c8bc81fe3b2419923727fc3fb Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org> Date: Fri Jun 3 11:35:32 2022 +0200 Set current_version attribute to postgresql datastore This also simplifies the db collaborator code reusing core.db functions to check the code version and the actual db version matches. Related to T4305 See https://jenkins.softwareheritage.org/job/DSTO/job/tests-on-diff/1620/ for more details. Comment Actions
I don't think there is much to do there actually. Comment Actions Build is green Patch application report for D7953 (id=28673)Rebasing onto e64d64e4da... Current branch diff-target is up to date. Changes applied before testcommit c19f53f194d093ede82c8765e439e98c1de52cf9 Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org> Date: Fri Jun 3 11:35:32 2022 +0200 Set current_version attribute to postgresql datastore This also simplifies the db collaborator code reusing core.db functions to check the code version and the actual db version matches. Related to T4305 See https://jenkins.softwareheritage.org/job/DSTO/job/tests-on-diff/1621/ for more details. |