HomeSoftware Heritage

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

Description

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

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.

Details

Provenance
douarddaAuthored on Jun 13 2019, 9:35 AM
douarddaPushed on Jun 13 2019, 2:03 PM
Differential Revision
D1576: cli/db: do not attempt to create the DB by default
Parents
rDCORE3f4d9667d08d: Fix import of swh.core.db.tests.db_testing.
Branches
Unknown
Tags
Unknown
Build Status
Buildable 6184
Build 8528: test-and-build