DUNE-DAQ / daq-buildtools

Make life for developers easier through a collection of CMake functions and scripts
0 stars 1 forks source link

`dbt-setup-release` should make failure more obvious #233

Closed jcfreeman2 closed 1 year ago

jcfreeman2 commented 2 years ago

While working on documentation for daq-buildtools v6.0.5, I played around with dbt-setup-release, running the following:

dbt-setup-release dunedaq-v3.2.1

whose output included the following

Finished loading
-bash: /cvmfs/dunedaq.opensciencegrid.org/spack/releases/dunedaq-v3.2.1/.venv/bin/activate: No such file or directory
This script has been sourced successfully

Even though the Python setup failed - so, e.g., nanorc is unavailable - the script still reports success, and won't allow you to try again as it marks the environment as set up. Furthermore, it's hard to know in advance when the script will be successful since dbt-setup-release -l lists dunedaq-v3.2.1 as being available.