Skip to content

1.2.0

Compare
Choose a tag to compare
@marc-hanheide marc-hanheide released this 09 Jul 22:31
· 41 commits to master since this release

There is now a new TMule Release (version 1.2.0), which implements the following:

  • named session support: a new key in the main config file allows to define the name of the tmux session. Useful if several tmux sessions are needed, use top-level key session.
  • tag support: each window is assigned a list of tags. launch and stop commands support a new flag -t (can be used multiple times), to indicate all the tags that should be launched. Idea is that we can launch specific systems from one tmule file, e.g, everything needed for navigation demo gets tag navi_demo and you launch only that tag. Another one may be using tag data collection indicating it launches everything for data collection. Tags are now also supported by the server mode, i.e., in the web interface all windows of a specific tag can be launched or stopped selectively.
  • skip support: an optional key skip can be set true if the window should be exempt from launching when "all" is selected (useful for manual debugging windows, that should only be launched specifically)
  • parameter support: tmule supports a few parameter substitutions in the config file. All parameters are surrounded by @:
    • The absolute path of the config file: @TMULE_CONFIG_FILE@
    • The absolute path to the directory of the config file @TMULE_CONFIG_DIR@
    • The name of the tmux session: @TMULE_SESSION_NAME@
      This is particularly useful to refer to any other files required (e.g. workspaces, config files, etc) that are defined relative to the location of the tmule config file, hopefully simplifying some setups.
  • reload support: In server mode, reloading the website will also reload the config file, i.e., the server does not have to be restarted when the config file is edited. This eases debugging and adding features on the fly a lot. It also allows to launch server automatically (e.g. via supervisor as we do in Lindsey etc) in all robots and then keep it running forever. If we have one tmule file for all sub-tasks, then these tasks can easily be launched and stopped via the web interface.

Just run pip install -U tmule to get the latest version.

See example file tmule.conf for all the new features. And new server GUI below:
image