mirror of
https://github.com/hasso5703/alzeo.git
synced 2026-12-06 21:04:21 +01:00
get.sh: install and update the stable channel, the latest published release; --edge follows main
The one command no longer resets the clone to origin/main: it installs the latest published release, on a branch of its own (stable), and main becomes the edge channel, opted into with --edge (back with --stable). The choice is kept in ~/.config/qwen38/channel; a box installed before, on main, migrates at its next update without downloading anything the tags do not already need. The release is found from GitHub's release API, then the remote's tags, then the tags the update itself fetched; nothing is touched when none answers. The channels are exercised by a real git fixture with two tagged releases and a curl shim standing in for the API: the update from N-1 to N, the switch to edge and back, the fallbacks, the refusals. The older get.sh tests run on the edge channel, which behaves exactly as get.sh always did. Generated by Mistral Vibe. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
26a7912aa9
commit
d7da3801cc
6 files changed
+373
-28
No files matched your search
@@ -915,6 +915,15 @@ jobs:
|
||||
- name: get.sh guards (git fixture, stubbed installer)
|
||||
run: python3 tests/test_get_sh.py
|
||||
|
||||
- name: get.sh channels (stable by default, N-1 updated to N, edge and back)
|
||||
run: |
|
||||
# The one command installs the stable channel now: the latest published release,
|
||||
# not main (decision 1529, 2026-11-19). The fixture is a bare origin with two
|
||||
# tagged releases, a box cloned at N-1, and a curl shim standing in for GitHub's
|
||||
# release API: the update from N-1 to N, the switch to edge and back, and the
|
||||
# fallbacks when the API answers nothing. No step here reaches the network.
|
||||
python3 tests/test_get_sh_channels.py
|
||||
|
||||
- name: bench.sh names the lane it measures (fake engine)
|
||||
run: python3 tests/test_bench_lane.py
|
||||
|
||||
|
||||
Reference in new issue
Block a user