← Back to issue list

extension files get repeated over and over each time snapcraft is recreated

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1976290
Type
issue
State
open
Author
~rastersoft-gmail
Labels
craft-1120
Created
Updated
Closed
—

Current evaluation

Incremental builds reportedly accumulate stale GNOME extension sources in Python build/lib, growing the snap; the 2022 report remains open without maintainer triage or a confirmed fix.

Suggested action: needs triage

Reason: The report gives a concrete sequence—changing gnome.py increased duplicate gnome.py and test_gnome.py instances from four to five in python3.8/build/lib—but lacks the Snapcraft version, recipe, logs, and attachment details needed to reproduce it. It has only the craft-1120 label and a blank author comment, with no maintainer assessment or evidence of a resolving change.

Evaluated by: mr-cal-bot

Impact: 43 Quick Win: 11 Complexity: 54 Confidence: 82 Actionability: 58

Issue body

Every time I modify the gnome.py file from the extensions and rebuild the snap without doing a clean, the size is much bigger. I checked the squashfs and found that the python3.8's build/lib folder is being duplicated each time the snap is rebuilt (as long as the modification date of the file has changed). I attach a capture where can be seen that in one of the iterations there were four instances of the gnome.py (and the test_gnome.py) file, but after changing one line in gnome.py and rebuilding the snap without doing a clean, there are now five instances.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha
Impact: 43
Quick Win: 11
Complexity: 54
Confidence: 82
Actionability: 58
needs triage Incremental builds reportedly accumulate stale GNOME extension sources in Python build/lib, growing the snap; the 2022 report remains open without maintainer triage or a confirmed fix.
stealth/space-bunny-alpha
Impact: 45
Quick Win: 10
Complexity: 62
Confidence: 79
Actionability: 57
needs triage Incremental rebuilds duplicate changed GNOME extension files in the snap's Python build/lib tree, growing each snap until snapcraft clean; no maintainer resolution is recorded.
stealth/space-bunny-alpha
Impact: 36
Quick Win: 12
Complexity: 48
Confidence: 77
Actionability: 64
needs triage Repeated non-clean rebuilds accumulate copies of extension gnome.py and test_gnome.py in python3.8 build/lib, inflating the snap. Awaiting maintainer triage.
qwen/qwen3.8-27b
Impact: 35
Quick Win: 19
Staleness: 95
Complexity: 45
Confidence: 65
Support Request: 10
close stale 2021 report that rebuilding a snap with a modified gnome extension without cleaning duplicates python3.8 build/lib artifacts in the squashfs, growing the snap size each rebuild. Zero comments, no maintainer response, and the python3.8-era in-repo extension setup is long outdated.
qwen/qwen3.6-35b-a3b
Staleness: 95
Complexity: 45
Confidence: 90
Support Request: 15
close stale Incremental snapcraft builds duplicate extension files in the squashfs, increasing snap size. No maintainer response or activity for over four years.
qwen/qwen3.6-35b-a3b
Staleness: 95
Complexity: 40
Confidence: 85
Support Request: 10
needs triage Rebuilding snaps without a clean build causes extension files and build artifacts to duplicate, increasing snap size. The issue is over four years old with no maintainer response or comments.
qwen3.6-35b-a3b-mtp-q6
Staleness: 95
Complexity: 65
Confidence: 75
Support Request: 5
needs triage Incremental snapcraft rebuilds without a clean build cause extension files and build artifacts to duplicate in the resulting snap. The issue has been inactive for over four years with no maintainer response.

Update history

Date Change
created

Related issues

No related issues found above the similarity threshold.