← Back to issue list

Generate the delta file in snapcraft by introducing the new deltas package

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1642822
Type
issue
State
closed
Author
~kelvin.li
Labels
feature
Created
Updated
Closed

Current evaluation

XDelta-based delta generation landed as the new snapcraft 'deltas' package, merged in canonical/snapcraft#918 (commit a129cdfee), with follow-ups adding delta uploads to push (#940) and xdelta3 migration (#934).

Resolution: closed resolved

Reason: Merging PR canonical/snapcraft#918 as commit a129cdfee introduced the deltas package with XDelta source-to-target snap delta generation, satisfying the feature request. Follow-up commits05ba34a32 (#940) and f4abf6f4b (#934) further integrated delta uploads, and the issue's sole comment links to the merged PR.

Evaluated by: mr-cal-bot

No scores available.

Issue body

add a new package "deltas" and implement the XDelta based delta generation feature. By specifying the source snap file and target snap file, it can generate the delta file base on the xdelta algorithm. (Flexible to extend to use the other algorithms like *bsdiff* later)

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved XDelta-based delta generation landed as the new snapcraft 'deltas' package, merged in canonical/snapcraft#918 (commit a129cdfee), with follow-ups adding delta uploads to push (#940) and xdelta3 migration (#934).
stealth/space-bunny-alpha — closed resolved Implemented XDelta-based snap delta generation by adding the deltas package; merged in canonical/snapcraft#918 as commit a129cdfee.
stealth/space-bunny-alpha — closed resolved XDelta-based delta generation landed by merging #918, adding the deltas package and tests (commit a129cdfee).
qwen/qwen3.6-35b-a3b — — Closed without implementation. The feature request to add a deltas package for XDelta-based snap generation was abandoned or superseded by later snapcraft updates, indicated by zero comments and prolonged inactivity.
qwen/qwen3.6-35b-a3b — — The feature request to add a deltas package for XDelta-based snap generation was closed without implementation or discussion. No pull request was submitted, indicating the request was abandoned.
qwen/qwen3.6-35b-a3b — — Feature request to add a deltas package for XDelta-based snap generation was closed without implementation. Zero comments indicate the proposal was abandoned or superseded by existing tools.
qwen3.6-35b-a3b-mtp-q6 — — Closed without implementation. The proposal to add a deltas package for XDelta-based snap delta generation received no comments or follow-up, indicating it was abandoned or superseded by other solutions.

Update history

Date Change
created

Related work

  • Likely Fixed By: canonical/snapcraft#918 (confidence 98%)

    Merged PR delivering the deltas package; commit a129cdfee, referenced in the closing comment.

  • Related To: canonical/snapcraft#934 (confidence 85%)

    Follow-up commit f4abf6f4b migrating deltas from xdelta to xdelta3, showing the feature was built upon.

  • Related To: canonical/snapcraft#940 (confidence 85%)

    Follow-up commit 05ba34a32 implementing delta uploads in snapcraft push, integrating the new package.

Related issues

Issue Project State Summary Similarity
#934 deltas: migrate from xdelta to xdelta3. snapcraft merged Merged canonical/snapcraft#934, replacing xdelta with xdelta3 for delta generation; landed as commit f4abf6f4b.
83%
#1769978 xdelta3 not generated using the snapcraft snap snapcraft (launchpad) closed Fixed xdelta3 lookup in snapcraft snaps via snapcore/snapcraft#2127, merged as commit 146235160.
77%
#1645456 Migrate xdelta to xdelta3 snapcraft (launchpad) closed Snapcraft replaced xdelta with xdelta3 for delta generation via merged PR snapcraft#934 (commit f4abf6f4b), referenced by sergiusens when closing the bug.
76%
#918 create the deltas package/class with xdetal generation implementation snapcraft merged Merged the deltas package with XDelta-based source-to-target delta generation; the implementation landed in commit a129cdfee.
73%
#2127 delta: properly search for in-snap xdelta3 snapcraft merged Merged PR #2127 (commit 146235160), replacing shutil.which with file_utils.get_tool_path so Snapcraft locates bundled xdelta3 when run as a snap; fixes LP #1769978.
72%
#1673455 enable delta uploads by default snapcraft (launchpad) closed Delta uploads were enabled by default for Snap Store pushes by merged canonical/snapcraft#1196 (commit 3b13bbd1a).
71%