← Back to issue list

feat: add `edit-registries` command

View original Github issue

Metadata

Project
snapcraft
Number
#5050
Type
pull request
State
merged
Author
mr-cal
Labels
—
Created
Updated
Closed

Current evaluation

Merged into snapcraft as commit b813ceee8, adding `edit-registries` (first half of #5020) on top of #5049; later renamed to `edit-confdbs` by #5242.

Resolution: closed resolved

Reason: PR #5050 was merged by maintainer mr-cal after two approvals, landing as commit b813ceee8, which added the `edit-registries` command and fixed the first half of issue #5020 (the upload half, #5018, was never implemented). The follow-up docs request in the last comment was resolved by #5242 (commit f887ed0bd), which renamed the command to `edit-confdbs` after #5195 removed the registries commands.

Evaluated by: mr-cal-bot

No scores available.

Issue body

- [x] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)? - [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [x] Have you successfully run `tox run -m lint`? - [x] Have you successfully run `tox run -e test-py310`? (supported versions: `py39`, `py310`, `py311`, `py312`) ----- Supports the first half of the `edit-registries` command where a user can retrieve and edit a registries set. The second half will be implemented in #5018. Builds on top of #5049, so ignore the first commit. I broke this up into 2 commits to make reviewing easier. Fixes #5020 (CRAFT-3333)

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged into snapcraft as commit b813ceee8, adding `edit-registries` (first half of #5020) on top of #5049; later renamed to `edit-confdbs` by #5242.
stealth/space-bunny-alpha — closed resolved Merged in PR #5050 (commit b813ceee8), adding edit-registries to retrieve and edit registry sets. It addresses the first part of #5020; upload support remains in #5018.
qwen/qwen3.6-35b-a3b — — Implemented and merged the edit-registries command, enabling users to retrieve and edit registries sets. Approved by two reviewers, passed CI, and resolves issue 5020. The remaining functionality will be added separately.
qwen3.6-35b-a3b-mtp-q6 — — Merged pull request implementing the first half of the edit-registries command, enabling users to retrieve and edit registries sets. Resolves issue 5020 and builds on PR 5049, with the second half planned for PR 5018.

Update history

No update history recorded yet.

Related work

  • Likely Fixed By: canonical/snapcraft#5020 (confidence 92%)

    Parent tracking issue for registries collection/editing; #5050 delivered the edit half and it was closed once landed.

  • Superseded By: canonical/snapcraft#5242 (confidence 90%)

    Renamed registries commands to confdbs (commit f887ed0bd), replacing `edit-registries` with `edit-confdbs` and reverting #5195.

  • Related To: canonical/snapcraft#5049 (confidence 88%)

    Preceding PR that added `list-registries`; #5050 was stacked on it and its first commit should be ignored.

  • Related To: canonical/snapcraft#5018 (confidence 80%)

    Declared follow-up for the upload half of edit-registries; closed without implementation, so upload support was never added.

  • Related To: canonical/snapcraft#5195 (confidence 78%)

    Interim commit385b4039a unregistered list-registries/edit-registries before the ConfDB rename landed.

Related issues

Issue Project State Summary Similarity
#5020 registries: collect and edit registries snapcraft closed Implemented in commit b813ceee8; PR #5242 later renamed the registries commands to list/edit-confdbs in f887ed0bd.
79%
#5242 feat: rename registries to confdbs snapcraft merged Merged as f887ed0bd: replaced list/edit registries with list/edit confdbs, reverted #5195, and fixed #5193 without changing logic.
79%
#5193 Rename and expose confdbs commands snapcraft closed Snapcraft 8.7 added list-confdbs and edit-confdbs via merged PR #5242 (f887ed0bd), replacing the registry commands.
77%
#5014 feat(registries): add `list-registries` command snapcraft merged Merged PR #5014 added the list-registries command and closed #5001; implementation landed in commit 536541c5d.
72%
#4917 Prototype `edit-registry-sets` and `list-registry-sets` snapcraft closed Prototype landed in a84e6c7; full registry editing followed in #5020, then PR #5242 renamed the commands to ConfDB equivalents.
71%