On Tue, Sep 02, 2008 at 06:21:34PM -0700, Eric Wilhelm wrote:
> # from Jan Dubois
> >On Tue, 02 Sep 2008, David Cantrell wrote:
> >> $ tar tzvf perl-ldap-0.37.tar.gz
> >> ?rw-rw-rw- root/root 52 2008-08-28 12:52:15 pax_global_header
> >> unknown file type `g'
> >It is not actually a file, but an extended header record containing
> >a comment (a GIT commit id in this case). You need GNU tar 1.14 ...
> >Given that GIT is becoming more popular it would be good to teach
> >CPAN.pm to deal with these kind of tarballs even when they are
> >being processed by older tar versions.
> And then CPAN.pm will need to be upgraded ;-)
> >>This might also explain why the distribution doesn't appear on
> >>search.cpan.org.
> The tar on that machine (or PAUSE?) needs an upgrade?
If you think that getting people to upgrade CPAN.pm is hard, I dread to
think how people will react to being told to upgrade tar! Doubly so for
people who don't use GNU tar.
> Or, do thousands of people need to learn to do:
> man git-tar-tree:
> git tar-tree v1.4.0^{tree} git-1.4.0 | gzip >git-1.4.0.tar.gz
> Create a tarball for v1.4.0 release, but without a global
> extended pax header.
A better solution might be for EU::MM / Module::Build / Module::Install
or whatever people use for creating their tarballs to learn about git's
peculiarities. I believe that EU::MM at least already knows something
about CVS and SVN.
--
David Cantrell | top google result for "topless karaoke murders"
Godliness is next to Englishness