HomeSoftware Heritage

Naive attempt to add support for dsn url config style for production db

Description

Naive attempt to add support for dsn url config style for production db

This should allow to write your config file like:

web.yaml:

production_db:
  name: postgresql:///?service=swh-web

thus allowing to use pg_services and pgpass to declare postgresl access
configuration.

Might help for containerized execution environment where db
configuration can be dynamic.

Details

Provenance
douarddaAuthored on Sep 23 2021, 6:00 PM
douarddaPushed on Sep 24 2021, 3:33 PM
Differential Revision
D6336: Naive attempt to add support for dsn url config style for production db
Parents
rDWAPPS15b0e84456ae: Wrap long lines in the README file
Branches
Unknown
Tags
Unknown
References
tag: v0.0.330
Build Status
Buildable 23986
Build 37419: test-and-buildJenkins console · Jenkins