builder2ibek 2.2.0__tar.gz → 2.3.0b1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (378) hide show
  1. builder2ibek-2.3.0b1/.claude/claude-sandbox.conf +115 -0
  2. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/.claude/commands/support-create.md +18 -0
  3. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/.claude/commands/support-fix.md +13 -0
  4. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/.claude/skills/ibek-concepts/SKILL.md +37 -0
  5. builder2ibek-2.3.0b1/.claude/skills/ibek-pattern-vendoring/SKILL.md +145 -0
  6. builder2ibek-2.3.0b1/.claude/skills/ibek-support-ansible/SKILL.md +164 -0
  7. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/.claude/skills/shared/autosave-conversion.md +33 -3
  8. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/.claude/skills/shared/builder-py-analysis.md +59 -6
  9. builder2ibek-2.3.0b1/.claude/skills/shared/module-special-cases.md +62 -0
  10. builder2ibek-2.3.0b1/.claude/skills/shared/testing-and-ci.md +128 -0
  11. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/.claude/skills/skills-edit/SKILL.md +5 -1
  12. builder2ibek-2.3.0b1/.claude/skills/streamdevice-sweep/SKILL.md +796 -0
  13. builder2ibek-2.3.0b1/.claude/skills/streamdevice-sweep/audit-descriptions.py +223 -0
  14. builder2ibek-2.3.0b1/.claude/skills/streamdevice-sweep/check-eligibility.py +736 -0
  15. builder2ibek-2.3.0b1/.claude/skills/streamdevice-sweep/image-modules.sh +36 -0
  16. builder2ibek-2.3.0b1/.claude/skills/streamdevice-sweep/render-report.py +311 -0
  17. builder2ibek-2.3.0b1/.claude/skills/streamdevice-sweep/run-sweep.sh +64 -0
  18. builder2ibek-2.3.0b1/.claude/skills/streamdevice-sweep/scan-candidates.py +279 -0
  19. builder2ibek-2.3.0b1/.claude/skills/streamdevice-sweep/strip-images.lua +96 -0
  20. builder2ibek-2.3.0b1/.claude/skills/streamdevice-sweep/sweep-docs.py +569 -0
  21. builder2ibek-2.3.0b1/.claude/skills/vdct-conversion/SKILL.md +623 -0
  22. builder2ibek-2.3.0b1/.claude/skills/vdct-conversion/canon-db.py +22 -0
  23. builder2ibek-2.3.0b1/.claude/skills/vdct-conversion/convert-module.sh +78 -0
  24. builder2ibek-2.3.0b1/.claude/skills/vdct-conversion/default-annotation-macros.sh +35 -0
  25. builder2ibek-2.3.0b1/.claude/skills/vdct-conversion/find-id-targets.py +43 -0
  26. builder2ibek-2.3.0b1/.claude/skills/vdct-conversion/macro-report.sh +39 -0
  27. builder2ibek-2.3.0b1/.claude/skills/vdct-conversion/make-test-ioc.py +38 -0
  28. builder2ibek-2.3.0b1/.claude/skills/vdct-conversion/rename-vdct-orphans.sh +16 -0
  29. builder2ibek-2.3.0b1/.claude/skills/vdct-conversion/validate-module.sh +56 -0
  30. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/.copier-answers.yml +1 -1
  31. builder2ibek-2.3.0b1/.devcontainer/postCreate.sh +32 -0
  32. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/.github/CONTRIBUTING.md +1 -1
  33. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/.github/workflows/_dist.yml +4 -4
  34. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/.github/workflows/_docs.yml +4 -4
  35. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/.github/workflows/_pypi.yml +1 -1
  36. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/.github/workflows/_release.yml +2 -2
  37. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/.github/workflows/_test.yml +10 -3
  38. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/.github/workflows/_tox.yml +2 -2
  39. builder2ibek-2.3.0b1/.github/workflows/periodic.yml +23 -0
  40. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/.pre-commit-config.yaml +2 -2
  41. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/CLAUDE.md +14 -2
  42. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/Dockerfile +1 -2
  43. {builder2ibek-2.2.0/src/builder2ibek.egg-info → builder2ibek-2.3.0b1}/PKG-INFO +2 -1
  44. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/README.md +1 -0
  45. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/_version.py +3 -3
  46. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/convert.py +11 -5
  47. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/converters/pmac.py +4 -0
  48. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/converters/positioner.py +48 -0
  49. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/db2autosave.py +32 -5
  50. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/types.py +1 -0
  51. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1/src/builder2ibek.egg-info}/PKG-INFO +2 -1
  52. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek.egg-info/SOURCES.txt +55 -4
  53. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek.egg-info/scm_file_list.json +306 -255
  54. builder2ibek-2.3.0b1/src/builder2ibek.egg-info/scm_version.json +8 -0
  55. builder2ibek-2.3.0b1/tests/check_pin_freshness.py +106 -0
  56. builder2ibek-2.3.0b1/tests/conftest.py +88 -0
  57. builder2ibek-2.3.0b1/tests/samples/GENERATED_AGAINST +3 -0
  58. builder2ibek-2.3.0b1/tests/samples/bl03i-mo-ioc-11.ioc.subst +70 -0
  59. builder2ibek-2.3.0b1/tests/samples/bl03i-mo-ioc-11.st.cmd +46 -0
  60. builder2ibek-2.3.0b1/tests/samples/bl03i-mo-ioc-11.yaml +84 -0
  61. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/tests/samples/bl04i-mo-ioc-03.ioc.subst +11 -11
  62. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/tests/samples/bl04i-mo-ioc-03.st.cmd +10 -0
  63. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/tests/samples/bl04i-mo-ioc-03.yaml +10 -0
  64. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/tests/samples/bl04i-va-ioc-01.st.cmd +12 -0
  65. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/tests/samples/bl04i-va-ioc-01.yaml +0 -1
  66. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/tests/samples/bl11i-cs-ioc-09.st.cmd +10 -0
  67. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/tests/samples/bl11i-va-ioc-01.st.cmd +12 -0
  68. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/tests/samples/bl15i-va-ioc-01.st.cmd +16 -4
  69. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/tests/samples/bl16i-va-ioc-01.st.cmd +16 -4
  70. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/tests/samples/bl19i-va-ioc-01.st.cmd +12 -0
  71. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/tests/samples/bl19i-va-ioc-01.yaml +0 -1
  72. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/tests/samples/make_samples.sh +21 -0
  73. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/tests/samples/motorpositioner.ioc.subst +2 -2
  74. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/tests/samples/motorpositioner.yaml +1 -0
  75. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/tests/samples/sr03c-va-ioc-01.ioc.subst +2 -2
  76. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/tests/samples/sr03c-va-ioc-01.st.cmd +10 -0
  77. builder2ibek-2.3.0b1/tests/test_autosave.py +60 -0
  78. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/tests/test_file_conversion.py +39 -8
  79. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/tests/test_reconvert_cli.py +11 -1
  80. builder2ibek-2.3.0b1/tests/test_sample_pins.py +72 -0
  81. builder2ibek-2.3.0b1/tests/test_vendored_support.py +95 -0
  82. builder2ibek-2.3.0b1/tests/vendor_support_dls.py +303 -0
  83. builder2ibek-2.3.0b1/tests/vendored-support-dls/BL04I/BL04I.ibek.support.yaml +259 -0
  84. builder2ibek-2.3.0b1/tests/vendored-support-dls/DLS8515/DLS8515.ibek.support.yaml +305 -0
  85. builder2ibek-2.3.0b1/tests/vendored-support-dls/Hy8401ip/Hy8401ip.ibek.support.yaml +125 -0
  86. builder2ibek-2.3.0b1/tests/vendored-support-dls/Hy8402ip/Hy8402ip.ibek.support.yaml +85 -0
  87. builder2ibek-2.3.0b1/tests/vendored-support-dls/IOCInfo/IOCInfo.ibek.support.yaml +47 -0
  88. builder2ibek-2.3.0b1/tests/vendored-support-dls/README.md +51 -0
  89. builder2ibek-2.3.0b1/tests/vendored-support-dls/SR-VA/SR-VA.ibek.support.yaml +695 -0
  90. builder2ibek-2.3.0b1/tests/vendored-support-dls/TimingTemplates/TimingTemplates.ibek.support.yaml +118 -0
  91. builder2ibek-2.3.0b1/tests/vendored-support-dls/VENDORED_FROM +25 -0
  92. builder2ibek-2.3.0b1/tests/vendored-support-dls/adandor/adandor.ibek.support.yaml +105 -0
  93. builder2ibek-2.3.0b1/tests/vendored-support-dls/cmsIon/cmsIon.ibek.support.yaml +149 -0
  94. builder2ibek-2.3.0b1/tests/vendored-support-dls/digitelSpc/digitelSpc.ibek.support.yaml +77 -0
  95. builder2ibek-2.3.0b1/tests/vendored-support-dls/dlsPLC/dlsPLC.ibek.support.yaml +6230 -0
  96. builder2ibek-2.3.0b1/tests/vendored-support-dls/hidenRGA/hidenRGA.ibek.support.yaml +164 -0
  97. builder2ibek-2.3.0b1/tests/vendored-support-dls/ipac/ipac.ibek.support.yaml +279 -0
  98. builder2ibek-2.3.0b1/tests/vendored-support-dls/mirror/mirror.ibek.support.yaml +143 -0
  99. builder2ibek-2.3.0b1/tests/vendored-support-dls/mrfTiming/mrfTiming.ibek.support.yaml +94 -0
  100. builder2ibek-2.3.0b1/tests/vendored-support-dls/mxEH/mxEH.ibek.support.yaml +993 -0
  101. builder2ibek-2.3.0b1/tests/vendored-support-dls/rackFan/rackFan.ibek.support.yaml +71 -0
  102. builder2ibek-2.3.0b1/tests/vendored-support-dls/rga/rga.ibek.support.yaml +736 -0
  103. builder2ibek-2.3.0b1/tests/vendored-support-dls/transfocator/transfocator.ibek.support.yaml +69 -0
  104. builder2ibek-2.3.0b1/tests/vendored-support-dls/userIO/userIO.ibek.support.yaml +1022 -0
  105. builder2ibek-2.3.0b1/tests/vendored-support-dls/vacuumSpace/vacuumSpace.ibek.support.yaml +843 -0
  106. builder2ibek-2.3.0b1/tests/vendored-support-dls/vacuumValve/vacuumValve.ibek.support.yaml +48 -0
  107. builder2ibek-2.3.0b1/tests/vendored-support-dls/water/water.ibek.support.yaml +246 -0
  108. builder2ibek-2.3.0b1/update-schema +42 -0
  109. builder2ibek-2.2.0/.claude/hooks/sandbox-check.sh +0 -43
  110. builder2ibek-2.2.0/.claude/settings.json +0 -18
  111. builder2ibek-2.2.0/.claude/skills/ibek-support-ansible/SKILL.md +0 -63
  112. builder2ibek-2.2.0/.claude/skills/shared/module-special-cases.md +0 -30
  113. builder2ibek-2.2.0/.claude/statusline-command.sh +0 -68
  114. builder2ibek-2.2.0/.devcontainer/postCreate.sh +0 -10
  115. builder2ibek-2.2.0/.github/workflows/periodic.yml +0 -13
  116. builder2ibek-2.2.0/src/builder2ibek.egg-info/scm_version.json +0 -8
  117. builder2ibek-2.2.0/tests/conftest.py +0 -60
  118. builder2ibek-2.2.0/tests/test_autosave.py +0 -16
  119. builder2ibek-2.2.0/update-schema +0 -11
  120. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/.claude/commands/beamline-check.md +0 -0
  121. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/.claude/commands/beamline-convert.md +0 -0
  122. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/.claude/commands/beamline-reconvert.md +0 -0
  123. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/.claude/commands/ioc-check.md +0 -0
  124. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/.claude/commands/ioc-convert-raw.md +0 -0
  125. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/.claude/commands/ioc-convert.md +0 -0
  126. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/.claude/commands/ioc-inspect.md +0 -0
  127. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/.claude/commands/memo.md +0 -0
  128. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/.claude/commands/support-inspect.md +0 -0
  129. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/.claude/skills/beamline-gui/SKILL.md +0 -0
  130. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/.claude/skills/shared/error-categorization.md +0 -0
  131. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/.claude/skills/shared/find-boot-script.md +0 -0
  132. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/.claude/skills/shared/find-ioc-xmls.md +0 -0
  133. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/.claude/skills/shared/find-module-path.md +0 -0
  134. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/.claude/skills/shared/module-rename-map.md +0 -0
  135. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/.claude/skills/shared/services-repo-resolution.md +0 -0
  136. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/.claude/skills/shared/support-yaml-rules.md +0 -0
  137. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/.claude/skills/shared/vxworks-to-rtems-differences.md +0 -0
  138. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/.devcontainer/devcontainer.json +0 -0
  139. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/.devcontainer/initializeCommand.sh +0 -0
  140. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/.devcontainer/local_build.sh +0 -0
  141. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/.gitattributes +0 -0
  142. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/.github/ISSUE_TEMPLATE/bug_report.md +0 -0
  143. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/.github/ISSUE_TEMPLATE/issue.md +0 -0
  144. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/.github/PULL_REQUEST_TEMPLATE/pull_request_template.md +0 -0
  145. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/.github/copilot-instructions.md +0 -0
  146. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/.github/pages/index.html +0 -0
  147. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/.github/pages/make_switcher.py +0 -0
  148. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/.github/workflows/ci.yml +0 -0
  149. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/.gitignore +0 -0
  150. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/.gitleaks.toml +0 -0
  151. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/.gitmodules +0 -0
  152. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/.gitremotes +0 -0
  153. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/.python-version +0 -0
  154. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/.vscode/extensions.json +0 -0
  155. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/.vscode/mcp.json +0 -0
  156. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/.vscode/settings.json +0 -0
  157. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/.vscode/tasks.json +0 -0
  158. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/LICENSE +0 -0
  159. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/bl21i-mo-ioc-01_blacklist.txt +0 -0
  160. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/docs/_api.rst +0 -0
  161. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/docs/_templates/custom-module-template.rst +0 -0
  162. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/docs/conf.py +0 -0
  163. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/docs/conftest.py +0 -0
  164. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/docs/explanations/decisions/0001-record-architecture-decisions.md +0 -0
  165. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/docs/explanations/decisions/0002-switched-to-python-copier-template.md +0 -0
  166. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/docs/explanations/decisions/0003-remove-mcp-server-for-copilot.md +0 -0
  167. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/docs/explanations/decisions/COPYME +0 -0
  168. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/docs/explanations/decisions.md +0 -0
  169. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/docs/explanations.md +0 -0
  170. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/docs/genindex.md +0 -0
  171. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/docs/how-to/after-beamline-convert.md +0 -0
  172. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/docs/how-to/autosave.md +0 -0
  173. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/docs/how-to/contribute.md +0 -0
  174. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/docs/how-to/convert-ioc-instance.md +0 -0
  175. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/docs/how-to/create-converter.md +0 -0
  176. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/docs/how-to/create-generic-ioc-repo.md +0 -0
  177. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/docs/how-to/migrate-autosave.md +0 -0
  178. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/docs/how-to/runtime-support.md +0 -0
  179. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/docs/how-to/verify-with-devcontainer.md +0 -0
  180. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/docs/how-to.md +0 -0
  181. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/docs/images/dls-logo.svg +0 -0
  182. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/docs/index.md +0 -0
  183. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/docs/reference/dlsplc-migration.md +0 -0
  184. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/docs/reference.md +0 -0
  185. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/docs/tutorials/convert-ioc-xml.md +0 -0
  186. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/docs/tutorials/create-support-yaml-advanced.md +0 -0
  187. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/docs/tutorials/create-support-yaml.md +0 -0
  188. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/docs/tutorials/installation.md +0 -0
  189. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/docs/tutorials.md +0 -0
  190. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/pyproject.toml +0 -0
  191. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/renovate.json +0 -0
  192. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/setup.cfg +0 -0
  193. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/__init__.py +0 -0
  194. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/__main__.py +0 -0
  195. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/builder.py +0 -0
  196. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/converters/ACCELCryoIP.py +0 -0
  197. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/converters/ADAndor.py +0 -0
  198. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/converters/ADAravis.py +0 -0
  199. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/converters/ADCore.py +0 -0
  200. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/converters/ADIvium.py +0 -0
  201. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/converters/ADOdin.py +0 -0
  202. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/converters/ADOdinTristan.py +0 -0
  203. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/converters/ADPilatus.py +0 -0
  204. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/converters/ADZMQ.py +0 -0
  205. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/converters/AMI186.py +0 -0
  206. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/converters/BL11I.py +0 -0
  207. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/converters/BL15I-BUILDER.py +0 -0
  208. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/converters/BL19I.py +0 -0
  209. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/converters/BL20J.py +0 -0
  210. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/converters/BL21I.py +0 -0
  211. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/converters/BL46P-BUILDER.py +0 -0
  212. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/converters/BLGui.py +0 -0
  213. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/converters/BLfeedback.py +0 -0
  214. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/converters/CrateMonitor.py +0 -0
  215. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/converters/CryoCoolerXV.py +0 -0
  216. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/converters/DLS8515.py +0 -0
  217. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/converters/DruckDPI515.py +0 -0
  218. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/converters/ETLdetector.py +0 -0
  219. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/converters/FINS.py +0 -0
  220. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/converters/FastVacuum.py +0 -0
  221. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/converters/Hy8401ip-asyn.py +0 -0
  222. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/converters/Hy8401ip.py +0 -0
  223. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/converters/Hy8401ipTemplates.py +0 -0
  224. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/converters/Hy8402ip.py +0 -0
  225. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/converters/Hy8414.py +0 -0
  226. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/converters/IOCInfo.py +0 -0
  227. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/converters/OXCS700.py +0 -0
  228. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/converters/OXCS700asyn.py +0 -0
  229. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/converters/OXCryo.py +0 -0
  230. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/converters/QPC.py +0 -0
  231. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/converters/README.md +0 -0
  232. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/converters/SR-VA.py +0 -0
  233. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/converters/SchottLLS.py +0 -0
  234. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/converters/SycosH-Hot.py +0 -0
  235. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/converters/TimingTemplates.py +0 -0
  236. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/converters/Xspress3.py +0 -0
  237. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/converters/__init__.py +0 -0
  238. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/converters/adUtil.py +0 -0
  239. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/converters/agilent33220A.py +0 -0
  240. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/converters/agilent53220.py +0 -0
  241. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/converters/alicatGasFlow.py +0 -0
  242. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/converters/asyn.py +0 -0
  243. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/converters/autosave.py +0 -0
  244. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/converters/bronkhorstFlowBus.py +0 -0
  245. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/converters/cmsIon.py +0 -0
  246. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/converters/cognexDataMan100.py +0 -0
  247. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/converters/currAmp.py +0 -0
  248. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/converters/deltaTauPLCStat.py +0 -0
  249. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/converters/deviocstats.py +0 -0
  250. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/converters/digitelMpc.py +0 -0
  251. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/converters/digitelSpc.py +0 -0
  252. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/converters/directoryMonitor.py +0 -0
  253. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/converters/dlsPLC.py +0 -0
  254. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/converters/enzLoCuM4.py +0 -0
  255. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/converters/epics_base.py +0 -0
  256. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/converters/ether_ip.py +0 -0
  257. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/converters/ethercat.py +0 -0
  258. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/converters/eurotherm2k.py +0 -0
  259. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/converters/eurothermModbus.py +0 -0
  260. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/converters/femto.py +0 -0
  261. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/converters/ffmpegServer.py +0 -0
  262. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/converters/filters.py +0 -0
  263. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/converters/fogaleHLS.py +0 -0
  264. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/converters/fw102.py +0 -0
  265. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/converters/fzoom.py +0 -0
  266. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/converters/gasInjectionRig.py +0 -0
  267. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/converters/gdaPlugins.py +0 -0
  268. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/converters/gdaPlugins.yaml +0 -0
  269. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/converters/globalHandler.py +0 -0
  270. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/converters/harvardSyringe.py +0 -0
  271. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/converters/hidenRGA.py +0 -0
  272. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/converters/insertionDevice.py +0 -0
  273. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/converters/interlock.py +0 -0
  274. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/converters/ipac.py +0 -0
  275. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/converters/keithley6514.py +0 -0
  276. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/converters/lakeshore336.py +0 -0
  277. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/converters/lakeshore340.py +0 -0
  278. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/converters/laudaRE2xx.py +0 -0
  279. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/converters/leybold.py +0 -0
  280. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/converters/mca.py +0 -0
  281. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/converters/mirror.py +0 -0
  282. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/converters/mitsubishiRobot.py +0 -0
  283. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/converters/mks937a.py +0 -0
  284. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/converters/mks937b.py +0 -0
  285. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/converters/mks9xx.py +0 -0
  286. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/converters/motomanNX100.py +0 -0
  287. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/converters/motor.py +0 -0
  288. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/converters/motorSmarAct.py +0 -0
  289. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/converters/mrfTiming.py +0 -0
  290. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/converters/mrfioc2.py +0 -0
  291. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/converters/mxEH.py +0 -0
  292. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/converters/pgmVls.py +0 -0
  293. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/converters/picotechPT104.py +0 -0
  294. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/converters/pmacCoord.py +0 -0
  295. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/converters/pmacUtil.py +0 -0
  296. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/converters/procServControl.py +0 -0
  297. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/converters/pvlogging.py +0 -0
  298. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/converters/quadEM.py +0 -0
  299. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/converters/rackFan.py +0 -0
  300. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/converters/records.py +0 -0
  301. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/converters/rga.py +0 -0
  302. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/converters/rgamv2.py +0 -0
  303. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/converters/scpi.py +0 -0
  304. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/converters/slsDetector.py +0 -0
  305. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/converters/smaractEcm.py +0 -0
  306. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/converters/smargon.py +0 -0
  307. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/converters/strainGauge.py +0 -0
  308. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/converters/temperature.py +0 -0
  309. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/converters/terminalserver.py +0 -0
  310. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/converters/tpmac.py +0 -0
  311. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/converters/transfocator.py +0 -0
  312. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/converters/uniblitz.py +0 -0
  313. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/converters/userIO.py +0 -0
  314. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/converters/utility.py +0 -0
  315. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/converters/vacuumSpace.py +0 -0
  316. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/converters/vacuumValve.py +0 -0
  317. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/converters/water.py +0 -0
  318. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/converters/zebra.py +0 -0
  319. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/dbcompare.py +0 -0
  320. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/migrate_autosave.py +0 -0
  321. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/moduleinfos.py +0 -0
  322. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/reconvert.py +0 -0
  323. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/support_defaults.py +0 -0
  324. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek/utils.py +0 -0
  325. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek.egg-info/dependency_links.txt +0 -0
  326. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek.egg-info/entry_points.txt +0 -0
  327. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek.egg-info/requires.txt +0 -0
  328. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/src/builder2ibek.egg-info/top_level.txt +0 -0
  329. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/tests/__init__.py +0 -0
  330. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/tests/samples/BL03I-MO-IOC-11.xml +0 -0
  331. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/tests/samples/BL04I-MO-IOC-03.xml +0 -0
  332. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/tests/samples/BL04I-VA-IOC-01.xml +0 -0
  333. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/tests/samples/BL04I-VA-IOC-01_expanded.db +0 -0
  334. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/tests/samples/BL11I-CS-IOC-09.xml +0 -0
  335. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/tests/samples/BL11I-VA-IOC-01.xml +0 -0
  336. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/tests/samples/BL15I-VA-IOC-01.xml +0 -0
  337. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/tests/samples/BL16I-VA-IOC-01.xml +0 -0
  338. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/tests/samples/BL19I-VA-IOC-01.xml +0 -0
  339. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/tests/samples/BL21I-MO-IOC-01.xml +0 -0
  340. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/tests/samples/BL45P-MO-IOC-01.xml +0 -0
  341. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/tests/samples/BL99P-EA-IOC-05.xml +0 -0
  342. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/tests/samples/BL99P-EA-IOC-05.yaml +0 -0
  343. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/tests/samples/SR03C-VA-IOC-01.xml +0 -0
  344. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/tests/samples/SR03C-VA-IOC-01_expanded.db +0 -0
  345. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/tests/samples/bl04i-va-ioc-01.ioc.subst +0 -0
  346. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/tests/samples/bl11i-cs-ioc-09.ioc.subst +0 -0
  347. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/tests/samples/bl11i-cs-ioc-09.yaml +0 -0
  348. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/tests/samples/bl11i-va-ioc-01.ioc.subst +0 -0
  349. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/tests/samples/bl11i-va-ioc-01.yaml +0 -0
  350. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/tests/samples/bl15i-va-ioc-01.ioc.subst +0 -0
  351. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/tests/samples/bl15i-va-ioc-01.yaml +0 -0
  352. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/tests/samples/bl16i-va-ioc-01.ioc.subst +0 -0
  353. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/tests/samples/bl16i-va-ioc-01.yaml +0 -0
  354. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/tests/samples/bl19i-va-ioc-01.ioc.subst +0 -0
  355. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/tests/samples/bl21i-mo-ioc-01.ioc.subst +0 -0
  356. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/tests/samples/bl21i-mo-ioc-01.st.cmd +0 -0
  357. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/tests/samples/bl21i-mo-ioc-01.yaml +0 -0
  358. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/tests/samples/bl21i-mo-ioc-01_blacklist.txt +0 -0
  359. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/tests/samples/bl45p-mo-ioc-01.ioc.subst +0 -0
  360. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/tests/samples/bl45p-mo-ioc-01.st.cmd +0 -0
  361. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/tests/samples/bl45p-mo-ioc-01.yaml +0 -0
  362. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/tests/samples/bl99p-ea-ioc-05.ioc.subst +0 -0
  363. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/tests/samples/bl99p-ea-ioc-05.st.cmd +0 -0
  364. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/tests/samples/bl99p-ea-ioc-05.yaml +0 -0
  365. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/tests/samples/compare.diff +0 -0
  366. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/tests/samples/cross_ref_test.ioc.subst +0 -0
  367. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/tests/samples/cross_ref_test.st.cmd +0 -0
  368. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/tests/samples/cross_ref_test.xml +0 -0
  369. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/tests/samples/cross_ref_test.yaml +0 -0
  370. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/tests/samples/motor.template +0 -0
  371. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/tests/samples/motorpositioner.st.cmd +0 -0
  372. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/tests/samples/motorpositioner.xml +0 -0
  373. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/tests/samples/sr03c-va-ioc-01.db +0 -0
  374. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/tests/samples/sr03c-va-ioc-01.yaml +0 -0
  375. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/tests/test_cli.py +0 -0
  376. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/tests/test_compare.py +0 -0
  377. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/tests/test_migrate_autosave.py +0 -0
  378. {builder2ibek-2.2.0 → builder2ibek-2.3.0b1}/uv.lock +0 -0
