← 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

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.

Suggested action: needs triage

Reason: The issue has zero comments, no labels, and no maintainer interaction in 971 days. The referenced cache path pattern (BuilddBaseAlias.JAMMY) does not appear in the current charmcraft codebase — the cache directory logic lives in craft-parts/craft-providers (BaseDirectory.save_cache_path), making it unclear whether this is still the relevant code path. The request is a minor convenience improvement, not a bug, but it has not been assessed by any maintainer.

Impact: 20 Quick Win: 14.0 Staleness: 75 Complexity: 30 Confidence: 55 Support Request: 10

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
qwen/qwen3.8-27b
Impact: 20
Quick Win: 14.0
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.
qwen3.6-35b-a3b-mtp-q6
Staleness: 85
Complexity: 20
Confidence: 75
Support Request: 10
close stale Request to rename cache folders from Ubuntu series to version numbers to align with charmcraft.yaml and remove manual mapping. Open, untriaged, and inactive for over 300 days.

Update history

No update history recorded yet.

Related issues

No related issues found above the similarity threshold.