Skip to content
This repository has been archived by the owner on Feb 25, 2018. It is now read-only.

Updating via Patching

tim edited this page Aug 23, 2015 · 1 revision

We have a short piece in our tutorial on patching, make sure you have read/completed that.

Why are my patches so big?

To produce compact patches Esky requires access to the bsdiff binary diff tool. If this tool is not installed Esky will silently fallback to a whole file mode that produces substantially larger patches (as much as 100x).

How can I make a patch without using bdist_esky_patch?

The following command will produce an Esky patch from two zip files:

python -m esky.patch diff -Z <first-zip-file> <second-zip-file> <patch-file>

Incidentally you can test this by running:

python -m esky.patch patch <target-dir> <patch-file>

There is also a --dry-run option that will print some information about what the patch would do.