Updating repositories does not trigger necessary actions
Metadata
Current evaluation
Repository changes leave stale PPA files and skip pull steps; ownership is split between craft-parts and craft-application, with implementation work still outstanding.
Suggested action: keep open
Reason: The report includes a reproducible configuration change and clear before/after behavior: the removed PPA file remains and pull is skipped. Maintainer comments acknowledge the defect, while the latest comment assigns concrete work to craft-parts and craft-application rather than indicating a fix; current code still tracks only project variables and has no package-repositories state handling.
Evaluated by: mr-cal-bot
Impact:
55
Quick Win:
21
Complexity:
52
Confidence:
91
Actionability:
78
Issue body
This is a behavior seen while using Rockcraft.
Updating repositories entries does not remove PPA files from the disk and does not trigger pull steps.
rockcraft.yaml
```yaml
name: python-3.8
summary: Python 3.8
license: Apache-2.0
description: |
Python 3.8
version: "3.8"
base: ubuntu:22.04
platforms:
amd64:
package-repositories:
- type: apt
ppa: dqlite/dev
priority: always
- type: apt
ppa: deadsnakes/ppa
priority: always
parts:
python:
plugin: nil
stage-packages:
- python3.8
```
Performing pull step:
```bash
rockcraft pull --shell-after
Launching instance...
Retrieved base ubuntu:22.04 for amd64
Extracted ubuntu:22.04
Package repositories installed
Executed: pull pebble
Executed: pull python
Launching shell on build environment...
root@rockcraft-keystone-53910271:~/project# ls -alh /etc/apt/sources.list.d/
total 4.0K
drwxr-xr-x 2 root root 4 Apr 3 13:09 .
drwxr-xr-x 8 root root 9 Apr 26 2022 ..
-rw-r--r-- 1 root root 164 Apr 3 13:09 snapcraft-ppa-deadsnakes_ppa.sources
-rw-r--r-- 1 root root 160 Apr 3 13:09 snapcraft-ppa-dqlite_dev.sources
root@rockcraft-keystone-53910271:~/project#
```
Then, removing the `deadsnakes/ppa` PPA:
```diff
diff rockcraft.yaml/before rockcraft.yaml/after
16,18d15
< - type: apt
< ppa: deadsnakes/ppa
< priority: always
```
This is the result:
```bash
rockcraft pull --shell-after
Launching instance...
Retrieved base ubuntu:22.04 for amd64
Extracted ubuntu:22.04
Package repositories installed
Executed: skip pull pebble (already ran)
Executed: skip pull python (already ran)
Launching shell on build environment...
root@rockcraft-keystone-53910271:~/project# ls -alh /etc/apt/sources.list.d/
total 4.0K
drwxr-xr-x 2 root root 4 Apr 3 13:09 .
drwxr-xr-x 8 root root 9 Apr 26 2022 ..
-rw-r--r-- 1 root root 164 Apr 3 13:09 snapcraft-ppa-deadsnakes_ppa.sources
-rw-r--r-- 1 root root 160 Apr 3 13:09 snapcraft-ppa-dqlite_dev.sources
```
The sources file is not removed, and the pull stage is not retriggered. (this should have failed)
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha |
Impact:
55
Quick Win:
21
Complexity:
52
Confidence:
91
Actionability:
78
|
keep open | Repository changes leave stale PPA files and skip pull steps; ownership is split between craft-parts and craft-application, with implementation work still outstanding. | |
| qwen/qwen3.6-35b-a3b |
Impact:
60
Quick Win:
21
Complexity:
50
Confidence:
70
Actionability:
70
|
keep open | Changes to package-repositories in rockcraft.yaml do not trigger pull step reruns or clean up removed PPA files. Fix requires cross-project changes in craft-parts and craft-application. | |
| qwen/qwen3.8-27b |
Impact:
50
Quick Win:
22
Staleness:
10
Complexity:
55
Confidence:
80
Support Request:
5
|
keep open | Rockcraft: removing a PPA from package-repositories does not remove its sources file or retrigger the pull step. Triaged by maintainer with a concrete plan split across craft-parts (generic project-option tracking in step state) and craft-application (opt package_repositories into tracking). Unfixed; active discussion 8 days ago. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
15
Complexity:
75
Confidence:
90
Support Request:
10
|
keep open | Updating package-repositories fails to remove old PPA files or retrigger pull steps when configuration changes. Currently scoped for implementation across craft-parts and craft-application. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
95
Complexity:
40
Confidence:
85
Support Request:
50
|
close stale | Rockcraft package-repository updates fail to remove old PPA files or retrigger pull steps. Reported over 3 years ago; a maintainer clarified craft-parts does not handle this, making it out of scope. Currently inactive and untriaged. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
85
Complexity:
40
Confidence:
80
Support Request:
10
|
close stale | Rockcraft package-repository updates fail to remove old PPA files or trigger rebuilds. A maintainer clarified this belongs in craft-archives or the application layer, not this component. The issue has been inactive for over a year. |
Update history
| Date | Change |
|---|---|
| updated |
Related work
-
Related To:
warthogs#CRAFT-2955
(confidence 100%)
The issue comments link the work to internal ticket CRAFT-2955.
Related issues
No related issues found above the similarity threshold.