Skip to content

Remove CQ - #22

Merged
romleiaj merged 6 commits into
developfrom
dev/remove-cq
Sep 29, 2026
Merged

romleiaj merged 6 commits into
developfrom
dev/remove-cq

Conversation

@romleiaj

Copy link
Copy Markdown
Collaborator

Take this opportunity to get rid of some old custom kruft

cameron-a-johnson and others added 3 commits September 29, 2026 10:31
…s become JSON

Read config.json with json.load, not yaml.safe_load
…ra_env

Nothing references them; all three still installed or checked for yq.
No compose file launches them.
kamera-cfg lives in src/run_scripts/inpath, which is on PATH in the containers and via runtime/env.sh on the host, and finds config.json relative to itself. Callers query the config with 'kamera-cfg <query>' instead of the cq shell function, the get wrapper, or /cfg/get, which read an unset CFG_FILE inside the containers. master.sh and seed_redis_config.py read the config from REPO_DIR, so the /cfg symlink in the core and gui images goes.
The kamera.* links, mount_nas, assert_nas and diskfull pointed into src/run_scripts/newstartup and startup, which no longer exist. SystemCommands' halt target was never sent by the GUI and ran the dead kamera.halt link through an unimported subprocess. scripts/kamera.desktop only launched the dead kamera.run and nothing installs it.
@romleiaj

Copy link
Copy Markdown
Collaborator Author

Fully remove cq, now that yq is gone. Replace get with kamera-cfg so it's explicit what's going on. Trim dead links in inpath and elsewhere.

@romleiaj
romleiaj merged commit 41d7911 into develop Sep 29, 2026
2 checks passed
@romleiaj
romleiaj deleted the dev/remove-cq branch September 29, 2026 14:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants