WMCore icon indicating copy to clipboard operation
WMCore copied to clipboard

Add first draft of wmagent-component-standalone script

Open todor-ivanov opened this issue 8 months ago • 18 comments

Fixes #12023

Status

In development

Description

With the current PR we suggest a generic script which should preload a minimal set of often used modules in WMagent components and a minimal component runtime environment setup like WMAgent configuration preload together with a desired component to be loaded passed as a parameter to the script. This is meant to speed up the debugging process of loading and configuring the wmagent components in interactive mode.

USAGE:

(WMAgent-v2.3.4rc12) [cmst1@vocms264:current] $ ipython -i $WMA_DEPLOY_DIR/bin/wmagent-component-standalone -- --component JobAccountant

Is it backward compatible (if not, which system it affects?)

YES

Related PRs

This one is meant to facilitate the resolution of this issue https://github.com/dmwm/WMCore/issues/12007 but not only

External dependencies / deployment changes

None

todor-ivanov avatar Jun 21 '24 14:06 todor-ivanov