Closed zsoltkebel closed 2 weeks ago
The new Device generator:
https://github.com/ISISComputingGroup/IBEX-device-generator
There is no need to merge this as this is a new repository.
Test by trying to create a new device with the script. __Make sure the three repos EPICS
, ibex_gui
, and EPICS/ioc/master
are on latest master and submodules are updated beforehand.__
reviewer should probs archive https://github.com/ISISComputingGroup/IBEX_device_generator (the old one)
One minor change suggestion, but otherwise looks good on the code front, I've used the device generator (stress tested it under weird circumstances even) for the DDS Stress-rig, so I'm happy to say this is working.
https://github.com/ISISComputingGroup/ibex_developers_manual/wiki/IOC-Generator The old device generator had a wiki page detailing how it worked (as well as linking to the readme for instructions) we should either update this with explanations of the new device generator, or delete it.
Default device count inconsistency addressed here: https://github.com/ISISComputingGroup/IBEX-device-generator/commit/218257d80950beffc8d3f26c66164aded5449710. Made it a class variable and reference elsewhere.
I will add some more in the README about how the templating works but I hope the code and comments are clear enough anyways.
Added contributing guidelines here: https://github.com/ISISComputingGroup/IBEX-device-generator/blob/main/CONTRIBUTING.md These include development workflow and making a new release.
As a developer I would like the device generator script to be reliable and lightwieght.
The aim of this work is to implement the simple concept of device generation with reliable branch switching and committing. The script should not try to solve dirty git repo states.
Questions:
For reviewer