clp icon indicating copy to clipboard operation
clp copied to clipboard

package: Add `--exclude` option to exclude components from being started.

Open junhaoliao opened this issue 7 months ago • 2 comments

Description

When developing / testing certain components which provide a live reload debug server, other CLP components also need to be started for functionality verifications. Previously, developers have been starting the whole CLP package and later stopping the component(s) to be debugged, to avoid resource (e.g. TCP host + port) conflicts. The approach works but has proven to be inconvenience and prone to manual errors. This PR:

  1. Add --exclude option to exclude components from being started.

Validation performed

  1. Built the package.
    cd <clp-root>
    task
    
  2. Started the package, excluding components webui and log_viewer_webui.
    cd build/clp-package/sbin
    ./start-clp.sh --exclude webui log_viewer_webui
    
  3. Observed all components started except webui and log_viewer_webui.

junhaoliao avatar Jul 23 '24 20:07 junhaoliao