← Back to issue list

Running `charmcraft fetch-lib` on a charm with dashes should fetch to a path with underscores

View original Github issue

Metadata

Project
charmcraft
Number
#284
Type
issue
State
closed
Author
mthaddon
Labels
Created
Updated
Closed

Current evaluation

Closed without resolution. The request to automatically convert dashes to underscores in fetched library paths was acknowledged but never implemented, leaving the issue abandoned.

Suggested action:

No scores available.

Issue body

If you have a library for a charm (such as nginx-ingress-integrator) that has dashes in the name, and run `charmcraft fetch-lib charms.nginx-ingress-integrator.v0.charms` it should still fetch to a path on disk that has underscores rather than dashes, so it's importable.

Evaluation history

Date Model Scores Action Summary
qwen3.6-35b-a3b-mtp-q6 Closed without resolution. The request to automatically convert dashes to underscores in fetched library paths was acknowledged but never implemented, leaving the issue abandoned.
qwen/qwen3.6-35b-a3b Closed without a fix. charmcraft fetch-lib still creates paths with dashes for hyphenated charms, breaking imports. Contributors agreed underscores should be used, but no resolution was implemented.
qwen/qwen3.6-35b-a3b Closed and abandoned without resolution. A contributor validated the bug and recommended standardizing dash-to-underscore conversion for library importability. No fix or pull request was submitted.
qwen3.6-35b-a3b-mtp-q6 Closed without implementation. The request to automatically convert dashes to underscores in charmcraft fetch-lib paths was acknowledged but never addressed, resulting in an abandoned issue.
qwen3.6-35b-a3b-mtp-q6 Closed without resolution. The feature request to convert charm names with dashes to underscores in local paths was acknowledged but never implemented, indicating the issue was abandoned.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1671 `fetch-libs` command requires being logged into charmhub charmcraft closed Closed without a documented fix, likely abandoned. Investigation identified a conflicting API validation for charm name hyphens versus underscores, but no resolution or code changes were implemented.
73%