← 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

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.

Suggested action:

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
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.
qwen3.6-35b-a3b-mtp-q6 Merged the edit-registries command, allowing users to retrieve and edit registries sets. Implements the first half of the feature, with the second half planned for PR 5018. Resolves 5020.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#5014 feat(registries): add `list-registries` command snapcraft merged Merged addition of the list-registries command, resolving issue #5001. Approved by reviewers, passed CI checks, and integrated into the codebase.
85%
#5072 feat: build, sign and publish registries snapcraft merged Merged. Finalizes the edit-registries command by adding build, sign, and publish capabilities for registries, resolving #5018. Approved by two reviewers, passed CI, and spanned 11 files. Spread tests deferred to a separate PR.
83%
#5020 registries: collect and edit registries snapcraft closed The proposed edit-registries command and initial editing workflow was closed without implementation. No pull requests were merged, indicating the feature was abandoned or deferred.
75%
#5001 registries: implement `list-registries` snapcraft closed Implemented the list-registry-sets command, including base services, store client calls, and spread tests. The feature was completed and merged via pull request #5014, resolving the original request.
74%
#5049 feat(models): add registries models snapcraft merged Merged. Adds pydantic models for registries, approved by two reviewers, and passes CI checks. Resolves issue #5019.
72%
#5091 tests: add spread tests for registries snapcraft merged Added spread tests for edit-registries and list-registries, resolving issue #5054. Merged following approval by two reviewers. Minor unrelated network failures were noted but did not block the merge.
71%
#5242 feat: rename registries to confdbs snapcraft merged Merged PR renaming registries commands to confdbs, introducing list-confdbs and edit-confdbs. Reverts #5195 and fixes #5193. Approved by two reviewers with passing CI. Contains no functional changes.
70%