Skip to content
This repository was archived by the owner on Dec 22, 2019. It is now read-only.
This repository was archived by the owner on Dec 22, 2019. It is now read-only.

Patches using Delta Compression #30

@Matthiee

Description

@Matthiee

Patching system with delta compression

To create smaller updates and reduce the time, UpdateLib should start using patches.
These patches will be created using the VCDIFF/RFC3284 algorithm.
All the patches for a version will be bundled together with metadata into a single compressed zip archive.

Existing software

Current zip idea/layout

  • patch.zip/
    • delta/
      • delta files
    • new/
      • newly added files
    • metdata file

Metdata file

Metdata file contains pointers more information. This should also contain information about deleted files etc.

Other

The highest compression settings are currently used, might change to find a better compression/time ratio.

xdelta3 -e -f -9 -S -s original.exe updated.exe original.exe.delta
For the zip inflate/deflate using level 9 will be used.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions