Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Perl CPAN modules #123

Open
StephenBrown2 opened this issue Mar 27, 2012 · 3 comments
Open

Perl CPAN modules #123

StephenBrown2 opened this issue Mar 27, 2012 · 3 comments

Comments

@StephenBrown2
Copy link

It would be good to gather up Perl modules installed through CPAN (and thus not in the package list) in the creation of a blueprint.

It would be even better if those modules were then converted to the appropriate packages in the repositories, but that is probably out of scope and not what it's supposed to do.

@tzz
Copy link
Contributor

tzz commented May 15, 2013

It may be cleaner to use the autobundle functionality and just install from a tarball. But either way I'd like this too.

@rcrowley
Copy link
Member

I would accept a patch to add CPAN support but don't have time to add it myself.

@Hammit
Copy link

Hammit commented Nov 29, 2013

This would be harder than you first think I'm guessing...
CPAN doesn't have a single client. There are a number of ways to install CPAN modules.
cpan, cpanplus, cpanminus, etc
Build dirs could be anywhere (~/.cpan, ~/.cpanplus, user specified, etc)

It might be easier to parse any perl source looking for use and require statements but even that is no guarantee.
i.e. eval()

Perl support would be a good addition, but beware :)

Converting CPAN modules to their package repo version would be a no-go, and this would be true for most languages I think...

  1. Package repositories usually contain older module versions to what would typically be installed through the client.
  2. Package repos typically introduce patches (for the specific distro) not found in the CPAN version.

There's almost no chance of changing the install method from CPAN to package repo without introducing a change to the installed code :|

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants