← Back to issue list

The analyze command should also work on a not-packed charm

View original Github issue

Metadata

Project
charmcraft
Number
#642
Type
issue
State
open
Author
facundobatista
Labels
good first issue
Created
Updated
Closed

Current evaluation

Feature request: `charmcraft analyze` should accept an unpacked charm directory (default `.`) in addition to a packed charm file. Labeled good first issue; a maintainer notes the fix is trivial but the work is blocked on #1042.

Suggested action: keep open

Reason: The issue is triaged (labeled "good first issue", authored by maintainer facundobatista) and explicitly acknowledged by @lengau, who noted "This should be pretty trivial now" and pointed to the existing `lint_directory` service method. The latest comment (2025-09-17) states "We're going to wait for #1042 on this," and #1042 is still open, so this is a valid, acknowledged feature blocked on an external dependency rather than stale or obsolete.

Impact: 35 Quick Win: 26.25 Staleness: 58 Complexity: 25 Confidence: 80 Support Request: 10

Issue body

Currently `charmcraft analyze` only accepts an already-packed charm as the source of files to analyze. It should also accept a directory (default to `.`) where the charm files exist. IOW: - `charmcraft analyze`: will analyze charm files in current directory - `charmcraft analyze somedir`: will analyze charm files in `somedir` directory - `charmcraft analyze somefile`: current behaviour

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.8-27b
Impact: 35
Quick Win: 26.25
Staleness: 58
Complexity: 25
Confidence: 80
Support Request: 10
keep open Feature request: `charmcraft analyze` should accept an unpacked charm directory (default `.`) in addition to a packed charm file. Labeled good first issue; a maintainer notes the fix is trivial but the work is blocked on #1042.
qwen/qwen3.6-35b-a3b
Staleness: 60
Complexity: 20
Confidence: 85
Support Request: 5
keep open Feature request to allow charmcraft analyze to accept directories instead of only packed charms. Currently blocked on issue 1042, with a maintainer noting the implementation is trivial. Labeled good first issue.
qwen3.6-35b-a3b-mtp-q6
Staleness: 75
Complexity: 15
Confidence: 80
Support Request: 0
keep open Feature request to allow charmcraft analyze to accept directories instead of only packed charms. Currently blocked on issue #1042, with a trivial implementation path identified.
qwen3.6-35b-a3b-mtp-q6
Staleness: 60
Complexity: 15
Confidence: 85
Support Request: 5
keep open Feature request to extend charmcraft analyze to accept directories alongside packed charms. Currently waiting on dependency issue #1042, with no recent maintainer action in ~9 months.
qwen3.6-35b-a3b-mtp-q6
Staleness: 65
Complexity: 20
Confidence: 90
Support Request: 5
keep open Extend charmcraft analyze to accept unpacked charm directories alongside packed charms. Currently blocked pending resolution of issue #1042.

Update history

No update history recorded yet.

Related work

  • Blocked By: canonical/charmcraft#1042 (confidence 90%)

    Maintainer @lengau (2025-09-17) explicitly stated "We're going to wait for #1042 on this"; #1042 is still open.

Related issues

No related issues found above the similarity threshold.