This queue is for tickets about the Module-Build CPAN distribution.

Report information
The Basics
Id:
92863
Status:
open
Priority:
Low/Low
Queue:

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

BugTracker
Severity:
Wishlist
Broken in:
(no value)
Fixed in:
(no value)



Subject: M::B has install_share, now we need delete_share behavior so don’t end up w/ stale files in your share.
As of rt 92084 Makefile.PL can: use ExtUtils::MakeMaker; use File::ShareDir::Install; delete_share '.'; # delete it all first install_share 'share'; # install the current version second It could either implement its own or use File::ShareDir::Install.
Subject: Re: [rt.cpan.org #92863] M::B has install_share, now we need delete_share behavior so don’t end up w/ stale files in your share.
Date: Sun, 9 Feb 2014 23:07:02 +0100
To: bug-Module-Build@rt.cpan.org
From: Leon Timmermans <leont@cpan.org>
On Sun, Feb 9, 2014 at 6:44 PM, Daniel Muey via RT <bug-Module-Build@rt.cpan.org> wrote:
Show quoted text
As of rt 92084 Makefile.PL can:

   use ExtUtils::MakeMaker;
   use File::ShareDir::Install;

   delete_share '.'; # delete it all first
   install_share 'share'; # install the current version second

It could either implement its own or use  File::ShareDir::Install.

Reusing File::ShareDir::Install is not an option, most the complication in it is related to building it into MakeMaker, not the copying/deletion itself. That would be silly.

Reimplementing the same logic should be easy, but File::ShareDir::Install isn't doing this correctly itself right now. See my latest reply on #92084

Leon


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.