← Back to issue list

playing with caching

View original Github issue

Metadata

Project
snapcraft
Number
#677
Type
pull request
State
merged
Author
sergiusens
Labels
—
Created
Updated
Closed

Current evaluation

Merged in #677 via a2358fcd0, adding a global APT cache so snapcraft clean no longer forces later builds to re-download .deb files.

Resolution: closed resolved

Reason: PR #677 was merged as commit a2358fcd0. It moved stage-package downloads to a global APT cache, resolving Launchpad #1593380 and speeding subsequent builds.

Evaluated by: mr-cal-bot

No scores available.

Issue body

Signed-off-by: Sergio Schvezov sergio.schvezov@ubuntu.com

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged in #677 via a2358fcd0, adding a global APT cache so snapcraft clean no longer forces later builds to re-download .deb files.
stealth/space-bunny-alpha — closed resolved Merged as a2358fcd0, adding global APT package caching so downloads are reused across builds and fixing LP #1593380.
stealth/space-bunny-alpha — closed resolved Merged in canonical/snapcraft#677 as a2358fcd0, adding global APT download caching to speed subsequent builds and address Launchpad bug #1593380.
qwen/qwen3.6-35b-a3b — — Merged caching implementation to resolve Launchpad bug #1593380. Approved by reviewers and passes CI. Modifies six files to cache apt downloads, reducing subsequent build times.
qwen3.6-35b-a3b-mtp-q6 — — Merged changes implementing apt caching to accelerate subsequent snapcraft builds. Resolves Launchpad bug #1593380. Code passed tests, received maintainer approval, and was integrated into the repository.

Update history

No update history recorded yet.

Related work

  • Related To: snapcraft (launchpad)#1593380 (confidence 99%)

    Launchpad bug about snapcraft clean deleting downloaded .deb files was resolved by this PR.

Related issues

Issue Project State Summary Similarity
#1593380 Why snapcraft clean ,clears apt-get cache and downloaded debian files ? snapcraft (launchpad) closed Resolved by snapcore/snapcraft PR #677 (commit a2358fcd0), globally caching stage packages so APT downloads are shared across projects instead of repeatedly fetched.
74%
#887 Cache apt related files (config, packages) in 'apt' parent directory. snapcraft merged Merged in #887 via d30ce194a, moving APT config and package caches under .cache/snapcraft/apt/sources-list-digest to separate APT data from other Snapcraft caches.
74%
#617 snapcraft update if there is no cache snapcraft merged Merged in PR #617 as commit 9ae9f0114, fixing snapcraft update when no cache exists and removing obsolete test code.
70%