This is a topic which has been on the radar for a while, but essentially the idea is that we don't want to overload the already-existing DUNEDAQ_SHARE_PATH environment variable to have it tell OKS programs where to find database files. An unintended consequence of this usage is described in https://github.com/DUNE-DAQ/dbe/issues/11. Instead, we should have a parallel DUNEDAQ_DB_PATH environment variable which differs from DUNEDAQ_SHARE_PATH in its priorities:
1) An OKS schema directory in the source code area of a work area takes precedence over an installed directory
2) A user-defined directory takes precedence over source code and installed directories
Of course, dbt-workarea-env.sh will need to be modified to support this change.
This is a topic which has been on the radar for a while, but essentially the idea is that we don't want to overload the already-existing
DUNEDAQ_SHARE_PATH
environment variable to have it tell OKS programs where to find database files. An unintended consequence of this usage is described in https://github.com/DUNE-DAQ/dbe/issues/11. Instead, we should have a parallelDUNEDAQ_DB_PATH
environment variable which differs fromDUNEDAQ_SHARE_PATH
in its priorities: 1) An OKS schema directory in the source code area of a work area takes precedence over an installed directory 2) A user-defined directory takes precedence over source code and installed directoriesOf course,
dbt-workarea-env.sh
will need to be modified to support this change.