jzebedee / deltaq

Fast and portable delta encoding for .NET in 100% safe, managed code.
Other
40 stars 13 forks source link

Wrong patched file when creating patch with this library and patch with jbsdiff #6

Closed ido-ran closed 4 years ago

ido-ran commented 4 years ago

I've written a server-side .NET core app using this library to produce diff files that are later applied using a Java extension for Maven using jbsdiff library. The idea is to produce a diff for two Maven artifact versions and thus reduce the download required by each developer.

The problem I've run into is that the end file was simply wrong (good thing Maven verify sha1). I can provide example files if you want or any other detail to help.

Is there any reason that the patch file of this library will not be compatible with the other library?

ido-ran commented 4 years ago

Turn out I've simply done diff between wrong files - everything is working great, sorry for the trouble.