-
Notifications
You must be signed in to change notification settings - Fork 4
Description
The set of utility scripts to manage conffwk databases has grown organically to the point where it's not trivial to remember what is what. A renaming/documenation/consolidation campaign is advisable in preparation for v5.2.
Possible guidelines
- Tools performing pure OKS operations (i.e. no assumptions on what schema a database uses) should use the
oks_prefix - DUNE-DAQ tools, i.e.
confmodel/appmodelaware, directly using files or classes of the two models, should use thedaqconf_prefix - Merging scripts that operate in the same context should be considered.
Inventory
Python scripts
-
oks_enable: manages theconfmodel::Sessiondisable list. Not a OKS specific tool- remove
oks_, adddaqconf_, - maybe merge with other scripts
- remove
-
consolidate,consolidate_files,copy_configuration: copy or merge all or a selection OKS data files in a single file. This is a oks-specific operation performed w/o any knowledge of the schema- Prefix with
oks_, add_dbpostfix toconsolidate. - Confirm
consolidate(See below) - Maybe merge in one tool.
- Maybe move to
oksrepo, realistically not possible since it relied onconffwk::Configurationto operate on the database.
- Prefix with
-
oks-format: Loads and force a re-write of selected files, enforcing the OKS xml format AND pruning obsoleta data members (and classes maybe), effectively consolidating the structure of the files.- Rename to represent the real task performed by this tool
- Maybe merge with other oks tools
-
get_apps:- Merge with
inspector?
- Merge with
-
oks_enable_tpg: Enables TPG processin inappmodel::ReadoutApplicationsin aconfmodel::Session. This is not anokstool.- Remove
oks, adddaq_conf> - Maybe mere with other tools
- Remove
-
validate: Verifies session consistency.- Rename
verify_session, prefixdaqconf_ - Maybe merge with inspector
- Rename
-
createOKSdb: generates an 'empty' DUNEDAQconfmodeldatabase. This is not an OKS tool.- Rename to
daqconf_create_db - Maybe merge with other db management tools
- Rename to
-
dromap2oks. Obsolete? -
generate_readoutOKS. Obsolete? Do we still use readout maps?- if not, merge with other tools
Apps scripts
create-config-plots:- Add
daqconf_prerfix?
- Add