← 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
2024-01-03 16:35:57+00:00
Updated
2025-08-15 15:18:15+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

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

No evaluation history available.