[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [PATCH] Produce POSIX.1 compliant tarballs.

From: Justin Erenkrantz <justin_at_erenkrantz.com>
Date: 2004-03-10 18:14:37 CET

--On Tuesday, March 9, 2004 9:10 PM -0800 Ben Reser <ben@reser.org> wrote:

> On Mon, Mar 08, 2004 at 04:47:22PM -0800, Ben Reser wrote:
>> * Stop using GNU tar for creating the tar archives and start using GNU
>> cpio. GNU cpio supports creating tar formats in the ustar format (i.e.
>> POSIX.1 format). This gives a maximum filename of 255 characters.
>> Which is more than twice as long as what we are using. Does not require
>> changes to anything other than dist.sh. The following command can
>> replace our usage of tar and produce a POSIX.1 compatable tar file:
>> find subversion-1.0.0 -print | cpio -H ustar -o > subversion-1.0.0.tar
>>
>> I recommend using GNU cpio. I've tested the output with Solaris and GNU
>> tar and it works perfectly. If everyone is okay with this I'll post a
>> patch to effect this change.
>
> As promised here is the patch. I've tested this. It produces tarballs
> that work on Solaris 7.

It'll look like it should work on Solaris 6 as well. So, yah, I'm +1 to this.
Can you please commit to the trunk?

We'll need to sanity test the produced tarballs once this goes in. Even
though what we have now produces corrupted source distros on Solaris (w/o GNU
tar), I'm sort of thinking this should go into 1.0.2 - not 1.0.1 coming out
this week. This would allow us enough time to test this widely; so being
conservative would be good. -- justin

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Mar 10 18:14:54 2004

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.