Commit Graph

4 Commits

Author SHA1 Message Date
Grant Labutis
7970b1b9e0 fix: address coderabbitai and CrazyWolf13 review feedback
- Remove inline comments from var_ declarations in ct/companion.sh
- Replace dual python3 JSON calls with single jq query parsing both
  RELEASE and ASSET_URL from the same package object, preventing
  version/URL mismatch across different package entries
- Add validation for both RELEASE and ASSET_URL (previously only
  ASSET_URL was checked in install script)
- Move version file from /opt/companion_version.txt to ~/.companion
  per project convention
- Use fetch_and_deploy_from_url framework helper instead of manual
  curl/tar/rm in both update_script and install script
- Remove redundant dependencies (curl, sudo, mc, python3); add jq
- Reload udev rules after copying (udevadm control --reload-rules &&
  udevadm trigger) so USB permissions apply immediately
- Replace manual apt-get autoremove/autoclean with cleanup_lxc
2026-03-23 14:31:46 -04:00
Grant Labutis
7d0e8ba7bb fix: exit 1 on missing install, robust JSON parsing via python3 2026-03-16 18:55:09 -04:00
Grant Labutis
955fd17d34 fix: align with contribution standards 2026-03-16 13:39:40 -04:00
Grant Labutis
44cbde1ec8 feat: add Bitfocus Companion LXC installer 2026-03-16 13:36:47 -04:00