Skip Menu |

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

Report information
The Basics
Id: 76354
Status: resolved
Priority: 0/
Queue: Dist-Zilla-Plugin-Git

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

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



Subject: Wishlist: implement same exclude_* options as GatherDir
(per IRC) Please implement the same exclude_filename and exclude_match filters as GatherDir. A use case is keeping a generated README.pod in the repo. It gets injected by another plugin, so it needs to not be gathered. It can't be pruned because that happens too late after the conflict and we do want to ship the generated README.pod anyway. We need to strip it out of the list of the gathered files so it can be injected by the other plugin. Thank you! David
On Fri Apr 06 11:06:08 2012, DAGOLDEN wrote: Show quoted text
> (per IRC) > > Please implement the same exclude_filename and exclude_match filters as > GatherDir. > > A use case is keeping a generated README.pod in the repo. It gets > injected by another plugin, so it needs to not be gathered. It can't be > pruned because that happens too late after the conflict and we do want > to ship the generated README.pod anyway. We need to strip it out of the > list of the gathered files so it can be injected by the other plugin. > > Thank you! > > David
I just sent a pull request on github to implement just this sort of thing: https://github.com/jquelin/dist-zilla-plugin-git/pull/27