@@ -0,0 +1,115 @@
1
+ # A convenient set of sandbox relaxations for working on builder2ibek: it
2
+ # opens up the sibling checkouts (ibek, the runtime-streamdevice repos, the
3
+ # generic IOCs, the services repos) that this work routinely spans, plus the
4
+ # Diamond GitLab route needed to push to them.
5
+ #
6
+ # This copy is kept here for reference and sharing — it does nothing where it
7
+ # sits. To use it, copy it to /etc/claude-sandbox.conf (or drop it into the
8
+ # sandbox clone and re-run ./install, which puts it there for you).
9
+ #
10
+ # claude-sandbox.conf — host-global sandbox configuration.
11
+ #
12
+ # install.sh copies this file to /etc/claude-sandbox.conf, and the claude
13
+ # shadow reads it from there at launch — so it applies to `claude` in
14
+ # every workspace, with nothing added to individual repos. Edit this file
15
+ # (in the sandbox clone) and re-run `./install` (a devcontainer rebuild
16
+ # does it for you via postCreate) to apply changes.
17
+ #
18
+ # Read from /etc, not the workspace: the workspace is bound rw into the
19
+ # sandbox, so a per-workspace conf could be rewritten by a compromised
20
+ # session to widen the next launch's binds. /etc is not sandbox-writable.
21
+ #
22
+ # Environment variables take precedence over values set here, so shell or
23
+ # CI overrides still work: CLAUDE_SANDBOX_NO_FORGE=1 claude, etc.
24
+ #
25
+ # ── workspace-root ────────────────────────────────────────────────────
26
+ # Override the read-write workspace directory bound into the sandbox.
27
+ # Default: /workspaces when $PWD is under /workspaces/, else $PWD.
28
+ # Useful when your checkout lives outside /workspaces/ or you want a
29
+ # narrower bind than the full /workspaces tree.
30
+ #
31
+ # workspace-root = /workspaces/myrepo
32
+
33
+ # ── no-forge ──────────────────────────────────────────────────────────
34
+ # Omit gh and glab credential directories from the sandbox so Claude
35
+ # cannot authenticate to or push to any remote forge.
36
+ # Default: forge credentials are bound (gh/glab can push).
37
+ #
38
+ # no-forge
39
+
40
+ # ── allow-write ───────────────────────────────────────────────────────
41
+ # Bind an additional path read-write inside the sandbox. May be a
42
+ # directory, a file, or a unix socket.
43
+ # Repeat for multiple paths. Paths that do not exist at launch time are
44
+ # silently skipped.
45
+ # Default: only the workspace root is writable.
46
+ #
47
+ # allow-write = /workspaces/peer-project
48
+ #
49
+ # An allow-write bind is applied after the sandbox's own /run/{user,
50
+ # secrets} tmpfs masks, so it re-exposes a single path *through* a mask
51
+ # without lifting it. That is how you reach a rootless podman/docker
52
+ # socket under $XDG_RUNTIME_DIR (= /run/user/<uid>), which the /run/user
53
+ # mask would otherwise hide along with the host's ssh-agent, gpg-agent
54
+ # and keyring sockets:
55
+ #
56
+ # allow-write = /run/user/1000/podman/podman.sock
57
+ #
58
+ # Name the socket, not the directory above it: `allow-write = /run/user/
59
+ # 1000` also works, but unmasks those agent sockets to the session.
60
+ allow-write = /cache
61
+ allow-write = /epics
62
+ allow-write = /workspaces/ioc-dlslinuxvac
63
+ allow-write = /workspaces/ioc-streamdevice
64
+ allow-write = /workspaces/builder2ibek
65
+ allow-write = /workspaces/ibek
66
+ allow-write = /workspaces/ibek-runtime-streamdevice
67
+ allow-write = /workspaces/ibek-runtime-support
68
+ allow-write = /workspaces/epics-containers.github.io
69
+ allow-write = /workspaces/p47-services
70
+ allow-write = /workspaces/services-template-helm
71
+
72
+ # ── egress-jail ───────────────────────────────────────────────────────
73
+ # Network egress jail (ADR 0015): run only Claude in its own network
74
+ # namespace, bridged to the internet by pasta, with a routing allowlist
75
+ # that blackholes RFC1918 (internal LANs / link-local) so a compromised
76
+ # session cannot pivot to internal hosts or lab devices. Normal
77
+ # (non-Claude) shells keep host networking untouched.
78
+ # Requires: pasta (passt) installed and --device=/dev/net/tun on the
79
+ # container. Fail-closed — if those are missing `claude` will NOT launch.
80
+ # Default: ON.
81
+
82
+ # ── allow-ip ──────────────────────────────────────────────────────────
83
+ # Keep these device IPs reachable past the RFC1918 blackhole (e.g. EPICS
84
+ # IOCs, PMACs addressed by bare IP). Repeat for multiple devices.
85
+ # Default: no RFC1918 destination is reachable, except the example below.
86
+ #
87
+ # Example / default: Diamond's internal GitLab. With the jail on, this keeps
88
+ # `git push` to the forge working — the hostname resolves via the punched DNS
89
+ # resolvers, then routes out via this /32 instead of hitting the blackhole.
90
+ # Replace or extend with your own site's forge / device IPs.
91
+ allow-ip = 172.23.142.119
92
+ # allow-ip = 172.23.1.3
93
+ # ── pass-env ──────────────────────────────────────────────────────────
94
+ # Forward named environment variables into the sandbox. The sandbox
95
+ # scrubs the environment (--clearenv) and re-exports only what Claude
96
+ # itself needs, so a variable your *project* depends on — DOCKER_HOST for
97
+ # a container-based test suite, a path a fixture reads — does not survive
98
+ # into the session unless named here.
99
+ #
100
+ # Names, not assignments: the value is read from the environment `claude`
101
+ # is launched with, so this forwards what your shell already has and
102
+ # cannot invent a value. A named variable that is unset at launch is
103
+ # skipped.
104
+ #
105
+ # Comma- or space-separate names, and/or repeat the key.
106
+ # Default: nothing beyond the sandbox's own list (TERM, LANG, VIRTUAL_ENV,
107
+ # the UV_* vars, …).
108
+ #
109
+ # pass-env = DOCKER_HOST
110
+ # pass-env = MY_SERVICES_PATH, MY_TEST_FIXTURE_DIR
111
+ #
112
+ # Variables the sandbox sets itself (PATH, HOME, USER, IS_SANDBOX,
113
+ # GIT_CONFIG_GLOBAL, GIT_CONFIG_SYSTEM) and the loader/shell hooks
114
+ # (LD_*, BASH_ENV, ENV, SHELLOPTS, BASHOPTS, IFS) are ignored here — the
115
+ # sandbox's own value always wins.
@@ -160,6 +160,22 @@ Fix any failures before finishing.
160
160
 
