Commit graph

7 commits

Author SHA1 Message Date
Roland
963c7e139c
fix: remove bzip install command (agent can figure it out) (#2246) 2026-04-21 20:59:46 +07:00
Roland
0a36ebaf65
chore: make install and update scripts more agent-friendly (#2245)
The download was too verbose.
This lead to the agent unable to read the whole output.
It then made incorrect decisions on what to do next.
2026-04-21 13:58:40 +07:00
molty21
e963d6a2bf
feat: make installation scripts agent-friendly with CLI args (#2144)
* feat: make installation scripts agent-friendly with CLI args

Add command-line argument support to install.sh and update.sh for both
x86_64 and aarch64 architectures:

- -d, --install-dir DIR    Set installation directory
- -s, --systemd            Auto-setup systemd service (install only)
- --no-systemd             Skip systemd setup (install only)
- -y, --yes                Non-interactive mode (auto-confirm prompts)
- -h, --help               Show usage information

This allows agents and automation tools to run the scripts without
interactive prompts, making them suitable for CI/CD pipelines and
automated deployments.

* fix: add argument validation for --install-dir flag

Add validation to ensure -d/--install-dir is provided with a valid value:
- Checks that argument exists (not empty)
- Checks that argument doesn't start with '-' (not another flag)
- Exits with error message if validation fails

Fixes CodeRabbit review feedback on PR #2144.

* feat: add --skip-verify flag to skip verification step

Add --skip-verify flag to install and update scripts:
- linux-x86_64/install.sh
- linux-x86_64/update.sh
- linux-aarch64/install.sh
- linux-aarch64/update.sh

When --skip-verify is passed, the scripts skip downloading and
calling verify.sh entirely.

Usage: ./install.sh --skip-verify

* fix: ensure install dir does not contain whitespace

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* Apply suggestion from @rolznz

* Apply suggestion from @coderabbitai[bot]

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* Apply suggestion from @rolznz

* Update scripts/linux-aarch64/install.sh

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

---------

Co-authored-by: molty21 <moltbot21@agentmail.to>
Co-authored-by: Roland <33993199+rolznz@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2026-03-16 19:24:43 +07:00
Sergey B.
9701c726ac
Making shell scripts POSIX compliant (#2015)
* feat: usage of rsync for backups

* refactor: making scripts POSIX compliant
2026-02-26 12:19:30 +07:00
Matjaž Lipuš
e0a51ba0c3
chore: rename LOG_EVENTS env variable (#1509)
* renamed config

* updated configs

* chore: renamed to SEND_EVENTS_TO_ALBY
2025-07-18 21:42:59 +07:00
Roman D
004884c07f
feat: verify package signatures (#1220)
* feat: archive integrity verification WIP

* feat: archive integrity verification in the aarch64 update script

* chore: extract verification into a separate file

* feat: add signature verification to all installation and update scripts

* fix: pass correct filenames when invoking the verification script
2025-04-15 23:54:58 +07:00
Roman D
3bddc72b95
chore: add linux-aarch64 scripts (#1032) 2025-01-28 16:21:48 +07:00