fix: fetch-lib error message showing "Library None not found"
Metadata
Current evaluation
Fixes 'Library None not found' error in deprecated fetch-lib command by using lib_data.full_name. Approved but 2 unresolved review comments, many CI failures, 266 days inactive. Bug still present in main.
Suggested action: needs review
Reason: The PR has 2 unresolved review comments and the maintainer's last comment (2025-12-08) was 'your work is incomplete. Run the tests before you commit!' with many CI checks still failing. Additionally, the fetch-lib command is now deprecated (commit b93737a1, #2691 added deprecation warnings to all charmlibs commands), so maintainers need to decide whether a cosmetic error-message fix for a deprecated command is worth merging or if the PR should be closed.
Issue body
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.8-27b |
Impact:
15
Quick Win:
12.75
Staleness:
72
Complexity:
15
Confidence:
72
|
needs review | Fixes 'Library None not found' error in deprecated fetch-lib command by using lib_data.full_name. Approved but 2 unresolved review comments, many CI failures, 266 days inactive. Bug still present in main. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
72
Complexity:
18
Confidence:
78
|
needs review | Updates charmcraft fetch-lib to show actual library names in error messages instead of None. Contains one approval, two unresolved review comments, and several failing CI checks. Currently awaiting maintainer feedback and CI fixes. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
90
Complexity:
15
Confidence:
85
|
close stale | Fixes misleading error message in charmcraft fetch-lib by using actual library name instead of None. PR has been inactive for 210 days with unresolved maintainer feedback regarding test execution. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
85
Complexity:
15
Confidence:
75
|
close stale | Fixes misleading 'Library None not found' error in charmcraft fetch-lib by using the actual library name. PR is inactive for over 200 days with unresolved type-checking failures and no maintainer follow-up. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
80
Complexity:
20
Confidence:
85
|
close stale | Fixes charmcraft fetch-lib showing "Library None not found" when run without arguments by displaying the actual library name. PR is open, under review, and awaiting maintainer approval following iterative fixes and test updates. |
Update history
No update history recorded yet.
Related work
-
Caused By:
canonical/charmcraft#2204
(confidence 95%)
PR body explicitly states 'Fixes #2204' — the bug report for 'Library None not found in Charmhub' error. Issue is still open.
-
Related To:
canonical/charmcraft#2691
(confidence 80%)
Commit b93737a1 added deprecation warnings to all charmlibs commands including fetch-lib, making the command this PR fixes deprecated. Affects whether maintainers want to invest in fixing error messages for a deprecated feature.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #2666 tests: add reproducer for fetch-lib unhelpful error message (#2204) | charmcraft | open | Adds failing unit test reproducing #2204 (fetch-lib prints 'Library None not found in Charmhub') plus a fix using lib_data.full_name fallback. Pending review, 0 reviewers, CI passing. |