161
161
  Do **not** run `./update-schema` — the orchestrator handles that.
162
162
 
163
+ ## Step 9b — Check the vendored dls copy
164
+
165
+ If you wrote to `ibek-support-dls/`, CI may need the vendored copy refreshed —
166
+ it is what lets GitHub Actions test dls modules at all, since it cannot reach
167
+ Diamond's GitLab.
168
+
169
+ ```bash
170
+ python3 tests/vendor_support_dls.py --check
171
+ ```
172
+
173
+ **Report the result, do not try to fix it.** Re-vendoring is only possible once
174
+ the dls change is committed, pushed, and the submodule pin bumped here — the
175
+ script refuses to copy an uncommitted working tree, because the vendored files
176
+ must correspond to a commit others can fetch. A `PENDING` result is therefore
177
+ the expected outcome mid-task, not a failure.
178
+
163
179
  ## Step 10 — Report
164
180
 
165
181
  Return a summary of:
@@ -168,3 +184,5 @@ Return a summary of:
168
184
  - Any uncertainties (e.g. "could not find builder.py", "unclear pre_init")
169
185
  - Whether a converter was created or modified (orchestrator needs to know
170
186
  whether to re-run `xml2yaml`)
187
+ - Whether `vendor_support_dls.py --check` reported the vendored copy as stale
188
+ or pending, so the pin bump and `--update` are not forgotten
@@ -78,10 +78,23 @@ Fix any regressions before finishing.
78
78
  Do **not** run `./update-schema` or `xml2yaml` — the orchestrator handles
