← Back to issue list

Migrate xdelta to xdelta3

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1645456
Type
issue
State
closed
Author
~blr
Labels
—
Created
Updated
Closed

Current evaluation

Snapcraft replaced xdelta with xdelta3 for delta generation via merged PR snapcraft#934 (commit f4abf6f4b), referenced by sergiusens when closing the bug.

Resolution: closed resolved

Reason: The migration was implemented in PR snapcraft#934, merged as commit f4abf6f4b ("deltas: migrate from xdelta to xdelta3"). Maintainer sergiusens linked that PR (2016-11-30) as the resolution before the Launchpad bug was closed.

Evaluated by: mr-cal-bot

No scores available.

Issue body

After discussion, we've decided to drop support for xdelta in favour of xdelta3 in snapcraft.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Snapcraft replaced xdelta with xdelta3 for delta generation via merged PR snapcraft#934 (commit f4abf6f4b), referenced by sergiusens when closing the bug.
stealth/space-bunny-alpha — closed resolved Snapcraft migrated delta generation from xdelta to xdelta3 through merged PR #934 (commit f4abf6f4b), completing the planned support change.
stealth/space-bunny-alpha — closed resolved Migrated Snapcraft from xdelta to xdelta3 in merged PR #934 via commit f4abf6f4b.
qwen/qwen3.6-35b-a3b — — Dropped xdelta support in favor of xdelta3 for snapcraft. Closed following a team decision to standardize on the newer library.
qwen/qwen3.6-35b-a3b — — Closed after deciding to drop xdelta support in favor of xdelta3 within snapcraft. The legacy library was phased out following team discussion.

Update history

Date Change
created

Related work

  • Likely Fixed By: canonical/snapcraft#934 (confidence 97%)

    Merged PR implementing the xdelta to xdelta3 migration; commit f4abf6f4b, cited in the closing comment.

  • Related To: canonical/snapcraft#918 (confidence 45%)

    PR a129cdfee introduced the original delta implementation using xdelta, superseded on the xdelta3 point.

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.
86%
#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.
80%
#1642822 Generate the delta file in snapcraft by introducing the new deltas package snapcraft (launchpad) closed 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).
76%
#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.
74%