Skip to content

Add single sardana script with subcommands

Zbigniew Reszela requested to merge cli into develop

This is a first iteration of work on refactoring Sardana scripts - see discussion in #286 (closed).

CHANGELOG:

Added

  • sardana script with sub-commands
    • spock
    • macroexecutor
    • sequencer
    • expconf
  • get_macroserver_for_door() utility

Deprecated

  • Standalone scripts:
    • spock
    • macroexeutor
    • sequencer

Removed

  • sardanatestsuite script (deprecated since version 3.0.3)

The new sardana script launches GUI apps: macroexecutor and sequencer with new Organization name "sardana" instead of "Taurus". This changes the location of storing ini files from ~/.config/Taurus/ to ~/.config/sardana/ e.g. ~/.config/sardana/macroexecutor.ini. So, if one would like to maintain the settings e.g. favourite macros in macroexecutor, then he would need to copy the setting file to the new location. Also, now we fill the Organization domain to "sardana-controls.org".

This MR slightly modifies the API of utility functions: createMacroExecutor() and createSequencer() but I consider them as internal helpers, which I think are not used anywhare.

This still misses device servers and showscan GUIs but I would go for it already, to unblock SEP20 work.

Fixes #149 (closed)

@sardana-org this is ready for review and eventual integration.

Merge request reports