This queue is for tickets about the CPAN CPAN distribution.

Report information
The Basics
Id:
76372
Status:
new
Priority:
Low/Low
Queue:

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

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



Subject: Wishlist: removing files using distroprefs patches
It seems to me that it is not possible to remove files using the distroprefs patches feature. What I tried: I created a patch file with the help of git (git format-patch). This patch contained a removed file (removed using git rm). While applying the patch file within a distropref, the file which was meant to be removed was just shrinked to zero bytes, but it was still there. patch has the option -E to remove files which have zero bytes after patching. Maybe this option should be used if CPAN.pm detects that the new file is named /dev/null (e.g. the patch header looks like this: --- a/inc/YAML.pm +++ /dev/null ) Regards, Slaven


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.