Skip to content

epics-containers/builder2ibek

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

239 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CI Coverage PyPI License

builder2ibek

A tool suite for converting DLS XMLbuilder IOC projects to epics-containers ibek.

Source https://github.com/epics-containers/builder2ibek
PyPI pip install builder2ibek
Documentation https://epics-containers.github.io/builder2ibek
Releases https://github.com/epics-containers/builder2ibek/releases

Note: the devcontainer includes Claude Code vscode plugin and skills for doing IOC conversions from XmlBuilder to ibek.

For a fully up to date claude client you can install the latest CLI as follows:

curl -fsSL https://claude.ai/install.sh | bash

Testing

Run the full test suite:

uv run pytest

Tests are parameterized per sample XML, so you can run a single IOC:

uv run pytest -k "BL11I-CS-IOC-09"
uv run pytest "tests/test_file_conversion.py::test_convert[BL11I-CS-IOC-09]"

Regenerate expected outputs and schema:

./tests/samples/make_samples.sh
./update-schema
╭─ Commands ───────────────────────────────────────────────────────────────────╮
│ xml2yaml        Convert a builder XML IOC instance definition file into an   │
│                 ibek YAML file                                               │
│ beamline2yaml   Convert all IOCs in a BLXXI-SUPPORT project into a set of    │
│                 ibek services folders (TODO)                                 │
│ autosave        Convert DLS autosave DB template comments into autosave req  │
│                 files                                                        │
│ db-compare      Compare two DB files and output the differences              │
╰──────────────────────────────────────────────────────────────────────────────╯

See https://epics-containers.github.io/builder2ibek for full documentation.

About

No description, website, or topics provided.

Resources

License

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors