You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Stefan Bodewig <bo...@apache.org> on 2011/10/11 16:20:43 UTC

[compress] Planning for a 1.3 Release?

Hi all,

its been quite some time since I finished the Zip64 stuff and I think we
are at the point we discussed three month ago or so: release Compress
1.3 even if it doesn't have many big changes when compared to 1.2.  In
addition to Zip64 we have read-only support for Unix dump and also
Pack200 "compression".  Documentation is fairly complete IMHO.

One thing that we may or may not want to address are the integration
tests for Zip64 which are currently only run when the run-it profile is
enabled.  These tests need some zips generated by other tools that are
currently not part of svn and we discussed publishing them as separate
artifacts - personally I wouldn't even know where to start for this.

Then we do have some JIRAs with patches in particular one for XZ
compression and patches for compressors where a single container stream
contains multiple compressed streams (I didn't know gzip and bzip2 could
do that, I must admit), all by Lasse Collin.

The XZ patch has the "problem" that it introduces a new dependency - do
we want that or would we prefer a separate module?  In addition XZ for
Java is not available via any Maven repo, yet, this may require some
tweaking during build time (Ant <get> task?).  Shall we defer this until
after the 1.3 release?

The other two patches should be addressed together with changing the API
in 2.0, IMHO.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Re: [compress] Planning for a 1.3 Release?

Posted by Stefan Bodewig <bo...@apache.org>.
On 2011-10-11, sebb wrote:

> On 11 October 2011 15:20, Stefan Bodewig <bo...@apache.org> wrote:

>> One thing that we may or may not want to address are the integration
>> tests for Zip64 which are currently only run when the run-it profile is
>> enabled.  These tests need some zips generated by other tools that are
>> currently not part of svn and we discussed publishing them as separate
>> artifacts - personally I wouldn't even know where to start for this.

> So long as it is clear to users how to set up in order to run the
> tests, I think the tests can remain as they are.

I can add some javadoc comments to the corresponding test case.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Re: [compress] Planning for a 1.3 Release?

Posted by sebb <se...@gmail.com>.
On 11 October 2011 15:20, Stefan Bodewig <bo...@apache.org> wrote:
> Hi all,
>
> its been quite some time since I finished the Zip64 stuff and I think we
> are at the point we discussed three month ago or so: release Compress
> 1.3 even if it doesn't have many big changes when compared to 1.2.  In
> addition to Zip64 we have read-only support for Unix dump and also
> Pack200 "compression".  Documentation is fairly complete IMHO.
>
> One thing that we may or may not want to address are the integration
> tests for Zip64 which are currently only run when the run-it profile is
> enabled.  These tests need some zips generated by other tools that are
> currently not part of svn and we discussed publishing them as separate
> artifacts - personally I wouldn't even know where to start for this.

So long as it is clear to users how to set up in order to run the
tests, I think the tests can remain as they are.

> Then we do have some JIRAs with patches in particular one for XZ
> compression and patches for compressors where a single container stream
> contains multiple compressed streams (I didn't know gzip and bzip2 could
> do that, I must admit), all by Lasse Collin.
>
> The XZ patch has the "problem" that it introduces a new dependency - do
> we want that or would we prefer a separate module?  In addition XZ for
> Java is not available via any Maven repo, yet, this may require some
> tweaking during build time (Ant <get> task?).  Shall we defer this until
> after the 1.3 release?

+1

> The other two patches should be addressed together with changing the API
> in 2.0, IMHO.

+1

> Stefan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Re: [compress] Planning for a 1.3 Release?

Posted by Christian Grobmeier <gr...@gmail.com>.
>> I thought we were talking about gigs here.
>
> About 100 MB if I leave the eleven zips as individual files.  Better
> don't try to do a svn checkout over a slow line then.

Thanks Stefan for not excluding me from the compress project.
I need 50 minutes for checking out 100 MB, but only if Telekom is nice to me.

> But coming to think of it, there is no reason to keep the individual
> files if a single ZIP of 5MB can hold them, I'd just need to figure out
> how to uncompress this at build time - which I'd have to do for the
> "test resources in Maven central" approach as well.

+1 thanks again!

Cheers
Christian

>> For me, a couple of megs is fine in SVN.
>
> So unless anybody objects I'm going to add a ZIP holding the ZIPs to
> svn (or a bzip2 compressed tar or whatever looks best).
>
> Stefan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>
>



-- 
http://www.grobmeier.de

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Re: [compress] Planning for a 1.3 Release?

Posted by Stefan Bodewig <bo...@apache.org>.
On 2011-10-17, Gary Gregory wrote:

> On Mon, Oct 17, 2011 at 10:16 AM, Stefan Bodewig <bo...@apache.org> wrote:

>> On 2011-10-11, Gary Gregory wrote:

>>> On Tue, Oct 11, 2011 at 11:21 AM, Stefan Bodewig <bo...@apache.org>
>> wrote:

>>>> On 2011-10-11, Gary Gregory wrote:

>>>>> On Tue, Oct 11, 2011 at 10:20 AM, Stefan Bodewig <bo...@apache.org>
>>>> wrote:

>>>>>> One thing that we may or may not want to address are the
>>>>>> integration tests for Zip64 which are currently only run when the
>>>>>> run-it profile is enabled.  These tests need some zips generated
>>>>>> by other tools that are currently not part of svn and we
>>>>>> discussed publishing them as separate artifacts - personally I
>>>>>> wouldn't even know where to start for this.

[...]

>> The individual files are between 4.5MB and 15MB each.  We are talking
>> about the ZIPs in
>> <http://people.apache.org/~bodewig/commons-compress/> and five of
>> those attached to
>> <https://issues.apache.org/jira/browse/COMPRESS-36>.  Not exactly
>> huge but too big to have them i trunk IMHO.

>>> (2) That leaves some place that the build can handle downloading and
>>> caching automatically, which is what Maven and Ivy are good at
>>> doing.

>> I created
>> <http://svn.apache.org/repos/asf/commons/proper/compress/test-resources/>
>> which holds the POM for such a test-resources artifact.  I copied the
>> eleven archives used during the tests into src/main/resources and ran
>> "mvn package" and something surprising happened.  The resulting jar is
>> 5MB in size.  I.e. we have one of the very rare cases where compressing
>> a ZIP with ZIP reduces the archive size considerably because it still
>> contains lots of redundant data.

>> How do I proceed?  Upload the jar and pom to Nexus (pgp signed, of
>> course) and call for a vote?

> I thought we were talking about gigs here.

About 100 MB if I leave the eleven zips as individual files.  Better
don't try to do a svn checkout over a slow line then.

But coming to think of it, there is no reason to keep the individual
files if a single ZIP of 5MB can hold them, I'd just need to figure out
how to uncompress this at build time - which I'd have to do for the
"test resources in Maven central" approach as well.

> For me, a couple of megs is fine in SVN.

So unless anybody objects I'm going to add a ZIP holding the ZIPs to
svn (or a bzip2 compressed tar or whatever looks best).

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Re: [compress] Planning for a 1.3 Release?

Posted by Gary Gregory <ga...@gmail.com>.
On Mon, Oct 17, 2011 at 10:16 AM, Stefan Bodewig <bo...@apache.org> wrote:

> On 2011-10-11, Gary Gregory wrote:
>
> > On Tue, Oct 11, 2011 at 11:21 AM, Stefan Bodewig <bo...@apache.org>
> wrote:
>
> >> On 2011-10-11, Gary Gregory wrote:
>
> >>> On Tue, Oct 11, 2011 at 10:20 AM, Stefan Bodewig <bo...@apache.org>
> >> wrote:
>
> >>>> One thing that we may or may not want to address are the integration
> >>>> tests for Zip64 which are currently only run when the run-it profile
> is
> >>>> enabled.  These tests need some zips generated by other tools that are
> >>>> currently not part of svn and we discussed publishing them as separate
> >>>> artifacts - personally I wouldn't even know where to start for this.
>
> >>> I am not in favor of code all over the place, it should all be in the
> >>> project, whether or not or when it is run is a different story.
>
> >>> If these are data/resource files, why not put them in a resource jar in
> >>> MC?
>
> >> By "put them in a resource jar in MC" you mean I'd assemble a single jar
> >> file commons-compress-testresources-1.0.jar that contains all those zips
> >> and publish it, right?
>
> > Yep. Because third party programs were used to create the files, they
> > should be saved somewhere.
>
> > We have two options:
>
> > (1) SVN is not acceptable it seems. Could SVN even handle a giant file?
>
> The individual files are between 4.5MB and 15MB each.  We are talking
> about the ZIPs in <http://people.apache.org/~bodewig/commons-compress/>
> and five of those attached to
> <https://issues.apache.org/jira/browse/COMPRESS-36>.  Not exactly huge
> but too big to have them i trunk IMHO.
>
> > (2) That leaves some place that the build can handle downloading and
> caching
> > automatically, which is what Maven and Ivy are good at doing.
>
> I created
> <http://svn.apache.org/repos/asf/commons/proper/compress/test-resources/>
> which holds the POM for such a test-resources artifact.  I copied the
> eleven archives used during the tests into src/main/resources and ran
> "mvn package" and something surprising happened.  The resulting jar is
> 5MB in size.  I.e. we have one of the very rare cases where compressing
> a ZIP with ZIP reduces the archive size considerably because it still
> contains lots of redundant data.
>
> How do I proceed?  Upload the jar and pom to Nexus (pgp signed, of
> course) and call for a vote?
>

I thought we were talking about gigs here. For me, a couple of megs is fine
in SVN.

Gary


>
> Stefan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>
>


-- 
E-Mail: garydgregory@gmail.com | ggregory@apache.org
JUnit in Action, 2nd Ed: <http://goog_1249600977>http://bit.ly/ECvg0
Spring Batch in Action: <http://s.apache.org/HOq>http://bit.ly/bqpbCK
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory

Re: [compress] Planning for a 1.3 Release?

Posted by Stefan Bodewig <bo...@apache.org>.
On 2011-10-11, Gary Gregory wrote:

> On Tue, Oct 11, 2011 at 11:21 AM, Stefan Bodewig <bo...@apache.org> wrote:

>> On 2011-10-11, Gary Gregory wrote:

>>> On Tue, Oct 11, 2011 at 10:20 AM, Stefan Bodewig <bo...@apache.org>
>> wrote:

>>>> One thing that we may or may not want to address are the integration
>>>> tests for Zip64 which are currently only run when the run-it profile is
>>>> enabled.  These tests need some zips generated by other tools that are
>>>> currently not part of svn and we discussed publishing them as separate
>>>> artifacts - personally I wouldn't even know where to start for this.

>>> I am not in favor of code all over the place, it should all be in the
>>> project, whether or not or when it is run is a different story.

>>> If these are data/resource files, why not put them in a resource jar in
>>> MC?

>> By "put them in a resource jar in MC" you mean I'd assemble a single jar
>> file commons-compress-testresources-1.0.jar that contains all those zips
>> and publish it, right?

> Yep. Because third party programs were used to create the files, they
> should be saved somewhere.

> We have two options:

> (1) SVN is not acceptable it seems. Could SVN even handle a giant file?

The individual files are between 4.5MB and 15MB each.  We are talking
about the ZIPs in <http://people.apache.org/~bodewig/commons-compress/>
and five of those attached to
<https://issues.apache.org/jira/browse/COMPRESS-36>.  Not exactly huge
but too big to have them i trunk IMHO.

> (2) That leaves some place that the build can handle downloading and caching
> automatically, which is what Maven and Ivy are good at doing.

I created
<http://svn.apache.org/repos/asf/commons/proper/compress/test-resources/>
which holds the POM for such a test-resources artifact.  I copied the
eleven archives used during the tests into src/main/resources and ran
"mvn package" and something surprising happened.  The resulting jar is
5MB in size.  I.e. we have one of the very rare cases where compressing
a ZIP with ZIP reduces the archive size considerably because it still
contains lots of redundant data.

How do I proceed?  Upload the jar and pom to Nexus (pgp signed, of
course) and call for a vote?

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Re: [compress] Planning for a 1.3 Release?

Posted by Gary Gregory <ga...@gmail.com>.
On Tue, Oct 11, 2011 at 11:21 AM, Stefan Bodewig <bo...@apache.org> wrote:

> On 2011-10-11, Gary Gregory wrote:
>
> > On Tue, Oct 11, 2011 at 10:20 AM, Stefan Bodewig <bo...@apache.org>
> wrote:
>
> >> Hi all,
>
> >> its been quite some time since I finished the Zip64 stuff and I think we
> >> are at the point we discussed three month ago or so: release Compress
> >> 1.3 even if it doesn't have many big changes when compared to 1.2.  In
> >> addition to Zip64 we have read-only support for Unix dump and also
> >> Pack200 "compression".  Documentation is fairly complete IMHO.
>
> >> One thing that we may or may not want to address are the integration
> >> tests for Zip64 which are currently only run when the run-it profile is
> >> enabled.  These tests need some zips generated by other tools that are
> >> currently not part of svn and we discussed publishing them as separate
> >> artifacts - personally I wouldn't even know where to start for this.
>
> >> Then we do have some JIRAs with patches in particular one for XZ
> >> compression and patches for compressors where a single container stream
> >> contains multiple compressed streams (I didn't know gzip and bzip2 could
> >> do that, I must admit), all by Lasse Collin.
>
> >> The XZ patch has the "problem" that it introduces a new dependency - do
> >> we want that or would we prefer a separate module?  In addition XZ for
> >> Java is not available via any Maven repo, yet, this may require some
> >> tweaking during build time (Ant <get> task?).  Shall we defer this until
> >> after the 1.3 release?
>
> > Yes, release early, release often.
>
> > I am not in favor of code all over the place, it should all be in the
> > project, whether or not or when it is run is a different story.
>
> > If these are data/resource files, why not put them in a resource jar in
> MC?
>
> Are you talking about the zips needed for the ZIP64 tests?  I should
> have been clearer.  Those zips have been generated by myself using
> InfoZIP, WinZip and so on and all have the same contents (albeit all are
> slightly different).
>
> By "put them in a resource jar in MC" you mean I'd assemble a single jar
> file commons-compress-testresources-1.0.jar that contains all those zips
> and publish it, right?
>

Yep. Because third party programs were used to create the files, they should
be saved somewhere.

We have two options:

(1) SVN is not acceptable it seems. Could SVN even handle a giant file?

(2) That leaves some place that the build can handle downloading and caching
automatically, which is what Maven and Ivy are good at doing.

Gary


>
> > If something is not in MC, you can always ask to have it put there. The
> > issue is that you might have to edit the POM and rebuild the software if
> the
> > POM does not adhere to Apache/MC standards.
>
> In this case I'd have to write the POM myself anyway.
>
> Stefan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>
>


-- 
E-Mail: garydgregory@gmail.com | ggregory@apache.org
JUnit in Action, 2nd Ed: <http://goog_1249600977>http://bit.ly/ECvg0
Spring Batch in Action: <http://s.apache.org/HOq>http://bit.ly/bqpbCK
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory

Re: [compress] Planning for a 1.3 Release?

Posted by Stefan Bodewig <bo...@apache.org>.
On 2011-10-11, Gary Gregory wrote:

> On Tue, Oct 11, 2011 at 10:20 AM, Stefan Bodewig <bo...@apache.org> wrote:

>> Hi all,

