packages: add base and dummy repository classes
Metadata
Current evaluation
Merged. Introduces base and dummy repository classes for package lifecycle execution, adding 325 lines across 3 files. Refactors split normalization. Approved by two reviewers with passing CI. Code is planned for extraction to a separate project.
Suggested action: —
No scores available.
Issue body
Execution of the parts lifecycle requires packages to be installed on
the build host and onto the stage tree. "Packages" is derived from
snapcraft's "repo", minus repository management, plus minor refactoring
including changes to split normalization from the base class to improve
code readability.
Packages/repo is planned to be moved into a separate project, where
it will be further refactored. Current code follows the snapcraft
implementation.
Signed-off-by: Claudio Matsuoka <claudio.matsuoka@canonical.com>
- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
-----
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Merged. Introduces base and dummy repository classes for package lifecycle execution, adding 325 lines across 3 files. Refactors split normalization. Approved by two reviewers with passing CI. Code is planned for extraction to a separate project. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged addition of base and dummy repository classes for package lifecycle execution. Refactored snapcraft code by moving normalization logic out of the base class to improve readability, paving the way for future extraction to a standalone project. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1192 repo: refactor into a package. | snapcraft | merged | Merged after two approvals. Refactored the repo module into a package across 41 files to simplify extending BaseRepo for external functionality. Changes were split during review, CI proxy issues were resolved, and integration completed. | |
| #3088 repo: add interface to get packages from base | snapcraft | merged | Merged changes adding an interface to retrieve packages from the base repository. Approved by one reviewer with 86 additions and 3 deletions across two files. Maintainer sergiusens provided sign-off. |