← Back to issue list

Shared caches for deb and snap packages

View original Github issue

Metadata

Project
snapcraft
Number
#4713
Type
issue
State
open
Author
lengau
Labels
—
Created
Updated
Closed
—

Current evaluation

Maintainer-filed request for a Charmcraft-style shared deb/snap package cache to avoid repeated downloads; it remains open and unresolved, with only an automated CRAFT-2668 ticket comment.

Suggested action: keep open

Reason: The maintainer explicitly identifies a recurring pack/clean/pack and large-build-package download problem, and the sole comment records creation of internal ticket CRAFT-2668, so this is a valid tracked feature. It still needs a concrete cache design and implementation: current documentation and #5354 describe an apt-cache/Squid proxy workaround, not the requested shared deb/snap cache.

Evaluated by: mr-cal-bot

Impact: 52 Quick Win: 8 Complexity: 68 Confidence: 79 Actionability: 46

Issue body

### What needs to get done See if we can implement a shared cache for deb/snap packages like Charmcraft has for python packages ### Why it needs to get done A pack/clean/pack cycle or packing snaps with large shared build packages can result in a lot of re-downloading of artefacts that will be checked and if necessary redownloaded anyway.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha
Impact: 52
Quick Win: 8
Complexity: 68
Confidence: 79
Actionability: 46
keep open Maintainer-filed request for a Charmcraft-style shared deb/snap package cache to avoid repeated downloads; it remains open and unresolved, with only an automated CRAFT-2668 ticket comment.
qwen/qwen3.6-35b-a3b
Impact: 30
Quick Win: 4
Complexity: 50
Confidence: 50
Actionability: 25
needs triage Feature request to implement shared caching for deb/snap packages to reduce redundant downloads during pack/clean/pack cycles. Open for 899 days with no labels or maintainer assessment.
qwen/qwen3.8-27b
Impact: 45
Quick Win: 14
Staleness: 75
Complexity: 70
Confidence: 60
Support Request: 10
needs triage Feature request to add a shared cache for deb/snap packages (like Charmcraft's python cache) to avoid re-downloading artifacts across pack/clean/pack cycles. Open since 2022, last activity 536 days ago, no labels, only a bot Jira-sync comment.
qwen/qwen3.6-35b-a3b
Staleness: 92
Complexity: 65
Confidence: 85
Support Request: 15
needs triage Feature request to implement shared caching for deb and snap packages to reduce redundant downloads during build cycles. Unlabelled, inactive for over a year, and awaiting maintainer assessment.
qwen3.6-35b-a3b-mtp-q6
Staleness: 85
Complexity: 65
Confidence: 80
Support Request: 10
close stale Feature request to implement shared caching for deb/snap packages to reduce redundant downloads during build cycles. Untriaged, inactive for over a year with only an automated Jira sync comment.

Update history

No update history recorded yet.

Related work

  • Related To: canonical/snapcraft#5354 (confidence 90%)

    Adds a test for using Squid as an apt-cache proxy; this is related proxy-based reuse, not a shared deb/snap package cache implementation.

Related issues

Issue Project State Summary Similarity
#4966 Shared cache for Python wheels snapcraft open Port Charmcraft's shared Python-wheel cache to Snapcraft to avoid repeated downloads and rebuilds; it remains open, unlabelled, and awaiting maintainer triage.
75%