← Back to issue list

Cache apt related files (config, packages) in 'apt' parent directory.

View original Github issue

Metadata

Project
snapcraft
Number
#887
Type
pull request
State
merged
Author
squidsoup
Labels
—
Created
Updated
Closed

Current evaluation

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.

Resolution: closed resolved

Reason: PR #887 was merged as commit d30ce194a, placing APT configuration and package caches under an apt-specific parent directory. This resolved LP #1635611.

Evaluated by: mr-cal-bot

No scores available.

Issue body

LP: #1635611 Apt related cache now lives in `$HOME/.cache/snapcraft/apt/sources-list-digest/[apt, packages]` allowing for new top-level cache dirs for snapcraft unrelated to apt.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved 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.
stealth/space-bunny-alpha — closed resolved Merged PR #887 in commit d30ce194a, moving APT config and package caches under .cache/snapcraft/apt to separate them from other Snapcraft caches.
stealth/space-bunny-alpha — closed resolved Merged a one-line change to store APT configuration and package caches under .cache/snapcraft/apt/sources-list-digest, separating apt data from other Snapcraft caches.
qwen/qwen3.6-35b-a3b — — Merged a one-line change relocating apt cache files to a dedicated apt subdirectory under $HOME/.cache/snapcraft/. Approved by sergiusens, this refactoring enables new top-level cache directories for non-apt snapcraft components.
qwen3.6-35b-a3b-mtp-q6 — — Merged. Moves apt cache files to a dedicated apt directory under $HOME/.cache/snapcraft/apt/, enabling separate top-level cache directories for non-apt snapcraft components. Approved and tested by @sergiusens.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1635611 Apt cache has no parent directory in xdg-cache snapcraft (launchpad) closed Fixed by merged PR snapcore/snapcraft#887 (commit d30ce194a), moving APT configuration and package caches under .cache/snapcraft/apt/sources-list-digest.
82%
#677 playing with caching snapcraft merged Merged in #677 via a2358fcd0, adding a global APT cache so snapcraft clean no longer forces later builds to re-download .deb files.
74%