79
79
  re-runs.
80
80
 
81
+ ## Step 4b — Check the vendored dls copy
82
+
83
+ If you edited anything under `ibek-support-dls/`, run:
84
+
85
+ ```bash
86
+ python3 tests/vendor_support_dls.py --check
87
+ ```
88
+
89
+ **Report the result, do not act on it.** The vendored copy can only be refreshed
90
+ from a commit that is pushed and pinned here, so `PENDING` is the normal answer
91
+ while your change is still uncommitted. See `tests/vendored-support-dls/README.md`.
92
+
81
93
  ## Step 5 — Report
82
94
 
83
95
  Return a summary of:
84
96
  - What errors were fixed and how
97
+ - Whether `vendor_support_dls.py --check` flagged the vendored copy
85
98
  - Whether a **converter fix** was also needed (orchestrator must re-run
86
99
  `xml2yaml` if so)
87
100
  - Any errors that could not be resolved (with explanation)
@@ -51,6 +51,25 @@ Determined from `# % macro` declarations at the top of the compiled `.db` file
51
51
  - Macros **with** a default (e.g. `MASS_RANGE`) → optional ibek parameters
52
52
  (so instances can override)
53
53
 
54
+ ### `$(MODULE)` in a database path: underscores, never hyphens
55
+
56
+ For a module whose directory name contains a hyphen (`SR-VA`,
57
+ `Hy8401ip-asyn`), the RELEASE macro ibek-support's ansible writes is
58
+ uppercased **with hyphens replaced by underscores** —
59
+ `macro: "{{ module | replace('-', '_') | upper }}"` in
60
+ `_ansible/roles/support/vars/main.yml`. So it is `$(SR_VA)`, never `$(SR-VA)`.
61
+
62
+ msi macro names accept only alphanumerics and underscore, so a hyphenated
63
+ reference survives expansion as a literal and fails with `msi: No template
64
+ file` — and it fails **late**, crashing generic-IOC startup at the msi step
65
+ after `generate2` has already produced a perfectly good `ioc.subst`/`st.cmd`.
66
+
67
+ Grep after editing:
68
+
69
+ ```bash
70
+ grep -rn 'file: \$([A-Z0-9]*-' ibek-support*
71
+ ```
72
+
54
73
  ---
