parts,repo: integrate package-repositories (CRAFT-847)
Metadata
Current evaluation
Merged #3649, adding parts support for package-repositories on the build host and dedicated core22 spread tests; merge commit bbbcb53a6.
Resolution: closed resolved
Reason: PR #3649 was merged as commit bbbcb53a6, with implementation commit 4104923, adding host package-repository integration and core22 spread coverage.
Evaluated by: mr-cal-bot
No scores available.
Issue body
Add apt package repositories to the host system according to the
`package-repositories` entry listed in snapcraft.yaml.
Also add a separate set of spread tests for core22. These can be
removed and integrated to the existing tests when better 22.04
support is added to the testing infrastructure and more options
are implemented in the 7.0 branch.
Note: The pydantic model for package repositories are very similar
to the legacy internal classes used to manipulate deb and ppa
repositories. We should investigate if these can be consolidated,
moving manual validation of repository parameters to the pydantic
model.
Signed-off-by: Claudio Matsuoka <claudio.matsuoka@canonical.com>
- [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/)?
- [ ] Have you successfully run `./runtests.sh static`?
- [ ] Have you successfully run `./runtests.sh tests/unit`?
-----
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged #3649, adding parts support for package-repositories on the build host and dedicated core22 spread tests; merge commit bbbcb53a6. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #3649 into the 7.0 branch, adding snapcraft.yaml-driven host APT repositories and core22 spread tests (merge bbbcb53a6). | |
| stealth/space-bunny-alpha | — | closed resolved | Merged into snapcraft 7.0 via #3649: configured host apt repositories from snapcraft.yaml package-repositories and added core22 spread tests. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged into the 7.0 branch following approval and CI checks. Integrates package-repositories support to configure host apt repositories based on snapcraft.yaml. Updates span 21 files with 447 additions and 29 deletions. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged into 7.0. Integrates snapcraft.yaml package-repositories entries to configure host apt repositories. Adds core22 spread tests and notes pydantic model consolidation. Code coverage dropped 1.45% upon merge. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #217 repo: add support for package repositories | rockcraft | merged | Merged package-repository support for CRAFT-1553 in rockcraft#217 via commit 2b416602, adding project-defined APT repository handling. | |
| #3647 repo: add package repository handling (CRAFT-846) | snapcraft | merged | Merged package repository and PPA definitions/helpers into snapcraft 7.0 via #3647, porting code from #2911, #3341, #3359, and #3363. | |
| #216 repo: add support for package repositories | rockcraft | closed | Package-repository support was superseded by canonical/rockcraft#217, merged to main as 2b416602 and resolving CRAFT-1553. | |
| #23 Use the package-repositories stanza in imagecraft.yaml | imagecraft | merged | Merged PR #23 as commit 4268893, adding package-repositories support via craft-archives, Project model improvements, refactoring, and expanded tests for FR-5873. | |
| #3636 parts: integrate craft-parts (CRAFT-765) | snapcraft | merged | Merged as ae8467056, integrating craft-parts for project-part validation and parts lifecycle processing (CRAFT-765). | |
| #3644 [DRAFT] craft 821/staging/package-repositories | snapcraft | closed | Draft staging PR was closed unmerged; package-repository support landed separately in merged PRs #3647 and #3649, with prerequisite #3646. |