Page MenuHomeSoftware Heritage

cli/db: do not attempt to create the DB by default
ClosedPublic

Authored by douardda on Jun 13 2019, 9:45 AM.

Details

Summary

this is needed to prevent the command to depend on having pg's createdb
tool installed on the machine running the 'swh db-init' command.

In a normal deployment setup, this pg tool is not expected to be present
on every machine on which one want to be able to use this 'swh db-init'
command.

Diff Detail

Repository
rDCORE Foundations and core functionalities
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.