Documentation or example of Delta updater usage

Asked by Steve Allison-Bunnell

We are excited to use Sparkle for updating our Qt-based application. We want to use the Delta Tool to create binary deltas, and then set up the Appcast to access and install binary deltas instead of replacing the entire application bundle.

However, we have not yet been able to find documentation or examples of how to do this. We would appreciate pointers to any existing usage examples for both creating the delta files and installing them in Sparkle. We would also be willing to donate to the project in return for some further assistance.

Question information

Language:
English Edit question
Status:
Solved
For:
Sparkle Edit question
Assignee:
No assignee Edit question
Solved by:
Steve Allison-Bunnell
Solved:
Last query:
Last reply:
Revision history for this message
Andy Matuschak (andymatuschak) said :
#1

Sorry, no documentation yet, but you can see what your appcast should look like at http://nightly.webkit.org/builds/trunk/mac/rss.

You use the BinaryDelta tool to make patches; run it without parameters to see usage.

Revision history for this message
Steve Allison-Bunnell (steveab) said :
#2

Thank you. Just to clarify and summarize the moving parts involved in doing a Delta update:

1. Build and run the BinaryDelta Tool to create the delta patch.

2. Add the deltas element and attributes to the appcast.

3. Then Sparkle will as a matter of course use these deltas when performing the update (no additional config or calls required from the updater itself, right?)

Revision history for this message
Andy Matuschak (andymatuschak) said :
#3

That's right. Remember that you still need to put a non-delta update in the appcast to fall back on.

Revision history for this message
Steve Allison-Bunnell (steveab) said :
#4

Thanks much.