GNU bug report logs - #31065
Version 2??

Previous Next

Package: gzip;

Reported by: - - <computing <at> windcheetah.org.uk>

Date: Wed, 4 Apr 2018 21:57:01 UTC

Severity: normal

Done: Jim Meyering <jim <at> meyering.net>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 31065 in the body.
You can then email your comments to 31065 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gzip <at> gnu.org:
bug#31065; Package gzip. (Wed, 04 Apr 2018 21:57:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to - - <computing <at> windcheetah.org.uk>:
New bug report received and forwarded. Copy sent to bug-gzip <at> gnu.org. (Wed, 04 Apr 2018 21:57:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: - - <computing <at> windcheetah.org.uk>
To: bug-gzip <at> gnu.org
Subject: Version 2??
Date: Wed, 4 Apr 2018 22:10:32 +0100 (BST)
[Message part 1 (text/html, inline)]

Information forwarded to bug-gzip <at> gnu.org:
bug#31065; Package gzip. (Wed, 04 Apr 2018 23:02:02 GMT) Full text and rfc822 format available.

Message #8 received at 31065 <at> debbugs.gnu.org (full text, mbox):

From: Mark Adler <madler <at> alumni.caltech.edu>
To: computing <at> windcheetah.org.uk
Cc: 31065 <at> debbugs.gnu.org
Subject: Re: bug#31065: Version 2??
Date: Wed, 4 Apr 2018 16:01:00 -0700
Jean-loup has not worked on gzip for many years, but I will leave it to the gzip maintainers here to answer to their future intentions.

However pigz has that ability now with the --independent option, where the block size defaults to 128K, and can be changed with the --blocksize option. See http://zlib.net/pigz/

> On Apr 4, 2018, at 2:10 PM, - - <computing <at> windcheetah.org.uk> wrote:
> 
>   Hi, some time ago Jean-loup, said on [1]http://www.gzip.org/recover.txt
>   that
>   "As you can see, all this is not a trivial task, so you should attempt
>   it only if your data is very valuable. gzip 2.0 will have a new
>   blocksize option, allowing to recover easily all undamaged blocks after
>   the damaged portion."
>   I'm using gzip 1.9 from the PCLinuxOS.
>   Can you please let me know:
>   1 Is it still the plan to get this into 2.0?
>   2 If you are, when do you think 2.0 will be out??
>   Thanks loads
>   Martin
> 
> References
> 
>   1. http://www.gzip.org/recover.txt





Reply sent to Jim Meyering <jim <at> meyering.net>:
You have taken responsibility. (Thu, 05 Apr 2018 00:19:01 GMT) Full text and rfc822 format available.

Notification sent to - - <computing <at> windcheetah.org.uk>:
bug acknowledged by developer. (Thu, 05 Apr 2018 00:19:02 GMT) Full text and rfc822 format available.

Message #13 received at 31065-done <at> debbugs.gnu.org (full text, mbox):

From: Jim Meyering <jim <at> meyering.net>
To: Mark Adler <madler <at> alumni.caltech.edu>
Cc: computing <at> windcheetah.org.uk, 31065-done <at> debbugs.gnu.org
Subject: Re: bug#31065: Version 2??
Date: Wed, 4 Apr 2018 17:18:07 -0700
tags 31065 notabug
stop

On Wed, Apr 4, 2018 at 4:01 PM, Mark Adler <madler <at> alumni.caltech.edu> wrote:
> Jean-loup has not worked on gzip for many years, but I will leave it to the gzip maintainers here to answer to their future intentions.
>
> However pigz has that ability now with the --independent option, where the block size defaults to 128K, and can be changed with the --blocksize option. See http://zlib.net/pigz/

Hi Mark, thanks for replying.

As for gzip vs. 2.0, I can say with confidence that we would strongly
discourage such an effort here. If you want that capability, use pigz.
While gzip is worth maintaining, it is definitely not the compression
tool of the future.

I've marked this as "notabug" and closed the issue in gzip's tracker,
but you're welcome to continue replying here.




Information forwarded to bug-gzip <at> gnu.org:
bug#31065; Package gzip. (Thu, 05 Apr 2018 00:55:01 GMT) Full text and rfc822 format available.

Message #16 received at 31065-done <at> debbugs.gnu.org (full text, mbox):

From: Mark Adler <madler <at> alumni.caltech.edu>
To: Jim Meyering <jim <at> meyering.net>
Cc: 31065-done <at> debbugs.gnu.org, computing <at> windcheetah.org.uk
Subject: Re: bug#31065: Version 2??
Date: Wed, 4 Apr 2018 17:54:30 -0700
Jim,

So gzip has run into a version 2.0 wall. Just out of curiosity, will the next version be 1.91? 2.0? 1.A?

Mark


> On Apr 4, 2018, at 5:18 PM, Jim Meyering <jim <at> meyering.net> wrote:
> 
> tags 31065 notabug
> stop
> 
> On Wed, Apr 4, 2018 at 4:01 PM, Mark Adler <madler <at> alumni.caltech.edu> wrote:
>> Jean-loup has not worked on gzip for many years, but I will leave it to the gzip maintainers here to answer to their future intentions.
>> 
>> However pigz has that ability now with the --independent option, where the block size defaults to 128K, and can be changed with the --blocksize option. See http://zlib.net/pigz/
> 
> Hi Mark, thanks for replying.
> 
> As for gzip vs. 2.0, I can say with confidence that we would strongly
> discourage such an effort here. If you want that capability, use pigz.
> While gzip is worth maintaining, it is definitely not the compression
> tool of the future.
> 
> I've marked this as "notabug" and closed the issue in gzip's tracker,
> but you're welcome to continue replying here.
> 
> 
> 





Information forwarded to bug-gzip <at> gnu.org:
bug#31065; Package gzip. (Thu, 05 Apr 2018 01:10:01 GMT) Full text and rfc822 format available.

Message #19 received at 31065-done <at> debbugs.gnu.org (full text, mbox):

From: Jim Meyering <jim <at> meyering.net>
To: Mark Adler <madler <at> alumni.caltech.edu>
Cc: 31065-done <at> debbugs.gnu.org, computing <at> windcheetah.org.uk
Subject: Re: bug#31065: Version 2??
Date: Wed, 4 Apr 2018 18:09:32 -0700
On Wed, Apr 4, 2018 at 5:54 PM, Mark Adler <madler <at> alumni.caltech.edu> wrote:
> So gzip has run into a version 2.0 wall. Just out of curiosity, will the next version be 1.91? 2.0? 1.A?

I might have blindly chosen 1.10, since most are used to
version-sorting for such numbers. But these version-number-lengthening
events do make one think: not too long ago, I "incremented" 2.28 to
3.0 for grep. Now that you've raised the issue, maybe 2.0 to keep it
short and simple.




Information forwarded to bug-gzip <at> gnu.org:
bug#31065; Package gzip. (Thu, 05 Apr 2018 16:09:01 GMT) Full text and rfc822 format available.

Message #22 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: bug-gzip <at> gnu.org
Cc: Jim Meyering <jim <at> meyering.net>, Mark Adler <madler <at> alumni.caltech.edu>
Subject: Re: bug#31065: Version 2??
Date: Thu, 5 Apr 2018 09:08:40 -0700
On 04/04/2018 06:09 PM, Jim Meyering wrote:
> maybe 2.0 to keep it
> short and simple.

I have a more-drastic idea in mind. Let's replace gzip's source code 
with pigz's, make the minimal set of changes needed to make it 
compatible with gzip and/or GNU in general, and call it gzip 2.0. In the 
meantime, we can keep the gzip 1 series around with the traditional 
implementation.





Information forwarded to bug-gzip <at> gnu.org:
bug#31065; Package gzip. (Thu, 05 Apr 2018 16:31:02 GMT) Full text and rfc822 format available.

Message #25 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Jim Meyering <jim <at> meyering.net>
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: Mark Adler <madler <at> alumni.caltech.edu>, bug-gzip <at> gnu.org
Subject: Re: bug#31065: Version 2??
Date: Thu, 5 Apr 2018 09:29:52 -0700
On Thu, Apr 5, 2018 at 9:08 AM, Paul Eggert <eggert <at> cs.ucla.edu> wrote:
> On 04/04/2018 06:09 PM, Jim Meyering wrote:
>>
>> maybe 2.0 to keep it
>> short and simple.
>
> I have a more-drastic idea in mind. Let's replace gzip's source code with
> pigz's, make the minimal set of changes needed to make it compatible with
> gzip and/or GNU in general, and call it gzip 2.0. In the meantime, we can
> keep the gzip 1 series around with the traditional implementation.

I like it!




Information forwarded to bug-gzip <at> gnu.org:
bug#31065; Package gzip. (Thu, 05 Apr 2018 17:22:02 GMT) Full text and rfc822 format available.

Message #28 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Mark Adler <madler <at> alumni.caltech.edu>
To: Jim Meyering <jim <at> meyering.net>
Cc: Paul Eggert <eggert <at> cs.ucla.edu>, bug-gzip <at> gnu.org
Subject: Re: bug#31065: Version 2??
Date: Thu, 5 Apr 2018 10:20:48 -0700
Jim,

I’d certainly support that, but it would take some work to make pigz more portable. It depends on the POSIX pthread functions, where I don’t know how that will play out on, for example, Windows. I have an Android report where apparently pthread is not quite the same. Also the pigz Makefile is pretty simple, and there is no configure for where there might be system dependencies that need to be remedied.

As a consequence, there would need to be a fair bit of testing to make sure it works across a wide variety of systems. The current gzip has the advantage of having been deployed over a very wide range of systems over a long time, so a lot of portability issues have been worked out.

Mark


> On Apr 5, 2018, at 9:29 AM, Jim Meyering <jim <at> meyering.net> wrote:
> 
> On Thu, Apr 5, 2018 at 9:08 AM, Paul Eggert <eggert <at> cs.ucla.edu> wrote:
>> On 04/04/2018 06:09 PM, Jim Meyering wrote:
>>> 
>>> maybe 2.0 to keep it
>>> short and simple.
>> 
>> I have a more-drastic idea in mind. Let's replace gzip's source code with
>> pigz's, make the minimal set of changes needed to make it compatible with
>> gzip and/or GNU in general, and call it gzip 2.0. In the meantime, we can
>> keep the gzip 1 series around with the traditional implementation.
> 
> I like it!





Information forwarded to bug-gzip <at> gnu.org:
bug#31065; Package gzip. (Thu, 05 Apr 2018 21:20:01 GMT) Full text and rfc822 format available.

Message #31 received at 31065 <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Mark Adler <madler <at> alumni.caltech.edu>, Jim Meyering <jim <at> meyering.net>
Cc: 31065 <at> debbugs.gnu.org
Subject: Re: bug#31065: Version 2??
Date: Thu, 5 Apr 2018 14:19:41 -0700
On 04/05/2018 10:20 AM, Mark Adler wrote:
> As a consequence, there would need to be a fair bit of testing to make sure it works across a wide variety of systems. The current gzip has the advantage of having been deployed over a very wide range of systems over a long time, so a lot of portability issues have been worked out.

Absolutely. I expect that most of the work will be testing and 
portability-enhancement. For example, we could use the Gnulib pthreads 
module to insulate the gzip code proper from the vagaries of threads on 
non-POSIX platforms (this won't work as well as native threads, but 
that's OK, gzip will still run).





Information forwarded to bug-gzip <at> gnu.org:
bug#31065; Package gzip. (Wed, 02 May 2018 13:48:01 GMT) Full text and rfc822 format available.

Message #34 received at 31065 <at> debbugs.gnu.org (full text, mbox):

From: "Garreau\, Alexandre" <galex-713 <at> galex-713.eu>
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: 31065 <at> debbugs.gnu.org, Jim Meyering <jim <at> meyering.net>,
 Mark Adler <madler <at> alumni.caltech.edu>
Subject: Re: bug#31065: Version 2??
Date: Wed, 02 May 2018 15:44:34 +0200
On 2018-04-05 at 09:08, Paul Eggert wrote:
> On 04/04/2018 06:09 PM, Jim Meyering wrote:
>> maybe 2.0 to keep it
>> short and simple.
>
> I have a more-drastic idea in mind. Let's replace gzip's source code
> with pigz's, make the minimal set of changes needed to make it
> compatible with gzip and/or GNU in general, and call it gzip 2.0. In
> the meantime, we can keep the gzip 1 series around with the
> traditional implementation.

I totally support this idea too!

that’s at least… some months I was collecting a maildir of all the mail
mentioning pigz and the future of gzip here and there, waiting to be put
in the References header of a mail I was still composing to ask what was
gzip going to be now there’s pigz that seems to replace everything, and
be maintained by people active here, and I’m ignoring all this just to
say +1 to this.




Information forwarded to bug-gzip <at> gnu.org:
bug#31065; Package gzip. (Wed, 02 May 2018 16:55:01 GMT) Full text and rfc822 format available.

Message #37 received at 31065 <at> debbugs.gnu.org (full text, mbox):

From: "Garreau\, Alexandre" <galex-713 <at> galex-713.eu>
To: Mark Adler <madler <at> alumni.caltech.edu>
Cc: 31065 <at> debbugs.gnu.org, eggert <at> cs.ucla.edu, Jim Meyering <jim <at> meyering.net>
Subject: relationship with Zlib? Re: bug#31065: Version 2??
Date: Wed, 02 May 2018 16:12:47 +0200
Sorry, in my excitement, I sent my last mail without looking at what I
wanted to say/ask in my first draft:

I’m not sure of recalling or understanding fully, but isn’t pigz
somewhat linked with Zlib/Zlib code? and Zlib not being GNU, what would
that mean? would it have to be separated? would gzip get Zlib as a
mandatory dependency? How would that evolve?

As I understood anyway you Mark Adler the maintainer of Zlib are anyway
quite active on these mailing-lists.  Out of curiosity, and I’m probably
bad at formulating it at a quick glance but I’m not sure of what are the
relationships and differences between zlib and the (redundant?
different? independant?)  standalone compression tools it reimplements
(or the other way around?), including gzip, especially when some people
working on all these are the same: then there must be some relevant
useful difference that justify the differenciation of both?

I first learnt about pigz on a (french) (micro)blogger website [1], then
I was really curious about why a such useful and uncontroversial change
wouldn’t go upstream (as afaik stuff not going upstream for gcc or glibc
has been common for several times in their history), not only for gzip
but also for lzip, xz, bzip2, etc.

Thank you in advance for any answer!

[1] fr: <http://sebsauvage.net/links/?DrNtGw>




Information forwarded to bug-gzip <at> gnu.org:
bug#31065; Package gzip. (Wed, 02 May 2018 16:55:03 GMT) Full text and rfc822 format available.

Message #40 received at 31065 <at> debbugs.gnu.org (full text, mbox):

From: Mark Adler <madler <at> alumni.caltech.edu>
To: "Garreau, Alexandre" <galex-713 <at> galex-713.eu>
Cc: 31065 <at> debbugs.gnu.org, eggert <at> cs.ucla.edu, Jim Meyering <jim <at> meyering.net>
Subject: Re: relationship with Zlib? Re: bug#31065: Version 2??
Date: Wed, 2 May 2018 09:54:19 -0700
pigz isn’t under GPL either. It has the same zlib license that zlib has. Interestingly the “zlib license” has become a thing onto itself and used by others, as one of the approved licenses by FSF and OSI. FSF calls the zlib license “GPL compatible”, whatever that means.

For pigz to eventually replace and be called “gzip", does it need to be under GPL?

As to the history of gzip and zlib, gzip was written first, itself derived from earlier Info-ZIP code. zlib was written a few years later by the same authors for compression and decompression, but they both made changes to the code and algorithms. So, for example, the compressed data that comes out of gzip will generally be different than for zlib, for the same input and compression level. They are completely compatible with each other, conforming to the deflate format. I am not aware of any reason that gzip couldn’t use zlib, but it just happens not to.

> On May 2, 2018, at 7:12 AM, Garreau, Alexandre <galex-713 <at> galex-713.eu> wrote:
> 
> Sorry, in my excitement, I sent my last mail without looking at what I
> wanted to say/ask in my first draft:
> 
> I’m not sure of recalling or understanding fully, but isn’t pigz
> somewhat linked with Zlib/Zlib code? and Zlib not being GNU, what would
> that mean? would it have to be separated? would gzip get Zlib as a
> mandatory dependency? How would that evolve?
> 
> As I understood anyway you Mark Adler the maintainer of Zlib are anyway
> quite active on these mailing-lists.  Out of curiosity, and I’m probably
> bad at formulating it at a quick glance but I’m not sure of what are the
> relationships and differences between zlib and the (redundant?
> different? independant?)  standalone compression tools it reimplements
> (or the other way around?), including gzip, especially when some people
> working on all these are the same: then there must be some relevant
> useful difference that justify the differenciation of both?
> 
> I first learnt about pigz on a (french) (micro)blogger website [1], then
> I was really curious about why a such useful and uncontroversial change
> wouldn’t go upstream (as afaik stuff not going upstream for gcc or glibc
> has been common for several times in their history), not only for gzip
> but also for lzip, xz, bzip2, etc.
> 
> Thank you in advance for any answer!
> 
> [1] fr: <http://sebsauvage.net/links/?DrNtGw>





Information forwarded to bug-gzip <at> gnu.org:
bug#31065; Package gzip. (Wed, 02 May 2018 19:01:01 GMT) Full text and rfc822 format available.

Message #43 received at 31065 <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Mark Adler <madler <at> alumni.caltech.edu>,
 "Garreau, Alexandre" <galex-713 <at> galex-713.eu>
Cc: 31065 <at> debbugs.gnu.org, Jim Meyering <jim <at> meyering.net>
Subject: Re: bug#31065: relationship with Zlib? Re: bug#31065: Version 2??
Date: Wed, 2 May 2018 12:00:19 -0700
Just as a heads-up, I've assigned to some of my students the job of 
rewriting gzip to use zlib; other way of putting it is to redo pigz to 
be as gzip-compatible as possible and to make it as portable as possible 
to non-POSIX environments. Early days yet.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 31 May 2018 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 7 years and 72 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.