-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
Notes on some things to add in future.
In the section on working with support modules we need to enable the ability to generate the schema for a generic IOC locally.
To do this we would just need to (for example pmac support):
- make your changes as needed to
/epics/ioc-pmac/ibek-support/pmac/pmac.ibek.support.yaml - perhaps do that automatically with something like:
../../ibek/builder2ibek.support.py /dls_sw/prod/R3.14.12.7/support/pmac/2-5-23beta1/ pmac/pmac.ibek.support.yaml -o '14:A+B 474:A+B 801:1 805:1.0 804:1.0'
- update the symlinks (only the first time)
ibek support generate-links pmac
- regenerate the schema
ibek ioc generate-schema --output /tmp/pmac.ibek.ioc.schema.json
- change the top of the
ioc.yamlinstance you are working with to# yaml-language-server: $schema=/tmp/pmac.ibek.ioc.schema.json
Having done the above once you can now:
- edit
pmac.ibek.support.yaml - run
ibek ioc generate-schema --output /tmp/pmac.ibek.ioc.schema.json - continue editing your
ioc.yamlwhich will now see the new schema
Metadata
Metadata
Assignees
Labels
No labels