HomeSoftware Heritage

Make swh db init and swh db-init behavior much closer to one another

Description

Make swh db init and swh db-init behavior much closer to one another

While named similarly, these two CLI utilities used to take quite a different
approach to doing the same thing.

They now both call out the same initialization function for a given module. The
main difference is now the source of information for what databases to
initialize: swh db init uses the SWH_CONFIG_FILENAME configuration file, while
swh db-init only uses its own command line arguments.

Details

Provenance
olasdAuthored on Sep 16 2020, 7:13 PM
olasdPushed on Sep 17 2020, 11:32 AM
Differential Revision
D3970: Make swh db init and swh db-init behavior much closer to one another
Parents
rDCORE327f98d18602: Ignore stderr in db_testing.swh_db_version instead of printing it out
Branches
Loading...
Tags
Loading...
Build Status
Buildable 15211
Build 23451: test-and-buildJenkins console · Jenkins