Repository navigation
docs: basert updates itself, from 0.5.5 - #100
Merged
Merged
Conversation
basert 0.5.5 updates itself, and the Superfluid it runs, from a command run in a terminal; the pages said a command only checks daily and prints a line. - docs/getting-started/installation.md: Updating describes the automatic updates (the daily look, the three-day hold-off, the foreground update with its release-notes link and way back, failures), Superfluid following the engine and coming forward by itself, what a package manager's install does (Homebrew, a global npm, pipx, uv and cargo in the background, pinned to the release; pip and the rest get a line naming the command), the switches (self auto-update off|on, --no-update, BASERT_NO_UPDATE, BASERT_NO_UPDATE_CHECK, settings.json), when nothing updates, and going back (self use, self list, self update --version, superfluid install <release>). The environment table gains BASERT_NO_UPDATE and BASERT_CONFIG_DIR; the Superfluid block shows superfluid install <release>. - docs/cli/reference.md: --no-update on any command, basert self auto-update [on|off], superfluid install [RELEASE]. - docs/cli/overview.md: an Updates section. - docs/guides/serving.md: basert keeps its Superfluid up to date; a row for going back; its own update check is off since basert brings it forward. - docs/getting-started/quickstart.md, docs/index.md: updates are automatic; self update is the manual path; how to turn them off. - docs/reference/security.md: the daily read of the two release listings on api.github.com, the downloads an update makes, and the switches. - docs/reference/engine-releases.md: an automatic update checks the same hash. - README.md: the install step and the command table. - install.sh: the closing notes say basert updates itself and how to turn that off, when the installed release can (an older one keeps the self update line).
Checked against the 0.5.5 source (baseRT-internal feat/auto-update): - installation.md: Superfluid comes forward by itself whenever basert is not updated first, including the one in basert's data directory beside a package manager's install; an update of basert still brings a BASERT_SUPERFLUID_DIR Superfluid basert did not install, and one gone back to with `superfluid install <release>`, to the newest release that serves the new engine; cargo's background update runs while a server does. - superfluid install <release> is from 0.5.5 and takes only a release that serves this engine (reference, serving guide, installation, README). - self auto-update says whether automatic updates are on and which switch turned them off, not whether basert updates itself (reference, README). - overview: a package manager's install updates in the background after the command, not first; pip gets a line. - security: the daily read of the two listings predates 0.5.5; only the automatic update after it is new.
A release is taken as soon as it is out; basert self auto-update wait <days> (updateWaitDays in settings.json, BASERT_UPDATE_WAIT_DAYS for a shell) has it wait. BASERT_NO_UPDATE and --no-update now turn off the daily look and the line too, as BASERT_NO_UPDATE_CHECK and superfluid's switches do.
An unreadable settings file still lets the wait it holds govern the line saying a newer release is out.
IsuraManchanayake
marked this pull request as ready for review
November 26, 2026 17:08
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Merge when basert 0.5.5 ships. These pages describe automatic updates, which arrive in basert 0.5.5 (basecompute/baseRT-internal#960, paired with superfluid 0.2.2). Merging before then would document behaviour users don't have yet. The pages feed basert.basecompute.co through baseRT-docs' daily sync.
What changes
docs/getting-started/installation.md: the Updating section is rewritten:
basert self auto-update off|on,BASERT_NO_UPDATE=1,--no-update, plusBASERT_NO_UPDATE_CHECK, which also stops the daily look and line. Alsosettings.json/BASERT_CONFIG_DIR, and when nothing updates: no terminal,CI, root, informational commands.self check|update|list|use,--version,basert superfluid install <release>.BASERT_NO_UPDATEandBASERT_CONFIG_DIR.Other pages:
--no-update,basert self auto-update [on|off], the hold onself use,basert superfluid install [RELEASE] [--force].self updateis the manual path; how to turn it off.self auto-update, so an older pinnedBASERT_VERSIONstill gets the old line.The packaging READMEs and base-convert README are not here; the 0.5.5 open-core sync brings their reviewed wording.
Checked
Every command, flag, env var and path was fact-checked against baseRT-internal
feat/auto-update(0365f1eb) by two independent checkers. All 12 issues they raised are fixed.python3 -m unittest tests/scripts/test_packaging.py: 69 run, OK.sh -n install.shpasses.