repo: install package repositories in "arbitrary" paths
Metadata
Current evaluation
Merged into main as commit 43982e9, adding a public install_in_root() API that installs Apt package repositories under an arbitrary root (not the host), for chrooted systems and Rockcraft overlays.
Resolution: closed resolved
Reason: PR #80 was approved by two maintainers and merged as squash commit 43982e9 ("repo: install package repositories in \"arbitrary\" paths (#80)"). The new public install_in_root() is present in craft_archives/repo/installer.py and delegates to a shared _install_repos() helper that resolves keyring, sources and preferences paths for the given root.
Evaluated by: mr-cal-bot
Issue body
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged into main as commit 43982e9, adding a public install_in_root() API that installs Apt package repositories under an arbitrary root (not the host), for chrooted systems and Rockcraft overlays. | |
| stealth/space-bunny-alpha | — | closed resolved | PR #80 by tigarmo merged into main (commit 43982e9), adding a public install_in_root() API that installs Apt repositories under an arbitrary root for systems later chroot'ed, to support overlays in Rockcraft. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged in #80 (commit 43982e9), adding install_in_root() to install Apt repositories under arbitrary roots for chrooted systems and Rockcraft overlays. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged into main following reviewer approval and CI checks. Adds install_in_root() to place Apt repositories in arbitrary paths, supporting chroot environments and Rockcraft overlays without modifying the host system. |
Update history
No update history recorded yet.
Related work
-
Likely Fixed By:
canonical/rockcraft#278
(confidence 72%)
Downstream Rockcraft PR that consumes install_in_root() to enable overlay package repositories, which was the motivation cited in PR #80; relates to canonical/rockcraft#212.
-
Related To:
canonical/rockcraft#212
(confidence 55%)
Rockcraft feature request for overlay apt repositories, the motivating use case for this API.
Related issues
No related issues found above the similarity threshold.