55
74
 
56
75
  ## name parameter and type: id
@@ -90,6 +109,24 @@ These need:
90
109
 
91
110
  ---
92
111
 
112
+ ## XML template entities (`Xml` classes) use `sub_entities`
113
+
114
+ A builder.py class inheriting from `Xml` corresponds to an XML template in
115
+ `etc/makeIocs/`. Model it as **one entity with `sub_entities`** referencing
116
+ entity types from other modules — do **not** write a converter that expands it
117
+ into individual child entities in `ioc.yaml`.
118
+
119
+ That keeps `ioc.yaml` minimal and reusable: one entity with a few macro
120
+ parameters (`dom`, `plc_ip`, `ts_ip`) instead of dozens of expanded children,
121
+ preserving the template abstraction the XML author intended.
122
+
123
+ To do it: read the template from `etc/makeIocs/`, write an entity model whose
124
+ `sub_entities` reference existing entity models, use Jinja2 `{{ param }}` for
125
+ the macro substitution, and write no converter at all. Worked example:
126
+ `ibek-support-dls/SR-VA/SR-VA.ibek.support.yaml` (`d2PumpCart`).
127
+
128
+ ---
129
+
93
130
  ## Parameter type inference from db templates
94
131
 
95
132
  Do not default everything to `type: str`. Read the `.db`/`.template` and check
