Repository navigation
Show the WebSSH version and update the Python base image to 3.14.10 - #328
Merged
Merged
Conversation
Pin both build stages to the python:3.14-slim index digest for 3.14.10-slim-trixie.
The account menu and the Settings side panel show the running version, with the short source commit for official images, so users can report it and administrators can confirm an upgrade. Sign-in and registration pages do not show it. app/version.py holds the release number. A test keeps it equal to the newest release notes, and the tag-triggered image build refuses a tag that differs from it. The image exposes its build commit as WEBSSH_REVISION after the last cached layer. Fixes #327
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.
Fixes #327
Version display
(on phones under More, then the user name) and, on wide screens, in the
Settings side panel, e.g.
3.0.0 (917006e).WEBSSH_REVISION, which the image sets from theexisting
VCS_REFbuild argument. Only a full 40-character commit id is shown;local builds without it show the release number alone.
fingerprint an instance from outside.
ENVsits after the lastRUN/COPY, so a new revision does notinvalidate cached layers.
Release contract
app/version.pyholds the release number. A test requires it to match thenewest file in
docs/releases/, and the tag-triggered candidate build refusesa tag other than
v<VERSION>. Release step documented indocs/project-planning.md; the upgrade guide lists the version check and ashort FAQ entry.
Python base image
python:3.14-slimindex digest for3.14.10-slim-trixie (amd64 and arm64 included).
Validation
21 skipped.
account-menu,theme-systemandautomation-navigationpassed (11), themobile account-menu test now also checks the version line.
/ready, gthread worker, recovery volumeownership and graceful stop passed;
check_hardened_container.pypassed forthe compatible, hardened and hardened-custom profiles.