repo: don't use gpg --show-keys
Metadata
Current evaluation
Merged. Replaced the Ubuntu 20.04-only gpg --show-keys command with a compatible alternative to support Ubuntu 18.04. Updated CI to run integration tests on 18.04. Approved, passed checks, and achieved 100% diff coverage.
Suggested action: —
No scores available.
Issue body
The "--show-keys" command is only available in ubuntu 20.04 and newer;
this means we need an alternative for ubuntu 18.04, which we need to
support because of our tools (specifically Snapcraft)
Also update CI to run on ubuntu 18.04 instead of 20.04, to ensure our
gpg calls work in the oldest version (through the integration tests).
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Merged. Replaced the Ubuntu 20.04-only gpg --show-keys command with a compatible alternative to support Ubuntu 18.04. Updated CI to run integration tests on 18.04. Approved, passed checks, and achieved 100% diff coverage. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged into main. Replaced gpg --show-keys with a compatible alternative to support Ubuntu 18.04. Updated CI to run on 18.04 for testing. Maintained 100% diff coverage with no overall change. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #29 repo: replace "apt-key" with "gpg" to handle keys | craft-archives | merged | Merged update replacing the deprecated apt-key command with gpg for repository key management. Adds integration tests, removes an obsolete mock, and resolves CRAFT-1626. Approved by reviewers, passed CI checks, and increased test coverage by 0.03%. |