From 777c4d885239bf7e4418892efb2c711d473344d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaroslav=20Bene=C5=A1?= Date: Tue, 1 Dec 2026 21:51:07 +0000 Subject: [PATCH] 1.0.0-beta.6: LLeMbas IDE in one installer, sign in from the editor, the CLI's real shapes; releases signed with the LLeMbas release key Co-Authored-By: Claude Fable 5.2 --- CHANGELOG.md | 2 ++ VERSION | 2 +- ide/README.md | 2 +- ide/install.sh | 6 ++++-- nvim/lua/llembas/init.lua | 2 +- scripts/test-ide.sh | 2 +- 6 files changed, 10 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 27db643..7ae23d4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## Unreleased +## [1.0.0-beta.6] — 2026-12-01 + Both editors were checked method by method against the LLeMbas CLI (2.0.0-beta.17) and now run their tests against one stand-in agent that answers only as the CLI does — and against the CLI itself where its source is at hand. diff --git a/VERSION b/VERSION index ae27bfc..6c3924b 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.0.0-beta.5 +1.0.0-beta.6 diff --git a/ide/README.md b/ide/README.md index 4052160..be0fad1 100644 --- a/ide/README.md +++ b/ide/README.md @@ -275,7 +275,7 @@ llembas-ide uninstall # remove it; --purge also removes your settings ``` `update` runs the installed installer: it finds the newest release of the channel you are on (a -beta stays with the betas), downloads it, checks it against the release's `SHA256SUMS`, and runs +beta stays with the betas), downloads it, checks it against the release's `SHA256SUMS` — which must be signed with the LLeMbas release key, the one the LLeMbas CLI's installer checks — and runs the installer inside it. Running `install.sh` again does the same. Plugins that did not change are kept as they are, so an update only fetches what is new. diff --git a/ide/install.sh b/ide/install.sh index 7087b78..ac529eb 100755 --- a/ide/install.sh +++ b/ide/install.sh @@ -50,7 +50,9 @@ SLUG="${LLEMBAS_IDE_SLUG:-LLeMbas/LLeMbas-IDE}" # The key releases are signed with. Empty: releases of LLeMbas IDE are not signed yet, and a # release is checked against its own SHA256SUMS only. Set, a release without a good # SHA256SUMS.sig (ssh-keygen -Y sign, namespace lembas-release) is refused. -PUBKEY="${LLEMBAS_IDE_PUBKEY:-}" +# The key LLeMbas releases are signed with (the LLeMbas CLI's get.sh checks the same one). Set +# LLEMBAS_IDE_PUBKEY to another key for a build of your own, or to nothing for an unsigned one. +PUBKEY="${LLEMBAS_IDE_PUBKEY-ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDSZO3Byow7R3ZpOH3MCvpPIga2pZBzhfX5wXfNP1cLa}" SIGN_NAMESPACE="lembas-release" CLI_GET="https://github.com/LLeMbas/LLeMbas-CLI/releases/latest/download/get.sh" NVIM_RELEASES="https://github.com/neovim/neovim/releases/download" @@ -206,7 +208,7 @@ newest_tag() { check_signature() { local dir="$1" if [ -z "$PUBKEY" ]; then - note "checked against the release's SHA256SUMS (releases of LLeMbas IDE are not signed yet)" + note "checked against the release's SHA256SUMS only: LLEMBAS_IDE_PUBKEY is empty, so no signature is asked for" return 0 fi need ssh-keygen "openssh-client; it checks the release's signature" diff --git a/nvim/lua/llembas/init.lua b/nvim/lua/llembas/init.lua index 2f94867..d0d5f19 100644 --- a/nvim/lua/llembas/init.lua +++ b/nvim/lua/llembas/init.lua @@ -17,7 +17,7 @@ local function read_repo_version() if v ~= "" then return v end end end - return "1.0.0-beta.5" + return "1.0.0-beta.6" end --- The oldest LLeMbas CLI everything here works with (`_lembas/configure` on `serve --stdio`). diff --git a/scripts/test-ide.sh b/scripts/test-ide.sh index ba5ca45..c3a67b6 100755 --- a/scripts/test-ide.sh +++ b/scripts/test-ide.sh @@ -92,7 +92,7 @@ BG_LIGHT="$(sed -n '/data-theme="shire"/,/}/s/^ *--bg: *\(#[0-9A-Fa-f]*\);.*/\1/ as() { local home="$1" shift - env -i PATH="$home/.local/bin:${EXTRA_PATH:+$EXTRA_PATH:}$CLEAN_PATH" HOME="$home" TERM=dumb LANG=C.UTF-8 \ + env -i PATH="$home/.local/bin:${EXTRA_PATH:+$EXTRA_PATH:}$CLEAN_PATH" HOME="$home" TERM=dumb LANG=C.UTF-8 LLEMBAS_IDE_PUBKEY= \ ${LLEMBAS_IDE_GIT_MIRROR:+LLEMBAS_IDE_GIT_MIRROR="$LLEMBAS_IDE_GIT_MIRROR"} "$@" } installer() { # installer