Michael Adams | 18 Jul 2011 20:08
Favicon

Question on how to get involved in 1.1 development

A while back I expressed interest in trying to add additional compression formats (XZ, ZPAQ-derived). What would be the best way for me to try these with the 1.1 codebase? And can 1.1 be used with 1.0.x nets out-of-box?


<div>    <div>A while back I expressed interest in trying to add additional compression formats (XZ, ZPAQ-derived). What would be the best way for me to try these with the 1.1 codebase? And can 1.1 be used with 1.0.x nets out-of-box?<br>
</div>
<div><br></div>
<div><a class="moz-txt-link-freetext" href="http://en.wikipedia.org/wiki/Xz">http://en.wikipedia.org/wiki/Xz</a></div>
<div><a class="moz-txt-li
 nk-freetext" href="http://mattmahoney.net/dc/zpaq.html">http://mattmahoney.net/dc/zpaq.html</a></div>
<br>
</div>
Guus Sliepen | 19 Jul 2011 09:34
Gravatar

Re: Question on how to get involved in 1.1 development

On Mon, Jul 18, 2011 at 02:08:11PM -0400, Michael Adams wrote:

> A while back I expressed interest in trying to add additional
> compression formats (XZ, ZPAQ-derived). What would be the best way
> for me to try these with the 1.1 codebase? And can 1.1 be used with
> 1.0.x nets out-of-box?

Add it to the {un,}compress_packet() functions in net_packet.c, use compression
levels above 11 for them. Then it is easy to test. However, we have to figure
out a backwards compatible way later.

To make sure your work can be easily merged, go to
https://github.com/gsliepen/tinc, create an account if you do not already have
one, then make a fork of the tinc repository, and then make a clone of that on
you own computer.

Make a branch starting at the 1.1pre2 tag, and add compression support to that
branch. Don't add other features, and don't "fix" unrelated things. Push the
results back to github, and send a pull request to me (or just email to
tinc-devel).

If you don't like github you can also set up your own public git repository, or
use git-send-email to email the changes.

-- 
Met vriendelijke groet / with kind regards,
     Guus Sliepen <guus@...>
On Mon, Jul 18, 2011 at 02:08:11PM -0400, Michael Adams wrote:

> A while back I expressed interest in trying to add additional
> compression formats (XZ, ZPAQ-derived). What would be the best way
> for me to try these with the 1.1 codebase? And can 1.1 be used with
> 1.0.x nets out-of-box?

Add it to the {un,}compress_packet() functions in net_packet.c, use compression
levels above 11 for them. Then it is easy to test. However, we have to figure
out a backwards compatible way later.

To make sure your work can be easily merged, go to
https://github.com/gsliepen/tinc, create an account if you do not already have
one, then make a fork of the tinc repository, and then make a clone of that on
you own computer.

Make a branch starting at the 1.1pre2 tag, and add compression support to that
branch. Don't add other features, and don't "fix" unrelated things. Push the
results back to github, and send a pull request to me (or just email to
tinc-devel).

If you don't like github you can also set up your own public git repository, or
use git-send-email to email the changes.

--

-- 
Met vriendelijke groet / with kind regards,
     Guus Sliepen <guus@...>

Gmane