← Back to issue list

docs: explain how to set default charm track

View original Github issue

Metadata

Project
charmcraft
Number
#2979
Type
pull request
State
open
Author
CODElST
Labels
—
Created
Updated
Closed
—

Current evaluation

Documentation-only PR adding a section on setting the default track via Charmhub API, closing issue #2960. Awaiting maintainer review.

Suggested action: needs review

Reason: This is a small, focused documentation change (+19 lines) that addresses a documented gap (issue #2960). The author has confirmed lint-docs passed locally and requested review. It is ready for maintainer review with no unresolved feedback or conflicts.

Evaluated by: mr-cal-bot

Impact: 30 Quick Win: 22 Complexity: 10 Confidence: 85 Actionability: 80

Issue body

## Summary This documentation-only change adds a **Set the default track** section to the existing **Manage tracks** how-to guide. It explains that, after creating a track, a publisher can make it the charm's default track with an authenticated `PATCH /v1/charm/<name>` request whose JSON body is `{"default-track": "v.2"}`. The guide reuses the macaroon-header setup already documented earlier on the page and links to the `update_package_metadata` API reference. No Charmcraft CLI behaviour changes. Closes #2960. ## Validation - `make lint-docs` passed. - Python formatting and lint checks passed.

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b
Impact: 30
Quick Win: 22
Complexity: 10
Confidence: 85
Actionability: 80
needs review Documentation-only PR adding a section on setting the default track via Charmhub API, closing issue #2960. Awaiting maintainer review.
qwen/qwen3.6-35b-a3b
Impact: 35
Quick Win: 25
Complexity: 10
Confidence: 85
Actionability: 80
needs review Documentation-only PR adding a section on setting default charm track via Charmhub API PATCH request. Closes #2960. Validated with lint-docs and formatting checks. Awaiting maintainer review.

Update history

Date Change
updated
created

Related work

  • Related To: charmcraft#2960 (confidence 95%)

    This PR closes issue #2960, which reported the documentation gap for setting default track.

Related issues

Issue Project State Summary Similarity
#2960 docs: no relevant results for "set default track" charmcraft open Documentation gap: no charmcraft command or docs found for setting a default track on Charmhub. Reporter provided a workaround script using the Charmhub API.
83%