VisionSystemsInc / VisionSystemsInc/vsi_common
VXL Just plugin
Nobody has claimed this yet.
- Dominant language
- Shell
- Stars
- 8
- Forks
- 9
- Avg merge
- 36m
- Merged PRs (30d)
- 1
Description
I think it should be possible to write a pyvxl plugin
We've added pyvxl to enough projects now, that it's becoming a common pattern that we are copying to get VXL added: https://bitbucket.org/visionsystemsinc/volume_model/branches/compare/main%0D0497eab354ec40f93be30c6100a7087d163e3070#diff
- Take the CMakefile and add that as part of the plugin.
- The project name would be something like
pyvxl - The volume model prefixes would be replaced with generic
- The project name would be something like
compilewould be in the plugin file- There would also need to be an internal plugin added too, for the internal just compile
- The docker for compiling vxl in
- The plugin would be responsible for the "build" volume
- A way to export this for airgap (not fully deployed scenario)
- Make sure easy to get compiled pyvxl for fully deployed scenario
Main project (manual?) steps would still include:
- Added external/vxl, pyvxl, and pybind11 (can pybind11 be optional?)
- Adding
PYTHONPATH=${PYVXL_INSTALL_DIR_DOCKER}/lib/python3/site-packagestodocker-compose.yml?- It might be possible to embed this in
/usr/local/share/just/user_run_patchinstead of docker-compose, but then that makes it more automatic and more hidden, trade-off
- It might be possible to embed this in
Unknown
- How to pass install volume from plugin to project
- I image using the
volume:name:in docker-compose, we could come up with a pattern that would include project and user name, and manually add it to the project's docker-compose too.
- I image using the
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by comparing the linked volume_model CMakefile with the proposed pyvxl plugin structure. Review docker-compose.yml and /usr/local/share/just/user_run_patch for the PYTHONPATH and build-volume integration, then trace the internal plugin, Docker compilation, air-gapped export, and fully deployed workflow. Done requires a defined plugin interface, volume-passing approach, and resolution of whether pybind11 is optional.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cmake, docker, docker-compose, python
- Domain
- build-system, devops, tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100