← Back to issue list

Feature request: use Ubuntu version instead of series in cache folder

View original Github issue

Metadata

Project
charmcraft
Number
#1457
Type
issue
State
open
Author
carlcsaposs-canonical
Labels
—
Created
Updated
Closed
—

Current evaluation

Request to use Ubuntu versions such as 22.04 in provider cache paths instead of BuilddBaseAlias series names; the issue is still open, unlabeled, and awaiting maintainer triage.

Suggested action: needs triage

Reason: The body provides an exact old/new path and a concrete motivation: removing a manually maintained version-to-series map. However, there are no labels, assignee, comments, or maintainer response; the checked revision still builds the path from `str(self.alias)` in craft-providers/base.py while JAMMY maps to 22.04 in ubuntu.py, and no cache migration policy is specified.

Evaluated by: mr-cal-bot

Impact: 35 Quick Win: 18 Complexity: 35 Confidence: 86 Actionability: 78

Issue body

### What needs to get done e.g instead of using `charmcraft-buildd-base-v5.0/BuilddBaseAlias.JAMMY/pip/` use `charmcraft-buildd-base-v5.0/BuilddBaseAlias.22.04/pip/` ### Why it needs to get done This would make it easier to interact with the cache. Currently, charmcraft.yaml bases use Ubuntu version (e.g. 22.04), which needs to be converted to "JAMMY" for example, this manually maintained mapping of version to series could be removed: https://github.com/carlcsaposs-canonical/charmcraftcache/blob/39d82eeaf28751dcc736744c3c7c42e7d06027da/charmcraftcache/main.py#L435

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha
Impact: 35
Quick Win: 18
Complexity: 35
Confidence: 86
Actionability: 78
needs triage Request to use Ubuntu versions such as 22.04 in provider cache paths instead of BuilddBaseAlias series names; the issue is still open, unlabeled, and awaiting maintainer triage.
qwen/qwen3.6-35b-a3b
Impact: 30
Quick Win: 19
Complexity: 20
Confidence: 70
Actionability: 80
needs triage Feature request to use Ubuntu version numbers (22.04) instead of series names (JAMMY) in cache folder paths for easier interaction.
qwen/qwen3.8-27b
Impact: 20
Quick Win: 14
Staleness: 75
Complexity: 30
Confidence: 55
Support Request: 10
needs triage Feature request to use Ubuntu version (e.g. 22.04) instead of series name (e.g. JAMMY) in the charmcraft cache folder path, simplifying cache interaction. No maintainer response, no labels, no activity in ~13 months.
qwen/qwen3.6-35b-a3b
Staleness: 95
Complexity: 60
Confidence: 85
Support Request: 10
close stale Feature request to rename cache directories from Ubuntu series names to version numbers for easier cache interaction. Unlabeled, no maintainer response, inactive for over two years.
qwen3.6-35b-a3b-mtp-q6
Staleness: 95
Complexity: 15
Confidence: 80
Support Request: 10
needs triage Feature request to replace Ubuntu series names with version numbers in cache folder paths, aligning with charmcraft.yaml bases. Untriaged, inactive for over two years, and awaiting maintainer assessment.
qwen3.6-35b-a3b-mtp-q6
Staleness: 88
Complexity: 15
Confidence: 80
Support Request: 10
needs triage Feature request to change cache folder naming from Ubuntu series names to version numbers to align with charmcraft.yaml and remove manual mappings. Currently unlabelled and inactive for over two years.

Update history

No update history recorded yet.

Related issues

No related issues found above the similarity threshold.