Skip Menu |

This queue is for tickets about the CPAN CPAN distribution.

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

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

Bug Information
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