>> its been quite some time since I finished the Zip64 stuff and I think we
>> are at the point we discussed three month ago or so: release Compress
>> 1.3 even if it doesn't have many big changes when compared to 1.2.  In
>> addition to Zip64 we have read-only support for Unix dump and also
>> Pack200 "compression".  Documentation is fairly complete IMHO.

>> One thing that we may or may not want to address are the integration
>> tests for Zip64 which are currently only run when the run-it profile is
>> enabled.  These tests need some zips generated by other tools that are
>> currently not part of svn and we discussed publishing them as separate
>> artifacts - personally I wouldn't even know where to start for this.

>> Then we do have some JIRAs with patches in particular one for XZ
>> compression and patches for compressors where a single container stream
>> contains multiple compressed streams (I didn't know gzip and bzip2 could
>> do that, I must admit), all by Lasse Collin.

>> The XZ patch has the "problem" that it introduces a new dependency - do
>> we want that or would we prefer a separate module?  In addition XZ for
>> Java is not available via any Maven repo, yet, this may require some
>> tweaking during build time (Ant <get> task?).  Shall we defer this until
>> after the 1.3 release?

> Yes, release early, release often.

> I am not in favor of code all over the place, it should all be in the
> project, whether or not or when it is run is a different story.

> If these are data/resource files, why not put them in a resource jar in MC?

Are you talking about the zips needed for the ZIP64 tests?  I should
have been clearer.  Those zips have been generated by myself using
InfoZIP, WinZip and so on and all have the same contents (albeit all are
slightly different).

By "put them in a resource jar in MC" you mean I'd assemble a single jar
file commons-compress-testresources-1.0.jar that contains all those zips
and publish it, right?

> If something is not in MC, you can always ask to have it put there. The
> issue is that you might have to edit the POM and rebuild the software if the
> POM does not adhere to Apache/MC standards.

In this case I'd have to write the POM myself anyway.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Re: [compress] Planning for a 1.3 Release?

Posted by Gary Gregory <ga...@gmail.com>.
On Tue, Oct 11, 2011 at 10:20 AM, Stefan Bodewig <bo...@apache.org> wrote:

> Hi all,
>
> its been quite some time since I finished the Zip64 stuff and I think we
> are at the point we discussed three month ago or so: release Compress
> 1.3 even if it doesn't have many big changes when compared to 1.2.  In
> addition to Zip64 we have read-only support for Unix dump and also
> Pack200 "compression".  Documentation is fairly complete IMHO.
>
> One thing that we may or may not want to address are the integration
> tests for Zip64 which are currently only run when the run-it profile is
> enabled.  These tests need some zips generated by other tools that are
> currently not part of svn and we discussed publishing them as separate
> artifacts - personally I wouldn't even know where to start for this.
>
> Then we do have some JIRAs with patches in particular one for XZ
> compression and patches for compressors where a single container stream
> contains multiple compressed streams (I didn't know gzip and bzip2 could
> do that, I must admit), all by Lasse Collin.
>
> The XZ patch has the "problem" that it introduces a new dependency - do
> we want that or would we prefer a separate module?  In addition XZ for
> Java is not available via any Maven repo, yet, this may require some
> tweaking during build time (Ant <get> task?).  Shall we defer this until
> after the 1.3 release?
>
>
Yes, release early, release often.

I am not in favor of code all over the place, it should all be in the
project, whether or not or when it is run is a different story.

If these are data/resource files, why not put them in a resource jar in MC?

If something is not in MC, you can always ask to have it put there. The
issue is that you might have to edit the POM and rebuild the software if the
POM does not adhere to Apache/MC standards.

Gary


> The other two patches should be addressed together with changing the API
> in 2.0, IMHO.
>
> Stefan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>
>


-- 
E-Mail: garydgregory@gmail.com | ggregory@apache.org
JUnit in Action, 2nd Ed: <http://goog_1249600977>http://bit.ly/ECvg0
Spring Batch in Action: <http://s.apache.org/HOq>http://bit.ly/bqpbCK
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory