Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Dist-Zilla CPAN distribution.

Report information
The Basics
Id: 72517
Status: rejected
Priority: 0/
Queue: Dist-Zilla

People
Owner: Nobody in particular
Requestors: jquelin [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Archive::Tar::Wrapper change dist::zilla::build::dist::builder behaviour
(issue revealed in dzp-git, check https://github.com/jquelin/dist-zilla-plugin-git/issues/18 and https://github.com/jquelin/dist-zilla-plugin-git/pull/20#issuecomment-2784467) archive::tar::wrapper doesn't leave cwd at the same place than archive::tar. It looks like archive::tar::wrapper gets optionally pulled in (if present) by Dist::Zilla::Dist::Builder. The relevant method is build_archive: sub build_archive { ... my $method = Class::Load::load_optional_class('Archive::Tar::Wrapper') ? '_build_archive_with_wrapper' : '_build_archive'; my $archive = $self->$method($built_in, $basename, $basedir); ... } So the bug appears to be with Archive::Tar::Wrapper, which does not behave the same way with regard to the cwd as Archive::Tar.
Tracked down the error in Archive::Tar::Wrapper, confirmed with test script, and made pull req: https://github.com/mschilli/archive-tar-wrapper-perl/pull/1 seems like an oversight.
Thanks, we will now only use the bugfixed version. -- rjbs