Skip to content

WIP: Make Sardana storage Tango independent

Sardana storage part should in principle be Tango independent. When few years ago our sys admins asked us to provide a minimum code (without the need to install Tango) that would execute a Sardana scan then we learned that it is not.

At that time I made some effort to make the:

  • sardana.macroserver.recorders.storage
  • sardana.macroserver.scan

importable without installing Tango.

Here I post this work, after just updating it with the develop branch (it was developed when Sardana was still python 2).

There are still two pending points:

  • Make the sardana.taurus.core.tango.sardana.pool.Ready does not rely on Tango state enumeration
  • Check if it is possible to use taurus.core.tango.tangovalidator.TangoDeviceNameValidator without Tango being installed.

The project that simulates a minimum scan from the point of view of data storage is placed here: https://github.com/reszelaz/storage-kpi and I just checked it again and it works without installing Tango.

Merge request reports