mxcube / mxcubecore

Backend used by MXCuBE
http://mxcube.github.io/mxcube/
GNU Lesser General Public License v3.0
11 stars 51 forks source link

Transition from Xml to Yaml configuration #871

Closed rhfogh closed 3 months ago

rhfogh commented 3 months ago

The below would give one path from Xml to Yaml configuration. It would still require some big-bang changes, since some functionality simply cannot be supported in the new system, but it should make the transition a lot easier. Since this woudl take a lot of coding, we had better agree on goals and process before we start.

Apart from the transition proper, are there proposals to change or add functionality to the goal?

Transition path

New HardwareObject class

The new class should have the internals and functionality of the yaml-configured class, with the old functionality supported as far as possible.

Yaml-type functionality

XML-type functionality

All XML functionality should eventually be deprecated. Meanwhile:

Full support

Unnecessary - can be removed

Unsupported - problems

Any function relying of the 'name' (== filename) of xml-configured classes cannot be supported

rhfogh commented 3 months ago

Withdrawn to fix errors in proposal.