Skip Menu |

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

Report information
The Basics
Id: 20599
Status: resolved
Priority: 0/
Queue: PAR-Dist-FromCPAN

People
Owner: smueller [...] cpan.org
Requestors: MARKSTOS [...] cpan.org
Cc:
AdminCc:

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



Subject: wish: single result for recursive dependencies
Hello, I would like for cpan2par to be able to produce a single, combined par file when --follow is used. This would mean discarding duplicate files in each distribution, such as MANIFEST and META.yml. I would also like the option to exclude the "man" directory, which isn't always needed. Thanks for contributing this module. I think I'll find it valuable! Mark
Hi Mark, On Do. 20. Jul. 2006, 22:01:28, MARKSTOS wrote: Show quoted text
> I would like for cpan2par to be able to produce a single, combined par > file when --follow is used. This would mean discarding duplicate files > in each distribution, such as MANIFEST and META.yml. > > I would also like the option to exclude the "man" directory, which isn't > always needed. > > Thanks for contributing this module. I think I'll find it valuable!
If you install PAR::Dist::FromCPAN 0.03 which is on its way to CPAN and the new PAR::Dist 0.12 (which implements most changes), you'll find a couple of new command line switches: --merge (merges all deps into one .par) --no-docs (strips docs) --skip REGEX (skips all modules matching REGEX) Of course, you can also use PAR::Dist 0.12 directly to do this: perl -MPAR::Dist -e 'merge_par("my_dist1.par", "my_dist2.par", ...); remove_man("my_dist1.par")' Thanks for the good idea. If you find the module useful, let me know how it helped you if you like. (If not, I'd like to hear why, too, of course.) Steffen