Skip to content

Unify factory to use keyword 'postgresql' over deprecated 'local'

We deprecated the use of "local" everywhere.

And that's preventing the use of other tools which depend on that new convention:

swhworker@scrubber0:~$ swh db --config-file /etc/softwareheritage/scrubber/postgres.yml upgrade scrubber --to-version=2
Usage: swh db upgrade [OPTIONS] MODULE

Error: Invalid value: Configuration cls must be set to 'postgresql' for this command.

I've notified about this in a diff a while back too ¯_(ツ)_/¯.

Related to swh/infra/sysadm-environment#4228 (closed)


Migrated from D7905 (view on Phabricator)

Merge request reports

Loading