kspalaiologos / bzip3

A better and stronger spiritual successor to BZip2.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Improve the specification for reimplementation and porting

sorairolake opened this issue · comments

Currently, I think it is difficult to reimplement or port this format without referencing the reference implementation. So, I think it is difficult to implement the format with libraries licensed under the BSD-like licenses (e.g., libarchive or Go's Standard library).1

This issue may be resolved by:

  • Make the specification good enough to implement the format.
  • Add a simplified implementation for an educational purpose to understand the format licensed under the BSD-like license.

gzip and lzip are licensed under the GPL, so they may be helpful. These formats seems to provide the sufficient specification to implement.23 This method may be effective since these formats are implemented in libarchive and Go's Standard library.

Footnotes

  1. https://www.gnu.org/licenses/gpl-faq.en.html#TranslateCode

  2. https://datatracker.ietf.org/doc/html/rfc1952

  3. https://datatracker.ietf.org/doc/html/draft-diaz-lzip-09