Skip Menu |

This queue is for tickets about the CPANPLUS-Dist-Deb CPAN distribution.

Report information
The Basics
Id: 47388
Status: new
Priority: 0/
Queue: CPANPLUS-Dist-Deb

Owner: Nobody in particular
Requestors: tyler [...]

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

Subject: Some hackery for you...
Date: Tue, 16 Jun 2009 19:22:40 -0700
To: kane [...]
From: Tyler MacDonald <jos [...]>
Download (untitled) / with headers
text/plain 1.3k
Jos, I just wanted to share some of the hackery I had to go through to come up with the debian repo I wanted for my virtual machine deployment plan. The following script basically stabs at the internals of CPANPLUS and CPLANPLUS::Dist::Deb so that some packages will install, and won't try to bring in dependancies that are part of the perl core. A few were due to quirks in the packages (eg; Crypt::IDEA's file), but the vast majority was wrestling CPANPLUS into a position where it would Do The Right Thing. I think the biggest problem I had was that a lot of the method in the CPANPLUS::Dist::Deb distro try to do too much at once. If this module had been broken into smaller pieces, I probably could have subclassed it with my own "quirks" class. I feel really dirty about using "local *foo" to override internals, but short of actually rewriting CDD, I couldn't come up with a better way. It is my hope that reading through this code will give you some ideas on how to make this process easier. If I had a bit more time I would have worked on itself and submitted some patches, but we really need a deployment soon (like this week) so I was rushed to complete this component. Despite the bumpy ride, I couldn't have gotten this accomplished without the help of CPANPLUS/CPANPLUS::Dist::Deb. Thank you for your continued work and support on this project. :-) Cheers, Tyler
text/x-perl 3.4k

Message body is not shown because sender requested not to inline it.

Download cpan-packages.conf
text/plain 897b

Message body is not shown because sender requested not to inline it.

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to