Repository navigation
fix(02.02.01): verify downloadable GHCR installation assets - #17
Conversation
Transfer the locally tested packaging fix to a dedicated branch. The one-time workflow verifies SHA-256 and the entire resulting Git tree, stages only public source blobs/tree, and does not execute patched source, move any ref, publish packages or bypass required checks. Final expected tree acd75b1. Temporary transfer files are absent from that tree and excluded by the final squash. Base: acf2a94. Published v02.02.00 and its GHCR image remain unchanged.
Publish env.docker.example as a stable non-hidden release asset, while preserving .env.docker.example inside source and installation archives. Correct Linux/macOS/PowerShell download and checksum instructions. Download all published assets and verify names, sizes and SHA-256 hashes against prepared inputs before promoting latest. Advance all active version markers and add changelog, release notes and rollback guidance without changing published 02.02.00 artifacts. Local full validation: 224 Python tests passed, seven JavaScript tests, 91.25% server coverage; Ruff, mypy, compilation, Bandit, secret scanning, dependency consistency, release validation and performance budgets passed. Eleven new regressions cover filename normalization, archive preservation, documentation links and renamed/missing/extra/modified/non-file downloads. Actual browser, dependency-network, Docker and release-download round trips require normal GitHub CI. No runtime dependency, API, authentication, configuration-default or schema-2 data change; no migration or operator-data modification. Rollback preserves the same volume and uses the prior published 02.02.00 image. Exact verified source tree acd75b1; base acf2a94. Related #14 and #16. Temporary source-transfer files removed; object creation completed through the authorized connector without altering permissions or protections.
|
Merged into main as Final checks: Security and quality 36368093410, CodeQL 36368093403, validation bundle 36368093386 and Docker deployment 36368093412 all succeeded. The initial AMD64 failure was a Docker Hub connection reset while pulling Caddy; rerunning the failed job succeeded without changing application source, tests, permissions or release gates. ARM64 also passed. GitHub release v02.02.01 is published from that main commit, with the stable standalone asset name env.docker.example and the installation/source artifacts. No live operator container, private library or Cloudflare configuration was modified by this merge. Settings and automatic-description work is isolated in #15 as the subsequent compatible 02.03.00 version. |
Integrate Settings, scoped browser-memory reset and opt-in automatic descriptions for new blank-description bookmarks. Preserve manual descriptions, existing-entry edits, imports, private data and operator external-request denial. Bound metadata work, validate all public DNS/redirect targets, pin connections, explicitly require verified TLS 1.2+, and prevent duplicate saves. Failed metadata retrieval still saves the bookmark. Carry the reviewed CodeQL update from #8 into main and preserve #17's release-download verification. Align version 02.03.00, schema 2, documentation, configuration and rollback guidance. No runtime dependency or schema migration; no direct operator deployment. Keep roadmap #9 open for its unimplemented accepted milestones. Validated head 32c9528, exact tree cbc38cc, CI merge checkout ca3dad3. 326 local Python tests passed, 92.63% server coverage and 11 JavaScript helper tests. Final GitHub Security/quality 36384913470, CodeQL 36384913455, Docker deployment 36384913548 and validation bundle 36384913521 all succeeded. Python 3.10/3.13, all 28 real-browser scenario groups and AMD64/ARM64 container authentication, isolation, health, persistence, backup and restore passed. Dependency audits, lint/type checks, secret scan, release validation, performance and medium/high Bandit gate passed. GitHub's security bot resolved the TLS review finding after the explicit protocol floor and regression; no unresolved review threads remain. Temporary source-transfer payload and workflow are excluded from this final tree. Existing exact-main-commit and registry verification gates govern publication; no published release or image is overwritten.
Packaging correction
GHCR release 02.02.00 is published and both architectures passed actual registry Compose tests. Its anonymous manifest probe also passed (
container.jsonSHA256 e5b6eb7d503c37a2cbaded30bd97407a4e748cb0fa318aa8c7d6f3425c927e56). GitHub renamed the standalone.env.docker.exampledownload todefault.env.docker.example, leaving the minimal download examples inconsistent with the asset name. The tar installation bundle is unaffected.This patch releases 02.02.01, without overwriting published 02.02.00 tags/images. Use the stable public filename
env.docker.example; save it locally as.env.docker.examplein Linux/macOS/PowerShell examples. Preserve.env.docker.exampleinside source and tar archives. Align checksums and document the older release's actual filename.After publication, download every release asset and compare exact names, sizes and SHA-256 hashes with prepared inputs before promoting
latest. Reject renamed, missing, extra, modified or non-regular files. Update active version markers, README, API/OpenAPI examples, installation guides, changelog, release notes and rollback guidance.Validation
Head: 4f6b3fc. Complete verified source tree: acd75b15842af8ba09860fb600b8a56304efca14. Base: acf2a94.
Local full suite: 224 Python tests passed, seven JavaScript tests, 91.25% server coverage. Ruff, mypy (server and both publisher/download scripts), compilation, Bandit, secret scan, release validation, dependency consistency, whitespace checks and performance budgets passed. Eleven new regressions cover safe asset naming, archive preservation, actual download URLs, changed downloads, and verification-before-latest order. GitHub's full browser, network audit and AMD64/ARM64 Docker checks remain required before merging. Actual uploaded-download verification runs during publication, not during PR tests.
The temporary source-transfer job verified the patch checksum and resulting full tree, staged source blobs and did not execute patched code or move refs. Its tree write did not complete; the authorized connector assembled the exact tree from verified blobs. No permissions or protections were changed. Transfer files/workflow are absent from the final source and will not enter main through the squash.
Compatibility and rollback
Classification: packaging/documentation bug fix. No runtime dependency, API, authentication, authorization, default configuration, logging or schema-2 changes. No database migration, private-data rewrite, DNS/certificate or live-server modification. Existing source-build and pull-only Compose paths remain available. Image publishing remains gated by exact-commit application/security/container checks and tests of both downloaded registry platform digests.
Retain
.envand a verified private-library backup, use the same Compose project and volume, and roll back toghcr.io/paulkakell/kellmarks:02.02.00withup -d --no-build --force-recreate --wait. Never delete volumes during upgrades or rollback. Prior releases and source artifacts remain accessible. Python dependency audits and SBOMs are not a complete OS-image vulnerability scan.Related: #14 and #16.
Commit notes