← Back to issue list

gnupg-related failures possibly hide their output

View original Github issue

Metadata

Project
craft-archives
Number
#82
Type
issue
State
open
Author
tigarmo
Labels
Created
Updated
Closed

Current evaluation

craft-archives should log gpg command output (stderr) on failure to improve debugging; partially addressed with log=True in install_key and stderr in error messages, but key receive path still lacks debug logging

Suggested action: keep open

Reason: The issue is partially addressed: call_gpg has a log parameter used in install_key, and error messages include stderr, but _try_gpg_receive_key still doesn't use log=True. The issue remains relevant and should stay open for the remaining work.

Impact: 25 Quick Win: 20.0 Staleness: 70 Complexity: 20 Confidence: 70 Support Request: 10

Issue body

See for example: https://github.com/canonical/rockcraft/issues/287 All that craft-archives logs is that the command failed, but we should see if there's a way to improve that (e.g. see if there's more output in gpg's stderr, check verbosity flags, etc)

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.8-27b
Impact: 25
Quick Win: 20.0
Staleness: 70
Complexity: 20
Confidence: 70
Support Request: 10
keep open craft-archives should log gpg command output (stderr) on failure to improve debugging; partially addressed with log=True in install_key and stderr in error messages, but key receive path still lacks debug logging
qwen/qwen3.6-35b-a3b
Staleness: 95
Complexity: 30
Confidence: 85
Support Request: 20
close stale Issue reports that gnupg-related failures in rockcraft hide output, suggesting improvements to capture stderr or verbosity flags. No maintainer response or labels after over 3 years.
qwen3.6-35b-a3b-mtp-q6
Staleness: 90
Complexity: 20
Confidence: 80
Support Request: 10
close stale Minor logging improvement suggestion for GPG command failures, reported 3 years ago with no comments or maintainer engagement. Currently unlabelled and inactive.
qwen3.6-35b-a3b-mtp-q6
Staleness: 85
Complexity: 20
Confidence: 70
Support Request: 5
needs triage gnupg command failures in craft-archives hide detailed error output, hindering debugging. Suggests capturing gpg stderr or using verbosity flags. Open, unlabelled, and inactive for over a year, awaiting triage and investigation.

Update history

No update history recorded yet.

Related work

  • Caused By: canonical/rockcraft#287 (confidence 90%)

    The rockcraft issue was closed as user error but explicitly noted that a separate bug was filed in craft-archives to improve error messaging, which is this issue.

Related issues

No related issues found above the similarity threshold.