mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-11-19 14:36:22 -05:00
* The Settings upgrade can switch to a chosen branch
The Upgrade panel gains a Branch input: a dropdown listing the current
branch, master, and release that also takes a typed branch name.
/api/upgrade/start accepts an optional {"branch": ...}; without it the
current branch is upgraded as before. A branch is written into the systemd
env file and passed to `upgrade.sh -b`, so only plain git branch names are
accepted.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* The Controller upgrade refuses a branch that is not a plain branch name
The Controller's upgrade script wrote its branch straight into the systemd
env file, so a newline in it added a variable, and a leading dash became an
upgrade.sh option. It now accepts the same branch names as the API, and no
script parameter may span lines.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
|
||
|---|---|---|
| .. | ||
| __init__.py | ||
| admin.py | ||
| captive_portal.py | ||
| config.py | ||
| disks.py | ||
| docker_services.py | ||
| fstab.py | ||
| fstab_migration.py | ||
| fstab_yaml.py | ||
| mount_executor.py | ||
| mount_runner.py | ||
| onboarding.py | ||
| readiness.py | ||
| reconciler.py | ||
| samba.py | ||
| scripts.py | ||
| smart.py | ||
| status.py | ||
| status_worker.py | ||
| systemd.py | ||
| wrol_mode.py | ||