slap json-rpc migration (0/7): add SlapException parent, fix standalone supervisord detection and optional SBOM
First MR of the stack that migrates the SlapOS client from the HATEOAS slap_tool transport to the JSON-RPC API. This one contains no client behavior change — only independent fixes and one preparatory class. It is safe to merge on its own.
Commits:
- gitignore: add CLAUDE.md and dist-info — stop tracking the Claude Code instruction file and the slapos.core.dist-info build artifact.
- standalone: fix supervisord process detection when run via python wrapper — slapos/grid/svcbackend.py launches supervisord as python -c "import supervisor.supervisord; ...main()" (extracting the python binary to avoid the shebang size limit from a long sys.path), so the OS process name is python. standalone._ensureSupervisordStarted checked psutil process name == 'supervisord', never matched that process, and started a second, conflicting supervisord. Also match supervisord in the process command line.
- testing/testcase: make nxdbom optional in generate_sbom — when the nxdbom binary is absent, catch FileNotFoundError, warn, and skip SBOM generation instead of crashing setUpModule. SBOM upload is skipped when nothing was generated.
- slap/exception: add SlapException common parent class — give every slap exception a shared parent so callers can catch slap exceptions alone. Used by later MRs in the migration.
Edited by Cédric Le Ninivin