← Back to issue list

docs: fix version in Snapcraft 8

View original Github issue

Metadata

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

Current evaluation

Merged documentation update fixing version display in Snapcraft 8. Aligns RTD version slugs to show major/minor versions for local and branch builds, with 'latest' displaying 'dev'. Approved by reviewers and merged.

Suggested action:

No scores available.

Issue body

With this change, all local, PR, and branch builds will show the major and minor version in the docs title. The only exception is the 'latest' branch build, which will show 'dev' as the version. This change was brought about by the simplification of our RTD version slugs. You can check the PR branch versioning at https://canonical-snapcraft--6387.com.readthedocs.build/6387/. You can check branch versioning on [the private RTD branch I created](https://ubuntu.com/docs/snapcraft/test/).Describe your changes. --- - [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
qwen/qwen3.6-35b-a3b Merged documentation update fixing version display in Snapcraft 8. Aligns RTD version slugs to show major/minor versions for local and branch builds, with 'latest' displaying 'dev'. Approved by reviewers and merged.
qwen/qwen3.6-35b-a3b
Staleness: 5
Complexity: 5
Confidence: 85
needs review Updates documentation version display to show major/minor versions for builds, with latest showing dev. Approved by two reviewers, but CI shows failing integration tests and lint checks.
qwen/qwen3.6-35b-a3b
Staleness: 0
Complexity: 0
Confidence: 85
needs review Updates documentation version display logic for Snapcraft 8 to align with simplified ReadTheDocs version slugs. Currently approved by one reviewer, has one unresolved comment, and shows mixed CI results with some integration and lint failures.
qwen/qwen3.6-35b-a3b
Staleness: 5
Complexity: 5
Confidence: 85
needs review Updates documentation version display logic for Snapcraft 8 to align with simplified RTD version slugs. Currently pending maintainer review with one failing lint check and several pending integration tests.
qwen/qwen3.6-35b-a3b
Staleness: 5
Complexity: 5
Confidence: 90
needs review Updates documentation versioning logic to display major/minor versions in titles for local, PR, and branch builds, aligning with RTD slug simplification. Currently awaiting maintainer review with CI checks pending.

Update history

Date Change
updated
updated
updated
updated
created

Related issues

Issue Project State Summary Similarity
#6389 docs: fix version in Snapcraft 9 snapcraft merged Merged documentation fix for Snapcraft 9 that updates the docs title to show major and minor versions for builds, with latest showing dev. Aligns with RTD slug simplification. Approved by two reviewers and merged.
92%
#1334 docs: fix version string on latest rockcraft merged Merged documentation fix updating version string display. Local, PR, and branch builds now show major and minor versions, while the latest branch displays dev. Aligns with simplified RTD version slugs.
82%
#6388 docs: fix version in Snapcraft 7 snapcraft merged 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.
80%
#2830 docs: fix version string for 'latest' charmcraft merged Merged documentation fix correcting the version string for the 'latest' branch build. Updates ReadTheDocs slug handling to display major/minor versions for local and branch builds, while 'latest' shows 'dev'. All CI checks passed.
77%
#588 docs: fix version in title starbase merged Merged documentation update correcting version display in titles. Builds now show major and minor versions, with latest displaying dev. Approved by two reviewers and passed all CI checks.
76%
#6387 docs: fix version on 'latest' snapcraft merged Merged PR updates Read the Docs slug handling to fix version display on the 'latest' branch. Local, PR, and branch builds now show major/minor versions, while 'latest' displays 'dev'. Approved by reviewers and passed all CI checks.
76%
#2832 docs: fix version string for 4.x charmcraft merged Merged. Updated documentation to correctly display major and minor version strings for local, PR, and branch builds, reserving 'dev' for the latest branch. Approved by one reviewer with all CI checks passing.
72%
#2831 docs: fix version string for 3.x charmcraft merged Merged docs fix for 3.x version string. Local, PR, and branch builds now show major and minor version in the title, while latest shows 'dev'. Aligns with simplified Read the Docs slugs. Approved and merged.
72%
#6048 docs: correct 'craftctl' to 'snapctl' in config doc snapcraft merged Merged a documentation fix correcting craftctl to snapctl in the config guide. Approved by two reviewers with passing CI checks. The update modifies one file.
71%
#586 docs: fix incorrect version in documentation rockcraft merged Merged to resolve #584. Configured ReadTheDocs to fetch tags and updated non-release documentation to display dev instead of misleading release strings. Approved by two reviewers with passing CI.
70%