@@ -0,0 +1,145 @@
1
+ ---
2
+ name: ibek-pattern-vendoring
3
+ description: Operational knowledge and foot-guns for the epics-containers `ibek pattern` runtime-support vendoring system — vendoring/check/restore mechanics, the strict integrity-check policy, and the pre-commit/CI/packaging traps. Use when working on ibek `pattern`/`runtime` commands, services-template-helm pre-commit hooks or ci_verify.sh, runtime-lock.yaml, or the t01/bl01 services repos.
4
+ ---
5
+
6
+ # ibek pattern runtime-support vendoring
7
+
8
+ `ibek pattern add|update|check|restore|schema` vendors a runtime-support file-set
9
+ (`*.ibek.support.yaml` plus optional `.proto`/`.protocol`/`.template`/`.db`) from a
10
+ central library into `services/<instance>/config/`, prepending a deterministic
11
+ `# Vendored from <src>@<ver> — DO NOT EDIT` header and recording each file's sha256
12
+ in `services/<instance>/runtime-lock.yaml`. Libraries: `ibek-runtime-streamdevice`,
13
+ `ibek-runtime-support`. Shipped in **ibek 4.6.0** (`ibek pattern`, `ibek runtime
14
+ place-files`), but 4.6.0 was yanked, so the real floor is **`ibek>=4.6.1`** — see
15
+ the version-pin note under "Other conventions".
16
+
17
+ ## check / dirty semantics
18
+ - `ibek pattern check <instance>` → **exit 1** on any hash mismatch (drift).
19
+ - `--allow-dirty` (or `IBEK_ALLOW_DIRTY=1`) downgrades mismatches to *warnings*
20
+ (exit 0). It also makes the CLI still print "vendored files match the lock" — misleading.
21
+ - A lock entry whose value is `DIRTY # <reason>` is tolerated **even without** the
22
+ flag (handled by `is_dirty()` before the allow-dirty logic). This is the sanctioned,
23
+ visible way to keep a deliberate edit to a vendored file.
24
+ - **Policy (this project): strict on every branch** — hooks/CI run `check` WITHOUT
25
+ `--allow-dirty`. To diverge deliberately: mark the lock entry `DIRTY # <reason>`.
26
+ To try a throwaway edit: `git commit --no-verify` and tolerate red branch CI
27
+ (red doesn't block deploying the branch to a cluster).
28
+
29
+ ## FOOT-GUN 1 — pre-commit / shell loops mask non-last failures
30
+ A `bash -c 'for x in …; do cmd "$x"; done'` exits with the status of the **last**
31
+ iteration only. A failing earlier item (e.g. an edited vendored file in a
32
+ first-sorting instance like `bl01t-di-cam-01`) is silently masked by any later item
33
+ that passes → hook reports "Passed". Compounded by pre-commit **hiding a passing
34
+ hook's stdout**, so even a warning is invisible. Always keep `|| rc=1` + `exit "${rc}"`
35
+ — never rely on the loop's own exit status. Current canonical shape scopes to the
36
+ *changed* instances via `pass_filenames: true`, mapping each path back to its folder:
37
+ ```bash
38
+ bash -c '
39
+ rc=0
40
+ for i in $(printf "%s\n" "$@" | cut -d/ -f1-2 | sort -u); do # changed instances, de-duped
41
+ [ -f "${i}/runtime-lock.yaml" ] || continue
42
+ uvx --python 3.13 --from ibek --constraints requirements.txt ibek pattern check "${i}" || rc=1
43
+ done
44
+ exit "${rc}"' ibek-pattern-check # $0 placeholder; files land in "$@"
45
+ ```
46
+ Don't hard-code the ibek version in the hook: `--from ibek --constraints requirements.txt`
47
+ makes uvx resolve ibek to whatever `requirements.txt` pins (`==`, `>=`, **or** a `name @
48
+ git+…` direct ref — uv constraints honour all three), so `requirements.txt` is the single
49
+ source of truth and auto-tracks the DLS-GitLab requirements variant in those repos.
50
+ The old `shopt -s nullglob; for … in services/*/…` form (looping *every* instance on any
51
+ change) still works but is slower and floods errors/skip-noise from unrelated instances.
52
+ ioc-schema narrows `files:` to `config/ioc.yaml|ioc.schema.json|values.yaml`; pattern-check
53
+ keeps a broad `^services/` trigger so edits to DO-NOT-EDIT vendored files still fire. Both
54
+ add `exclude: ^services/\.` (skip the `.ioc_template` skeleton). A top-level `set -e`/`set
55
+ -xe` (as in `ci_verify.sh`) also avoids the mask — it aborts on first failure; the bug
56
+ bites loops *without* it.
57
+
58
+ ## FOOT-GUN 2 — `>=` version specs exclude pre-releases
59
+ `ibek>=X` will NOT install a pre-release `Xb2` — pip/uv skip pre-releases unless the
60
+ specifier names one (or nothing stable satisfies it). During a beta window pin
61
+ `==Xb2` or `>=Xb2`; switch to `>=X` once the final is out. This is why an image with
62
+ `ibek>=3.3.4` pulled stable `3.3.7` (no `place-files`) instead of the `4.6.0` beta.
63
+ Verify with `uv pip install --dry-run "<spec>"` in a scratch venv.
64
+
65
+ ## FOOT-GUN 3 — pre-commit partitions files across parallel workers
66
+ With `pass_filenames: true`, pre-commit runs the hook once per CPU-sized partition of the
67
+ file list (xargs-style), in parallel. It splits by *file*, so one instance's files can land
68
+ in different partitions and each partition's `sort -u` re-runs that instance → duplicate
69
+ work and duplicated output (obvious under `--all-files`). Fix: **`require_serial: true`** →
70
+ a single invocation with the whole list, so `sort -u` de-dupes globally and each instance
71
+ runs once. (pre-commit also chunks for ARG_MAX, but that only bites at hundreds of files.)
72
+
73
+ ## FOOT-GUN 4 — surfacing a soft-skip without failing the commit
74
+ pre-commit hides a *passing* hook's output, so `ibek pattern schema`'s soft-skip (exit 0
75
+ when the base schema 404s, e.g. a beta image) is invisible. Write just that line to
76
+ `/dev/tty` (bypasses pre-commit's capture; shows even on a pass). Three traps, all verified:
77
+ - **bare `… | tee | grep > /dev/tty`** (no file arg) pipes everything into grep and sends
78
+ *only* matches to the tty — the full output never reaches stdout/stderr, so on a real
79
+ failure with no tty (CI) the pipe tears down and pre-commit shows a **blank** "Failed".
80
+ Emit the full output as its **own** statement first (`printf "%s\n" "${out}"`), then warn.
81
+ - **`grep … > /dev/tty 2>/dev/null`** does NOT suppress the no-tty error: bash opens (and
82
+ fails) `> /dev/tty` *before* applying the trailing `2>/dev/null`. Use group level:
83
+ `{ … > /dev/tty; } 2>/dev/null || true`.
84
+ - **`[ -w /dev/tty ]`** is a false guard — `/dev/tty` is always present with `rw` perms, so
85
+ the test passes even when `open()` fails (ENXIO, no controlling terminal).
86
+
87
+ ## Other conventions
88
+ - **Merge library PRs with a merge commit, not squash**, so version tags stay
89
+ ancestors of `main`. Watch tag-prefix consistency (`v0.1.0` vs `0.1.1`).
90
+ - **Pushing to `gilesknap/t01-services` needs the `../t01-gh` PAT** — the cached
91
+ token lacks write. epics-containers repos push fine via the cached token:
92
+ `GIT_CONFIG_GLOBAL=/dev/null git -c credential.helper='!gh auth git-credential' push https://github.com/<owner>/<repo>.git <branch>`.
93
+ - Template source of truth is `services-template-helm` (`template/ci_verify.sh`,
94
+ `template/.pre-commit-config.yaml`); services repos inherit changes via `copier update`
95
+ of a **released tag** (not the branch tip).
96
+ - **copier is delta-based, not recopy.** `copier update` replays the *diff* between the
97
+ old and new template versions onto the service repo. So a rendered file that has
98
+ **diverged** from the template (hand-edits, or drift from an old template) is NOT
99
+ silently healed — copier only re-renders it if the new template version actually
100
+ *changes that file*. Consequence both ways: (a) if a file diverged but the template
101
+ didn't touch it, `copier update` leaves the divergence — fix by overwriting from
102
+ `template/<file>` or `copier recopy -f`; (b) once the template *does* change the file,
103
+ `copier update` re-renders it and the divergence is replaced (verified: t01's diverged
104
+ `ci_verify.sh` healed to byte-identical-to-template after a template-touching update).
105
+ Drift diagnostic: `copier recopy -f --skip-tasks` on a throwaway clone, then diff.
106
+ (Gotcha tracked in epics-containers.github.io issue #232.)
107
+ - **Library version pins move fast during a rollout — verify, don't trust notes.** ibek
108
+ 4.6.0 was *yanked* (broken `ibek pattern` CLI) and replaced by 4.6.1; the real floor
109
+ became `ibek>=4.6.1`. Always `gh release list` / check PyPI for the live version rather
110
+ than reusing a number from an earlier session.
111
+
112
+ ## Consuming a pattern — image ibek floor, library map, schema, sim wiring
113
+ - **The IMAGE must bake ibek ≥ 4.6.1 to *consume* a pattern, not just the workstation.**
114
+ `ibek pattern add` runs on the workstation and succeeds regardless; consumption happens
115
+ at container start, where `ioc/start.sh` runs `ibek runtime generate2 config`, which only
116
+ discovers vendored `config/*.ibek.support.yaml` on ibek ≥ 4.6.1. An IOC image built with
117
+ older ibek silently fails to load the pattern **at boot** (not at `add`). Check the
118
+ image's pinned floor in its `requirements.txt`: `ioc-streamdevice` pins `ibek>=4.6.1`;
119
+ `ioc-adsimdetector` pinned `ibek>=3.3.1` and needed a rebuild + new tag before its image
120
+ could consume patterns.
121
+ - **`name@<ver>` pins a GIT REF, not a GitHub Release.** `ibek pattern add` clones the
122
+ library with `git clone --depth 1 --branch <ver>` (sources.py `_clone_pattern`). The
123
+ pinnable version is therefore a git tag, which can diverge from Releases:
124
+ `ibek-runtime-support` had git tag `v0.1.0` and **no** GitHub release;
125
+ `ibek-runtime-streamdevice` had release `0.1.1`. Verify with `git ls-remote --tags <url>`
126
+ / `git -C <clone> tag`, NOT just `gh release list`. (Reinforces the tag-prefix-drift
127
+ warning above: `v0.1.0` vs `0.1.1` will break the pin.)
128
+ - **Library map** (defaults from sources.py `DEFAULT_LIBRARIES` → `github.com/epics-containers/<name>`;
129
+ override via `--source <uri|path>` or `IBEK_PATTERN_LIBRARIES="name=uri,..."` — a fork is
130
+ just `--source` a local clone path or the fork URL):
131
+ - `ibek-runtime-support` → non-StreamDevice runtime entities. Pattern `detectorPlugins`
132
+ has TWO entity_models — `gdaPlugins` (full GDA set; needs **ffmpegServer**) and
133
+ `detectorPlugins` (light Ophyd set; **ADCore-only**). A stock `ioc-adsimdetector` image
134
+ builds only ADSimDetector+ADCore (no ffmpegServer) → only the **light** model works.
135
+ - `ibek-runtime-streamdevice` → per-device StreamDevice file-sets (proto+template+support;
136
+ lakeshore340, …).
137
+ - **`ibek pattern add` regenerates `config/ioc.schema.json`** by fetching the *image's*
138
+ published base schema (`<ioc-repo>/releases/download/<image-tag>/ibek.ioc.schema.json`)
139
+ and merging the vendored entities in. If that tag/asset isn't published yet the schema
140
+ step soft-skips → the editor flags the vendored entity as an unknown type. So a
141
+ not-yet-published image tag breaks BOTH runtime consumption AND editor validation.
142
+ - **Compose-track sims need a sidecar, not localhost.** A StreamDevice IOC in the
143
+ `docker compose` track joins the `channel_access` bridge and cannot reach a simulator on
144
+ host `localhost`. Run the sim as a sidecar compose service on `channel_access` and point
145
+ `asyn.AsynIP` at the service name (the lakeshore340 sim binds `0.0.0.0:<port>`).
@@ -0,0 +1,164 @@
1
+ ---
2
+ name: ibek-support-ansible
3
+ description: Ansible build system for EPICS support modules — use when creating or editing install.yml files, debugging build failures, or modifying the ansible roles that compile support modules in containers.
4
+ ---
5
+
6
+ # ibek-support Ansible Build System
7
+
8
+ Reference for the ansible-based build system that compiles EPICS support modules
9
+ inside containers.
10
+
11
+ ---
12
+
13
+ ## Key files
14
+
15
+ - **Variable defaults + docs:** `ibek-support/_ansible/roles/support/vars/main.yml`
16
+ — all install.yml variables with defaults and examples. Read this first.
17
+ - **JSON schema:** `ibek-support/_scripts/support_install_variables.json`
18
+ — validates install.yml files. Must be kept in sync with vars/main.yml.
19
+ - **Build pipeline:** `ibek-support/_ansible/roles/support/tasks/main.yml`
20
+ — orchestrates the build steps.
21
+ - **Global variables:** `ibek-support/_ansible/group_vars/all.yml`
22
+ — paths (`support_folder`, `local_path`, `release_file`), arch flags
23
+ (`is_rtems`, `is_linux`), and config paths (`config_linux_host`).
24
+ - **Entry point:** `ibek-support/_ansible/ansible.sh <module|all|ioc>`
25
+
26
+ ---
27
+
28
+ ## Build pipeline sequence
29
+
30
+ ```
31
+ 1. system.yml — apt install packages
32
+ 2. clone.yml — git clone
33
+ 3. tasks.yml — pre-build ansible tasks
34
+ 4. pre_build.yml — comment_out, patch, scripts, bash (post_build: false)
35
+ 5. release.yml — configure/RELEASE
36
+ 6. build.yml — make
37
+ 7. post_build.yml — RELEASE.shell, libs/dbds, patch, scripts, bash (post_build: true)
38
+ 8. tasks.yml — post-build ansible tasks
39
+ 9. runtime.yml — copy runtime files
40
+ ```
41
+
42
+ Items default to pre-build. Set `post_build: true` to run after make.
43
+
44
+ ### Module order in a generic IOC Dockerfile
45
+
46
+ Each `RUN ansible.sh <module>` is a separate layer, so a module must be built
47
+ **after** everything its dbd or link line needs. The authoritative order is the
48
+ `core` group in `ibek-support/build-groups.yml`:
49
+
50
+ ```
51
+ calc sscan asyn busy autosave sequencer std
52
+ ```
53
+
54
+ Two dependencies in there are easy to miss, and both were shipped broken:
55
+
56
+ - **`std` must follow `asyn`.** `stdInclude.dbd` includes `asyn.dbd`, so building
57
+ it first gives `dbdExpand.pl: Can't find file 'asyn.dbd'`.
58
+ - **`std` needs `sequencer`.** `std_SRCS` includes `femto.st` and `delayDo.st`,
59
+ which need `snc` to become objects, and `std_LIBS += asyn seq pv`. Without it:
60
+ `make: *** No rule to make target 'femto.o', needed by 'libstd.a'`. No IOC uses
61
+ the sequencer directly, which is exactly why it gets left out.
62
+
63
+ A missing-dependency failure surfaces at whichever module is built too early, not
64
+ at the one that is absent — read the error for what it *wanted*, not where it
65
+ stopped.
66
+
67
+ ---
68
+
69
+ ## Adding new install.yml variables
70
+
71
+ Always update two files:
72
+ 1. `_ansible/roles/support/vars/main.yml` — default value + comment docs
73
+ 2. `_scripts/support_install_variables.json` — JSON schema type def + property
74
+
75
+ Then add the corresponding ansible task in `pre_build.yml` and/or `post_build.yml`.
76
+
77
+ ---
78
+
79
+ ## Common patterns
80
+
81
+ - **Conditional on arch:** `when: "{{ is_linux }}"` or `when: "{{ is_rtems }}"`
82
+ - **Inline shell:** use `bash` entries (`cmd`, `when`, `post_build`). CWD is `local_path`.
83
+ - **Script files:** use `scripts` entries (`path` relative to `ibek-support/<module>/`)
84
+ - **Complex ansible steps:** use `tasks` entries pointing to separate `*_task.yml` files
85
+ (useful when you need ansible features like `creates`, `register`, `failed_when`)
86
+ - **Module discovery for `all`:** parses `RUN ansible.sh` lines from the Dockerfile
87
+
88
+ ### `patch_lines` appends at EOF — beware Makefiles
89
+
90
+ `patch_lines` is ansible `lineinfile`, so when its `regexp` matches nothing it
91
+ **appends the line at the end of the file** rather than failing. That is silent
92
+ and usually harmless, but it is wrong whenever position matters.
93
+
94
+ Most EPICS Makefiles end with `include $(TOP)/configure/RULES*`, and make
95
+ expands many variables *while processing that include* — `<dir>_DEPEND_DIRS` in
96
+ `RULES_DIRS`, for example. A line appended after it has no effect at all, and
97
+ the build fails somewhere unrelated.
98
+
99
+ Use `patch_blocks` when the line must land in a particular place; it supports
100
+ `insertafter`, so anchor on something stable near the top:
101
+
102
+ ```yaml
103
+ patch_blocks:
104
+ - path: <module>App/Makefile
105
+ insertafter: '^include \$\(TOP\)/configure/CONFIG$'
106
+ marker: "# {mark} <why>"
107
+ block: |
108
+ Db_DEPEND_DIRS = src
109
+ ```
110
+
111
+ Verify the anchor matches exactly once — `blockinfile` inserts after the *last*
112
+ match.
113
+
114
+ ### Installing a tool rather than a support module
115
+
116
+ Some entries under `ibek-support/` install a build time tool with no repo to
117
+ clone and no `make` to run — `vdct` (VisualDCT) is the first. The role has no
118
+ "skip build" switch and `build.yml` runs `make clean` unconditionally, so run
119
+ only the phases you need by tag:
120
+
121
+ ```dockerfile
122
+ COPY ibek-support/vdct/ vdct
123
+ RUN ansible.sh vdct --tags system,pre_build_tasks
124
+ ```
125
+
126
+ `ansible.sh` passes trailing arguments through to `ansible-playbook` untouched.
127
+ The `system` tag gives you `apt_developer` and `download_extras`;
128
+ `pre_build_tasks` gives you `tasks` entries. Clone, release, build and the
129
+ runtime phases are all skipped.
130
+
131
+ Do the real work in a `tasks` file, not `bash`/`scripts` entries — those run
132
+ with `chdir: local_path`, which does not exist when nothing was cloned.
133
+
134
+ Put such tools immediately after the `COPY ibek-support/_ansible` line so every
135
+ later module can use them.
136
+
137
+ ---
138
+
139
+ ## Generic IOC image publishing — on GitHub, tags only
140
+
141
+ A generic IOC repo's `.github/workflows/build.yml` builds and tests on every
142
+ push, but both the "Push developer image" and "Push runtime image" steps are
143
+ gated on:
144
+
145
+ ```yaml
146
+ if: ${{ github.event_name == 'push' && github.ref_type == 'tag' }}
147
+ ```
148
+
149
+ So on GitHub **a branch push publishes nothing**.
150
+
151
+ This is easy to get wrong because the `docker/metadata-action` step is *not*
152
+ gated — it still computes `ghcr.io/epics-containers/<repo>-developer:<branch>`
153
+ and prints it into the CI log. Seeing that tag in a successful branch build is
154
+ not evidence that an image exists.
155
+
156
+ DLS GitLab behaves differently: `.gitlab/kanikobuild.sh` pushes on every
157
+ commit, using the branch name as the image tag when `CI_COMMIT_TAG` is unset
158
+ (untagged commits go to the work registry, tagged ones to prod). So branch
159
+ images do exist there.
160
+
161
+ Consequence when layering generic IOCs (`ARG DEVELOPER=.../ioc-<base>-developer:<tag>`):
162
+ if the base lives on GitHub you cannot test a downstream IOC against a branch
163
+ build of it. Cut and push a tag on the base repo first, then point `DEVELOPER`
164
+ at that tag.
@@ -65,12 +65,15 @@ differs (3.14 lands `.HIGH=60`, RTEMS lands `.HIGH=0`).
65
65
  ### The fix: autosave the FIELD, not the readback record
66
66
  `.HIGH` (the field) holds a value fine on both platforms — so save/restore *it*:
67
67
  ```
68
- # dlsPLC_temperature_settings.req (note: <record> <field>, dot-field of the temp record)
68
+ # dlsPLC_temperature_settings.req (note: <record>.<field>, dot-field of the temp record)
69
69
  # from
70
- $(device)$(temp):HIGH VAL # the :HIGH ai record — futile on EPICS 7
70
+ $(device)$(temp):HIGH # the :HIGH ai record — futile on EPICS 7
71
71
  # to
72
- $(device)$(temp) HIGH # the <temp>.HIGH alarm-limit field — the real limit
72
+ $(device)$(temp).HIGH # the <temp>.HIGH alarm-limit field — the real limit
73
73
  ```
74
+ The dot is not optional — see [req file syntax](#req-file-syntax-one-pv-per-line)
75
+ below. `$(device)$(temp) HIGH` (space) silently saves `$(device)$(temp).VAL`
76
+ instead, i.e. the temperature reading rather than its alarm limit.
74
77
  With `.HIGH` restored directly, `HIGH_INIT`/`:HIGH` become harmless leftovers
75
78
  (restore lands on `.HIGH`; `:HIGH` mirrors it via `CP`). It's the **req file**
76
79
  that fixes the live IOC — **no template logic change is required**. Two riders:
@@ -90,6 +93,33 @@ a plain `ao`) while the readback one (`:HIGH`) collapses to 0.
90
93
 
91
94
  ---
92
95
 
96
+ ## Req file syntax: one PV per line
97
+
98
+ autosave's `readReqFile()` (`asApp/src/save_restore.c`) parses each line with
99
+
100
+ ```c
101
+ sscanf(eline, "%s", name);
102
+ ```
103
+
104
+ so it takes **only the first whitespace-delimited token and silently discards
105
+ the rest of the line** — no warning, no error, the extra fields simply never get
106
+ saved. A line must therefore name exactly one PV:
107
+
108
+ ```text
109
+ $(P)$(R).CALC # correct — one line per field
110
+ $(P)$(R).SCAN
111
+ $(P)$(R) CALC SCAN # WRONG — saves $(P)$(R).VAL only; CALC and SCAN are dropped
112
+ ```
113
+
114
+ `VAL` is written as the bare record name (`$(P)$(R)`), which is the same PV and
115
+ the spelling `builder2ibek migrate-autosave` uses in the `.sav` files.
116
+
117
+ This is what `builder2ibek autosave` emits, so **regenerate rather than
118
+ hand-edit**; `db2autosave.write_req_file()` carries the same note. A `#% autosave
119
+ N` comment listing several fields expands to one line per field.
120
+
121
+ ---
122
+
93
123
  ## Verifying autosave after a migrate (recipe)
94
124
  - The IOC writes `<file>.savB` (and dated backups); `<file>.sav` is the live
95
125
  file it restores from. Compare `.sav`/`.savB` against the legacy
@@ -73,16 +73,69 @@ component. Classify each class by its base type:
73
73
 
74
74
  ### Which classes need reporting?
75
75
 
76
- **YES — report these:**
76
+ **Step 2a — apply the exclusion test FIRST.** A class that fails this test is
77
+ never reported, no matter how many of the "report these" signals it shows.
78
+ Exclusions always win.
79
+
80
+ **NO — skip these, unconditionally:**
81
+ - **Not exported.** If builder.py declares `__all__`, that list *is* the set of
82
+ user-facing components. A class absent from `__all__` is internal — skip it.
83
+ - **`_prefixed` names** — internal helpers, even when they carry `TemplateFile`
84
+ and `Arguments` (this combination is the usual shape of an internal helper,
85
+ not a reason to report one).
86
+ - `AutoInstantiate = True` — singleton, created automatically, not user-facing
87
+ - `BaseClass = True` — abstract parent, never instantiated directly
88
+ - Simulation variants (e.g. `_Sim` suffix classes)
89
+
90
+ **Step 2b — of what survives, YES, report these:**
77
91
  - Classes users instantiate in XML (they have `ArgInfo` and take parameters)
78
92
  - Classes with `TemplateFile` (they load a database)
79
93
  - Classes with `Initialise` / `PostIocInitialise` methods (they emit st.cmd commands)
80
94
 
81
- **NO — skip these:**
82
- - `AutoInstantiate = True` — singleton, created automatically, not user-facing
83
- - `BaseClass = True` — abstract parent, never instantiated directly
84
- - Simulation variants (e.g. `_Sim` suffix classes)
85
- - Internal `_prefixed` template helper classes
95
+ **Why the order matters.** Internal helpers are instantiated *by* a public
96
+ `Device` in its `__init__`, so their templates load automatically as a side
97
+ effect of the public entity. Giving them their own entity model invents an XML
98
+ tag that no IOC ever writes, and usually duplicates records the public entity
99
+ already loads.
100
+
101
+ **Confirm before reporting a doubtful class:** grep the IOC XMLs for the class
102
+ name. A class that never appears as an XML tag is not user-facing.
103
+
104
+ ```bash
105
+ grep -rl '<module\.ClassName' $(find /dls_sw/work/R3.14.12.7/support/*BUILDER/etc/makeIocs -maxdepth 5 -name "*.xml")
106
+ ```
107
+
108
+ This searches the **work** tree, which holds one current `etc/makeIocs` per
109
+ beamline — the project's usual convention. It is evidence, not proof: released
110
+ BUILDER modules also exist under `/dls_sw/prod/.../support/*BUILDER/<version>/
111
+ etc/makeIocs`, and are not covered. Do not widen the glob to every prod version
112
+ — that is the broad `/dls_sw` scan the sweep skill forbids. Treat "no hits" as
113
+ supporting a conclusion the `__all__` test has already reached, never as the
114
+ sole reason to call a class internal.
115
+
116
+ **Worked example — the trap this rule exists to prevent.** DLS `autosave`
117
+ declares `__all__ = ['Autosave', 'SetAutosaveServer']`, and:
118
+
119
+ ```python
120
+ class _AutosaveFile(Substitution):
121
+ Arguments = ('device', 'file')
122
+ TemplateFile = 'dlssrfile.template'
123
+
124
+ class _AutosaveStatus(Substitution):
125
+ Arguments = ('device', 'name')
126
+ TemplateFile = 'dlssrstatus.template'
127
+
128
+ class Autosave(Device):
129
+ def __init__(self, iocName, ...):
130
+ _AutosaveFile(device=iocName + db_suffix, file='0') # created internally
131
+ ```
132
+
133
+ Both helpers have `TemplateFile` and `Arguments`, so the "report these" signals
134
+ all fire — but they are `_prefixed` and absent from `__all__`, so both must be
135
+ skipped. A previous pass reported them and generated `dlssrfile` / `dlssrstatus`
136
+ entity models. Those were wrong twice over: no IOC XML can reference them, and
137
+ the records they load are superseded by upstream autosave's
138
+ `save_restoreStatus.db`, which ibek's `autosave.Autosave` already loads.
86
139
 
87
140
  ---
88
141