Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

brother (3287)

brother
  (email not shown publicly)
http://peter.makholm.net/
Jabber: pmakholm@jabbernet.dk
+ -

  Comment: Re:Thanks (Score 1) on 2010.07.20 7:25

by brother on 2010.07.20 7:25 (#72189)
Attached to: How we deploy massive Perl applications at work
<p>I have just given up handling dependencies with one debian package per cpan distribution. For some time I have thought about how to build a bundle in the most maintainable way.

<p>My current solution is to build a quite clean chroot of Debian Lenny and then use cpanm to install some modules in /usr/local and as the last step I'm making a package with everything in /usr/local. The chroot is build with:

# debootstrap --arch amd64 --variant=buildd --include=cdbs,libwww-perl lenny /mnt http://ftp.se.debian.org/debian/

And then I have a simple Makefile installing everything needed:

#!/usr/bin/make

build:
                PERL_MM_USE_DEFAULT=1 perl -MCPAN -e 'CPAN::Shell->install("App::cpanminus")'
                cpanm Moose AnyEvent JSON:XS Yadda:Yadda:Yadda

install:
                install -d $(DESTDIR)/usr/local
                cp -a /usr/local/* $(DESTDIR)/usr/local

For the cpan-to-deb buildfarm, have you looked at Jos Boumans' work with http://debian.pkgs.cpan.org/ (No, I don't considder CPANPLUS::Dist::Deb as good as the packages generated by dh_make-perl and the Debian Perl Group - but it might be a good place to start)
Read More 4 comments
Comments: 4
+ -

  Comment: Filtering out core modules? (Score 1) on 2009.02.17 2:22

by brother on 2009.02.17 2:22 (#67431)
Attached to: Top 100 site adds the "Debian Most Wanted" list
Nice list, if we can manage to filter out the false hits. Filtering out modules shipped with perl would be a first step. I hove no idea if these modules should really have the 'distributed_by_debiabn'-kwalitee set.
Read More 4 comments
Comments: 4