← Back to issue list

repo: add package repository handling (CRAFT-846)

View original Github issue

Metadata

Project
snapcraft
Number
#3647
Type
pull request
State
merged
Author
cmatsuoka
Labels
—
Created
Updated
Closed

Current evaluation

Merged package repository and PPA definitions/helpers into snapcraft 7.0 via #3647, porting code from #2911, #3341, #3359, and #3363.

Resolution: closed resolved

Reason: PR #3647 was merged as commit 9c11770c1, with implementation commit 883cfd088, adding the CRAFT-846 repository handling.

Evaluated by: mr-cal-bot

No scores available.

Issue body

Port definitions and helpers to add apt repositories and PPAs. Original code from PRs #2911, #3341, #3359, #3363. Co-authored-by: Chris Patterson <chris.patterson@canonical.com> 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 package repository and PPA definitions/helpers into snapcraft 7.0 via #3647, porting code from #2911, #3341, #3359, and #3363.
stealth/space-bunny-alpha — closed resolved Merged via #3647 (9c11770c1), porting package-repository and PPA definitions and helpers from #2911, #3341, #3359, and #3363.
qwen/qwen3.6-35b-a3b — — Merged into main. Introduces apt repository and PPA handling definitions and helpers, consolidated from multiple prior pull requests. Approved by reviewers, passed all CI checks, and increased test coverage.
qwen3.6-35b-a3b-mtp-q6 — — Merged into the 7.0 branch, adding apt repository and PPA handling definitions and helpers. Code was ported from PRs #2911, #3341, #3359, and #3363. The change increased overall test coverage by 1.56 percent with 93.18 percent diff coverage.

Update history

No update history recorded yet.

Related work

  • Related To: snapcraft#2911 (confidence 99%)

    Original package-management repository configuration ported by #3647.

  • Related To: snapcraft#3341 (confidence 99%)

    Source of the apt PPA helper module ported by #3647.

  • Related To: snapcraft#3359 (confidence 99%)

    Source of key-management refactoring incorporated by #3647.

  • Related To: snapcraft#3363 (confidence 99%)

    Source of apt sources-management refactoring incorporated by #3647.

Related issues

Issue Project State Summary Similarity
#1192 repo: refactor into a package. snapcraft merged Merged as 1e2cd8a2e, refactoring snapcraft.repo into a package and making BaseRepo easier to extend for non-apt/deb functionality.
78%
#1673448 refactor repo into its own package snapcraft (launchpad) closed Tracked to GitHub PR snapcore/snapcraft#1192 "repo: refactor into a package", merged as 1e2cd8a2e, turning snapcraft.repo into a package and extending BaseRepo for non-apt/deb use. Later moved to craft-archives (#4037).
75%
#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.
73%
#1185 repo: add version support for build-packages snapcraft merged Merged build-package version support in snapcraft#1185 (commit 0405cb87e); follow-up 8eb2eb6 restored package version checks lost during a rebase.
73%
#3 move "repo" code from snapcraft craft-archives closed Merged PR #3 moved snapcraft.repo into craft_archives, adapting logging, errors, utilities, tests, and linting; commits 31da2f9 through 3cb8d7c implemented it.
73%
#3341 repo: move apt ppa helpers into apt_ppa module snapcraft merged Merged in canonical/snapcraft#3341 as commit 68ec9d3c9, extracting apt PPA helpers from _deb and expanding focused unit-test coverage.
72%
#12 docs: import package repositories docs from snapcraft craft-archives merged PR merged as 62ad299, importing Snapcraft package-repositories docs into craft-archives sphinx docs, plus Ubuntu font CSS, sphinx-lint, and a rundocs target (CRAFT-1551).
72%
#3649 parts,repo: integrate package-repositories (CRAFT-847) snapcraft merged Merged #3649, adding parts support for package-repositories on the build host and dedicated core22 spread tests; merge commit bbbcb53a6.
72%
#3043 package-repositories: initial schema and meta read/write support snapcraft merged Merged in canonical/snapcraft#3043 (commit 2b089237f), adding initial package-repositories schema and metadata read/write support.
71%
#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.
71%