← Back to issue list

docs: fix versioning logic

View original Github issue

Metadata

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

Current evaluation

Merged PR canonical/charmcraft#2787 by maintainer jahn-junior fixes the version name used for branch-based docs builds (1 file, +1/-2); approved by 1 reviewer, all CI checks passed.

Resolution: closed resolved

Reason: The PR itself was merged into main with an approving review and no unresolved comments, correcting the versioning logic for branch-based documentation builds. All listed lint/test/security checks passed at merge time.

Evaluated by: mr-cal-bot

No scores available.

Issue body

Fix the version name for branch-based docs builds. --- - [X] I've followed the [contribution guidelines](https://github.com/canonical/charmcraft/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 canonical/charmcraft#2787 by maintainer jahn-junior fixes the version name used for branch-based docs builds (1 file, +1/-2); approved by 1 reviewer, all CI checks passed.
stealth/space-bunny-alpha — closed resolved PR #2787 by maintainer jahn-junior merged into charmcraft main, correcting the version name computed for branch-based documentation builds (1 file, +1/-2 lines).
stealth/space-bunny-alpha — closed resolved Merged canonical/charmcraft#2787 corrected version-name generation for branch-based documentation builds.
qwen/qwen3.6-35b-a3b — — Merged. Fixes branch-based documentation build versioning logic by correcting version name generation. Passed all CI checks and received reviewer approval.
qwen3.6-35b-a3b-mtp-q6
Staleness: 0
Complexity: 15
Confidence: 90
needs review Fixes branch-based documentation build version names. Submitted by a maintainer, currently awaiting initial review and CI checks.

Update history

Date Change
updated

Related issues

Issue Project State Summary Similarity
#2832 docs: fix version string for 4.x charmcraft merged Merged #2832 corrected docs title versioning for Charmcraft 4.x: local, PR, and branch builds show major/minor; the latest branch shows dev.
79%
#2734 docs: improve versioning logic charmcraft merged Merged as 5fb6af27, updating docs versioning so the unversioned/latest documentation is labeled “Charmcraft dev documentation.”
78%
#2798 docs: fix typo in plugin migration guide charmcraft merged Merged charmcraft#2798 from maintainer jahn-junior, fixing a single typo in the plugin migration guide (+1/-1, 1 file); approved by 2 reviewers and merged into main.
78%
#2299 docs: fix formatting issues charmcraft merged Merged docs formatting fixes for local documentation builds in charmcraft#2299 via commit 5ffb80fe; two files changed (+3/-1).
77%
#1335 docs: fix version string for 1.x rockcraft merged Merged into the 1.x hotfix branch so docs show major.minor for local, PR, and branch builds, and dev for latest; this parallels #1334 on main.
75%
#1334 docs: fix version string on latest rockcraft merged Merged PR #1334 fixed docs version strings: local, PR, and branch builds show major.minor, while latest shows dev. Commit: b2bc69ce.
75%
#2860 docs: fix copy error in README charmcraft merged Maintainer jahn-junior's one-line docs fix to a README copy error was approved by 2 reviewers and merged in commit 2664fc72 (+1/-3 lines in README.md); all CI checks passed.
75%
#2186 docs: fix build errors charmcraft merged Merged as charmcraft/charmcraft#2186 in commit 42f42bd2, fixing the targeted docs build error. Remaining transclusion problems were addressed separately in canonical/craft-parts#1021.
74%
#1619 fix: use charmcraft package version charmcraft merged Merged PR #1619 as commit 15fac367, replacing the previous version source with the Charmcraft package version in a one-line fix.
74%
#6387 docs: fix version on 'latest' snapcraft merged Merged PR #6387 via commit a67bdcd1f, fixing docs titles to show major.minor for local, PR, and branch builds while displaying dev for latest.
73%