← Back to issue list

Support adding or removing PPAs to the image

View original Github issue

Metadata

Project
imagecraft
Number
#312
Type
issue
State
open
Author
dilyn-corner
Labels
Status: Triaged Type: Enhancement
Created
Updated
Closed

Current evaluation

Feature request to natively add/remove PPAs and archives in the image's apt sources. Triaged as an enhancement; a how-to (PR #355) was merged as the first step documenting a dump-plugin workaround, but removing the default PPA and build-vs-final repo distinction remain unimplemented. Reporter says need is less pressing.

Suggested action: keep open

Reason: Triaged enhancement with active maintainer discussion; @steinbro (2026-05-26) scoped a first step (how-to) which was merged as PR #355, but the core feature (removing the default PPA, build-only vs final-environment repos, possible new plugin) is still pending. The reporter explicitly said 'take your time in implementing,' so it should stay open as a valid, acknowledged enhancement rather than be closed.

Impact: 45 Quick Win: 18.0 Staleness: 45 Complexity: 60 Confidence: 75 Support Request: 10

Issue body

### Check existing issues - [x] I've verified that this request isn't described by any existing issues. ### Request Describe the feature you'd like to see implemented. It should be possible to add or remove PPAs and archives in `(overlay)/etc/apt/sources.list{,.d}`. It would be ideal if I could specify a list of PPAs, some only required for producing the image (e.g. it provides some package only required in an `overlay-script` but not at runtime), as well as for removing an included PPA (namely, the default one, so that I could provide my own preset mirror). ### The problem it solves Describe the impact your request would have. I have to add the PPAs I need for an image to the `package-repositories` list in my `imagecraft.yaml` and then copy the key and source.list file from the build environment into the rootfs manually.

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.8-27b
Impact: 45
Quick Win: 18.0
Staleness: 45
Complexity: 60
Confidence: 75
Support Request: 10
keep open Feature request to natively add/remove PPAs and archives in the image's apt sources. Triaged as an enhancement; a how-to (PR #355) was merged as the first step documenting a dump-plugin workaround, but removing the default PPA and build-vs-final repo distinction remain unimplemented. Reporter says need is less pressing.
qwen/qwen3.8-27b
Impact: 45
Quick Win: 18.0
Staleness: 45
Complexity: 60
Confidence: 80
Support Request: 10
keep open Feature request to natively add/remove PPAs in image via package-repositories key. Triaged and discussed; first step (how-to docs via dump plugin) completed in PR #355. Full implementation deferred per maintainer vote; reporter says need is less pressing.
qwen/qwen3.6-35b-a3b
Staleness: 45
Complexity: 40
Confidence: 85
Support Request: 10
keep open Enhancement request to add or remove PPAs and archives in image overlays. Currently triaged and under discussion regarding build versus runtime scope. Maintainers proposed documentation as a first step, and the author has deprioritized the feature.
qwen3.6-35b-a3b-mtp-q6
Staleness: 45
Complexity: 60
Confidence: 85
Support Request: 10
keep open Enhancement to add or remove PPAs in imagecraft. Currently triaged and under discussion; maintainers opted to document workarounds first. Author acknowledges reduced urgency.
qwen3.6-35b-a3b-mtp-q6
Staleness: 45
Complexity: 60
Confidence: 90
Support Request: 10
keep open Enhancement request to natively add or remove PPAs and archives in imagecraft images. Currently triaged, with maintainers discussing scope and planning a documentation workaround as a first step.
qwen3.6-35b-a3b-mtp-q6
Staleness: 20
Complexity: 50
Confidence: 85
Support Request: 0
keep open Feature request to natively manage PPAs and archives in imagecraft overlays. Triaged and under discussion. Team plans to document a manual workaround first, with a dedicated plugin considered later. Author has deprioritized.

Update history

No update history recorded yet.

Related work

  • Related To: canonical/imagecraft#355 (confidence 80%)

    Merged how-to 'add-package-repositories' is the first step @steinbro proposed for this issue; documents the dump-plugin workaround for adding PPAs but does not implement native add/remove support.

Related issues

No related issues found above the similarity threshold.