← Back to issue list

docs: fix version in Snapcraft 7

View original Github issue

Metadata

Project
snapcraft
Number
#6388
Type
pull request
State
merged
Author
jahn-junior
Labels
—
Created
Updated
Closed

Current evaluation

Merged PR #6388 hard-coded the release as Snapcraft 7 in the docs, mirroring #6387 because snapcraft.__version__ does not match the docs-only branch.

Resolution: closed resolved

Reason: PR #6388 was approved and merged into the Snapcraft 7 documentation branch, correcting the displayed version with a one-file documentation change.

Evaluated by: mr-cal-bot

No scores available.

Issue body

Mimics the fix from https://github.com/canonical/snapcraft/pull/6387. Since the Snapcraft 7 docs are a docs-only branch and `snapcraft.__version__` doesn't match up, the `release` is hard-coded instead. --- - [X] I've followed the [contribution guidelines](https://github.com/canonical/snapcraft/blob/main/CONTRIBUTING.md). - [X] I've signed the [CLA](http://www.ubuntu.com/legal/contributors/). - [ ] I've successfully run `make lint && make test`. - [ ] I've added or updated any relevant documentation. - [ ] In documents I changed, I [added a meta description](https://canonical-starflow.readthedocs-hosted.com/how-to/add-a-page-meta-description/) if one was missing. - [ ] I've updated the relevant release notes.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged PR #6388 hard-coded the release as Snapcraft 7 in the docs, mirroring #6387 because snapcraft.__version__ does not match the docs-only branch.
stealth/space-bunny-alpha — closed resolved Merged PR #6388 hard-coded the Snapcraft 7 documentation release version, adapting the version-display fix from #6387 for the docs-only branch.
stealth/space-bunny-alpha — closed resolved Merged PR #6388 hard-coded the Snapcraft 7 documentation release version, avoiding the mismatch with snapcraft.__version__ and adapting the fix from PR #6387.
qwen/qwen3.6-35b-a3b — — Merged a documentation fix for Snapcraft 7 that hardcodes the release version to resolve a mismatch with snapcraft.__version__. The change was approved, passed core CI checks, and aligns with PR 6387.
qwen/qwen3.6-35b-a3b
Staleness: 5
Complexity: 5
Confidence: 85
needs review Docs-only PR hard-codes the Snapcraft 7 release version to match the actual package version. Currently approved by one reviewer, with fast tests passing but lint and publish checks failing.
qwen/qwen3.6-35b-a3b
Staleness: 5
Complexity: 5
Confidence: 85
needs review Hard-codes the release version in Snapcraft 7 documentation to fix a version mismatch. Approved by one reviewer, but has two unresolved comments and several failing CI checks.
qwen/qwen3.6-35b-a3b
Staleness: 5
Complexity: 5
Confidence: 85
needs review Hard-codes the release version in Snapcraft 7 documentation to resolve a version mismatch. Currently pending maintainer review with minor CI failures on lint and publish steps.

Update history

Date Change
updated
updated
updated
updated
created

Related work

  • Related To: canonical/snapcraft#6387 (confidence 100%)

    Its documentation version-display fix was adapted in merged PR #6388.

Related issues

Issue Project State Summary Similarity
#6389 docs: fix version in Snapcraft 9 snapcraft merged Merged PR #6389 (commit 7b092076d) fixed Snapcraft 9 docs versioning: builds show major.minor, while latest shows dev.
83%
#6390 docs: fix version in Snapcraft 8 snapcraft merged Merged #6390 corrected Snapcraft 8 RTD title versioning: local, PR, and branch builds show major.minor, while the latest branch shows dev.
80%
#5766 docs: add 7.5.9 changelog entry snapcraft merged Merged #5766 added the Snapcraft 7.5.9 changelog entry, split from release PR #5761; the 7.5.9 release landed via commit 81dd3d702.
77%
#5679 docs: fix typos in release notes snapcraft merged Merged #5679, correcting two typos in the Snapcraft 8.11 release notes via commit d5ddb5544.
75%
#5130 docs(changelog): add 8.4.4 and 7.5.8 release notes snapcraft merged Merged PR #5130 in commit 44cc83c80, adding changelog release notes for Snapcraft 8.4.4 and 7.5.8.
73%
#5973 docs: add 8.14 release notes snapcraft merged Snapcraft 8.14 release notes were added and PR #5973 was squash-merged in commit b2eb1b277, updating two documentation files.
73%
#6173 docs: format doc version as major.minor snapcraft merged Merged as ad93035f0: documentation now displays Snapcraft versions as major.minor, with latest Read the Docs builds labeled dev.
72%
#5757 docs: add docs for setting component versions snapcraft merged Merged PR #5757 as commit ffb793a0e, adding a Snapcraft 8.13 component-version release note and linking the component guide to the craftctl how-to.
72%
#4864 build(docs): fix version in rtd builds snapcraft merged PR #4864 merged as commit 3d05bf373: adds a post_checkout `git fetch --tags --unshallow` step to .readthedocs.yaml and installs snapcraft explicitly so docs show the correct version on RTD builds.
72%
#3861 Release/7.1 merge snapcraft merged Release PR #3861 merged the snapcraft/7.1 release branch into main, landing Snapcraft 7.1.0 and 7.1.1 (merge commit 4481326d6, +538/-89 across 23 files); approved by 1 reviewer.
71%