← Back to issue list

`charmcraft status` should work without needing to log in

View original Github issue

Metadata

Project
charmcraft
Number
#668
Type
issue
State
closed
Author
sed-i
Labels
Created
Updated
Closed

Current evaluation

Closed as rejected. Maintainer confirmed all Charmhub operations require authentication, making the requested unauthenticated status check impossible to implement within charmcraft.

Suggested action:

No scores available.

Issue body

`charmcraft status` returns very basic information, that probably shouldn't require a login: ``` > $ charmcraft status grafana-k8s Track Base Channel Version Revision Resources latest ubuntu 20.04 (amd64) stable - - - candidate - - - beta 18 18 grafana-image (r2) edge 20 20 grafana-image (r4) ``` This is useful when debugging on a remote machine. ``` > $ charmcraft status grafana-k8s Not logged in. Full execution log: '/home/ubuntu/snap/charmcraft/common/cache/charmcraft/log/charmcraft-20220209-220117.573765.log' ```

Evaluation history

Date Model Scores Action Summary
qwen3.6-35b-a3b-mtp-q6 Closed as rejected. Maintainer confirmed all Charmhub operations require authentication, making the requested unauthenticated status check impossible to implement within charmcraft.
qwen/qwen3.6-35b-a3b Closed without implementation. The charmcraft team rejected the request, noting all Charmhub API operations require authentication and the limitation is outside charmcraft's control.
qwen3.6-35b-a3b-mtp-q6 Rejected. Charmhub requires authentication for all operations, blocking unauthenticated status checks. Closed as the limitation falls outside charmcraft's control.
qwen3.6-35b-a3b-mtp-q6 Rejected. Charmhub enforces authentication for all operations, making unauthenticated status checks impossible. The request was closed as the requirement falls outside charmcraft's control.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#192 charmcraft login could list charms and statuses charmcraft closed Rejected. Maintainer explained the login command is rarely used directly due to auto-login features, making extra account queries unnecessary, especially for automation.
74%
#672 charmcraft 1.4.0: impossible to login to charmhub charmcraft closed Closed as expected behavior. Charmcraft falls back to a non-persistent memory ring on headless systems lacking a keyring, preventing credential persistence. Maintainers advised exporting credentials via environment variables instead of implementing a code fix.
73%
#901 Charmcraft login on remote device has unhelpful error message charmcraft closed Closed. The unhelpful remote login error is tracked upstream in craft-store issue #58, as the fix requires changes to the underlying authentication library rather than Charmcraft itself.
71%