Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Commits on Mar 21, 2015
  1. @bingos

    Merge pull request #9 from charsbar/name_with_trailing_whitespaces

    bingos authored
    changed some of the "A"s in the UNPACK constant to "a"
Commits on Dec 14, 2014
  1. @bingos
Commits on Nov 20, 2014
  1. @charsbar

    changed some of the "A"s in the UNPACK constant to "a"

    charsbar authored
    ... to allow trailing whitespaces in an archived filename
    
    As of 2.02, Archive::Tar doesn't correctly extract an archive like NEILB/BackPAN-Index-Create-0.12.tar.gz which contains "t/testpan/authors/id/P/PO/POGLE/Wood-Pogle-0.001.tar.gz" and "t/testpan/authors/id/P/PO/POGLE/Wood-Pogle-0.001.tar.gz " (with a trailing whitespace, which is ignored). Changing some of the "A"s in the UNPACK constant should fix this.
Commits on Sep 14, 2014
  1. @bingos

    Release engineering for 2.02

    bingos authored
  2. @bingos

    Make ptar* tests parallelisable

    bingos authored
Commits on Jun 15, 2014
  1. @bingos

    Release engineering for 2.00

    bingos authored
  2. @bingos

    Merge pull request #8 from perlpunk/master

    bingos authored
    make shell command work on windows also (issue #7)
  3. @perlpunk
Commits on Jun 14, 2014
  1. @bingos
  2. @bingos

    Release engineering for 1.98

    bingos authored
  3. @bingos

    Merge pull request #6 from perlpunk/master

    bingos authored
    ptardiff should use $file->prefix if defined
  4. @perlpunk
  5. @perlpunk
Commits on May 9, 2014
  1. @bingos

    Merge pull request #5 from charsbar/allow_filter_cb_to_handle_extende…

    bingos authored
    …d_headers
    
    Allow (undocumented?) filter_cb to handle entries with PAX_HEADER or other extended headers for finer control
Commits on Apr 18, 2014
  1. @charsbar

    ditto

    charsbar authored
  2. @charsbar

    Allow (undocumented?) filter_cb to handle entries with PAX_HEADER or …

    charsbar authored
    …other extended headers for finer control
Commits on Oct 24, 2013
  1. @bingos
  2. @bingos
  3. @bingos
  4. @bingos

    Install to site if >= 5.012

    bingos authored
Commits on Oct 22, 2013
  1. @bingos
  2. @bingos
  3. @xlat @bingos

    [rt.cpan.org #78030] symlinks resolution

    xlat authored bingos committed
        fixed typo in _extract_special_file_as_plain_file : clone $entry rather
        than $orig
        add _symlink_resolver helper
    
        note: works now with "in memory" but ptar command won't
    
        typo + iter workarround + tests
    
        bad practice : there where no tests for the issue
        fixe typo
        hack on a workarroud for iter( ) way : very slow but working
    
        add RESOLVE_LINK tunning
    
        So we could choose between speed, memory or none (previous behaviour :
        failed).
    
        make tests works on os X
    
        cleanup extracted files between tests, so real symlinks could works on
        os x (was failed with iter because link already exists)
        test for extracted link file size which was to 0 with $entry/$orig for
        clone()
    
        typo
    
        argh!
    
    Signed-off-by: Chris 'BinGOs' Williams <chris@bingosnet.co.uk>
Commits on Jun 18, 2013
  1. @bingos
  2. @bingos
  3. @bingos

    Correct name of Archive::Tar::Constant module, and note "type" is ava…

    Tom Jones authored bingos committed
    …ilable in list_archive
    
    Chris,
    
    Please find inline a patch for a couple of small documentation fixes
    for Archive::Tar.  Let me know if you'd like the suggested change to
    be submitted in a different way.
    
      cheers, Tom Jones.
    
    Signed-off-by: Chris 'BinGOs' Williams <chris@bingosnet.co.uk>
Commits on May 23, 2013
  1. @bingos

    Merge pull request #3 from dsteinbrunner/patch-1

    bingos authored
    typo fixes
  2. @dsteinbrunner

    typo fixes

    dsteinbrunner authored
  3. @dsteinbrunner

    typo fixes

    dsteinbrunner authored
Commits on Jun 1, 2012
  1. @bingos
  2. @bingos

    BUG in Archive-Tar: chown won't work on symlinks; patch included

    Markus Prosch authored bingos committed
    I had trouble using Archive::Tar (version 1.36) on Linux (Ubuntu 8.04);
    however, the issue is not related to this specific version of
    Archive::Tar nor the Linux distribution.
    
    If I untar a directory (created by Archive::Tar) that has a symlink
    pointing to a file within the same directory, then sometime the links
    seems to be extracted *before* the file it points to. Therefore chown()
    fails with:
    
    Could not set uid/gid on '/usr/home/gateway/CURRENT'
    
    Looking at the code, neither utime() nor chmod() are called for symlink,
    but chown() is called also for links even though it should be handled
    similar to chmod().
    Or is there any reason to react differently for chmod() and chown()?
    
    A patch for 1.86 would be:
    
    --- Archive-Tar-1.86/lib/Archive/Tar.pm 2012-05-24 13:34:49.000000000 +0200
    +++ Archive-Tar-1.86/lib/Archive/Tar_new.pm     2012-06-01
    11:43:22.348225000 +0200
    @@ -874,7 +874,7 @@
                  $self->_error( qq[Could not update timestamp] );
          }
    
    -    if( $CHOWN && CAN_CHOWN->() ) {
    +    if( $CHOWN && CAN_CHOWN->() and not -l $full ) {
              chown $entry->uid, $entry->gid, $full or
                  $self->_error( qq[Could not set uid/gid on '$full'] );
          }
    
    (It would of course be possible to build a big "if (not -l $full) {"
    around utime(), chown() and chmod())
    
    Besides this issue, Archive::Tar works great! Thanks for your work!
    
    Signed-off-by: Chris 'BinGOs' Williams <chris@bingosnet.co.uk>
Commits on May 24, 2012
  1. @bingos
  2. @bingos

    Merge pull request #2 from mrallen1/master

    bingos authored
    Don't use tell on IO::Zlib handles
Commits on May 14, 2012
  1. @mallen-al
Commits on Mar 2, 2012
  1. @bingos
Something went wrong with that request. Please try again.