jmacd / xdelta

open-source binary diff, delta/differential compression tools, VCDIFF/RFC 3284 delta compression
http://xdelta.org
1.1k stars 184 forks source link

Compression improvements #207

Closed bmwiedemann closed 8 years ago

bmwiedemann commented 8 years ago

one bugfix and three commits that help to get closer to identical compressed files after applying deltas

jmacd commented 8 years ago

I'd like to stall this for a moment.

There's a licensing question: I am currently planning to re-license the Xdelta code base in the public domain. There's a minor complication, and I need to speak with my attorney. I don't want to worry about CLAs and such, and I just need to make sure I'm not making mistakes.

The change looks good. Josh

On Sun, Oct 4, 2015 at 9:56 AM, Bernhard M. Wiedemann < notifications@github.com> wrote:

one bugfix and three commits that help to get closer to identical compressed files

after applying deltas

You can view, comment on, or merge this pull request online at:

https://github.com/jmacd/xdelta/pull/207 Commit Summary

  • xz magic is actually 6 bytes long
  • use gzip -n option for compression
  • add compression-level detection logic
  • detect xz, bz2 and gz compression level

File Changes

Patch Links:

— Reply to this email directly or view it on GitHub https://github.com/jmacd/xdelta/pull/207.

bmwiedemann commented 8 years ago

I happen to know a bit about open-source licensing and remember that for example there is no public-domain in Germany, so licensing under the CC0 license ( https://creativecommons.org/publicdomain/zero/1.0/ ) would be the closest you could get. But for some reason few people do that for code and rather chose the MIT, X11 or BSD (2- or 3-clause) license if they wanted to be very permissive or GPLv2 or GPLv3+ if they want other people to contribute back.

bmwiedemann commented 8 years ago

any update on this?

jmacd commented 8 years ago

Hi, Sorry I broke this pull request, but I did make a change in the license and now I'm trying to find the time to properly release and announce it. After some research, I chose to use APLv2. The branches are https://github.com/jmacd/xdelta/tree/release3_1_apl https://github.com/jmacd/xdelta/tree/release3_0_apl Josh

bmwiedemann commented 5 years ago

I rebased my branch ontop of your release3_0_apl branch. Want to re-open this PR or should I open a new one?

bmwiedemann commented 5 years ago

moved to #255