Sunil Mohan Adapa
a580437de2
privileged_daemon: Introduce a command line client for the API
- Similar call signature as actions/actions.
Tests:
- Running make install places a binary file in /usr/bin/freedombox-cmd
- Running 'freedombox-cmd upgrades get_log --no-args' works.
- Running 'freedombox-cmd upgrades activate_backports --no-args' works.
- Running 'freedombox-cmd storage usage_info --no-args' works.
- Running 'freedombox-cmd sshfs is_mounted --no-args' works.
- echo '{"args": ["USERNAME", "AUTH_USER", "AUTH_PASSWORD"], "kwargs": {}}' |
sudo freedombox-cmd users remove_user.
- Distribution upgrade from Bookworm to Trixie works.
- Snapshots are disabled and re-enabled during upgrade.
- /etc/apt/sources.list changes are completed on completion.
- If a command fails, the return code is not 0.
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Joseph Nuthalapati <njoseph@riseup.net>
2025-09-05 20:23:36 +05:30
..
2025-01-26 10:50:19 -05:00
2025-09-05 15:49:32 +05:30
2023-09-25 20:03:24 -04:00
2025-09-05 20:23:36 +05:30
2025-07-20 07:54:02 -07:00
2025-08-17 10:33:36 -04:00
2025-05-30 15:14:52 -04:00
2025-09-05 20:22:00 +05:30
2025-08-18 20:59:28 -04:00
2025-07-27 08:59:50 -07:00
2025-09-05 20:22:00 +05:30
2025-09-05 20:23:36 +05:30
2025-08-16 22:39:18 +05:30
2021-09-20 16:50:37 -04:00
2025-07-20 07:54:02 -07:00
2025-09-05 20:23:36 +05:30
2025-05-30 15:14:12 -04:00
2024-12-25 12:24:29 +02:00
2024-05-02 21:45:12 -07:00
2025-04-04 21:34:43 -04:00
2024-08-25 14:22:46 -07:00
2022-10-08 18:54:03 -04:00
2025-05-30 15:14:16 -04:00
2025-01-09 21:08:10 +05:30
2024-01-23 11:40:57 -08:00
2023-10-23 12:40:13 -04:00
2024-03-09 11:22:00 -05:00
2025-01-09 21:08:10 +05:30
2024-12-29 17:16:48 +02:00
2023-10-23 12:40:13 -04:00
2025-08-16 22:39:04 +05:30
2024-11-11 13:28:34 +02:00
2025-07-10 16:05:47 -07:00
2025-03-24 19:26:02 -07:00
2025-08-16 23:04:05 +05:30
2025-09-05 20:23:36 +05:30
2025-08-29 11:30:14 +03:00
2025-04-07 20:59:17 -04:00
2022-06-20 08:15:58 -04:00
2025-08-02 21:06:17 +05:30
2025-01-13 19:39:38 -05:00
2025-08-16 23:03:55 +05:30
2025-01-07 11:45:57 +02:00
2025-09-01 23:14:16 +05:30