[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dh-make-perl revamped (not really)



On Fri, 2008-12-12 at 10:15 -0600, Gunnar Wolf wrote:
> Guy Hulbert dijo [Fri, Dec 12, 2008 at 10:53:25AM -0500]:
> > On Fri, 2008-12-12 at 10:37 -0500, Guy Hulbert wrote:
> > > SOMETHING = DebBuilder ?
> > 
> > sorry 'DebBuilder' is so wrong ...
> > 
> > I like Debian::Perl::Packager more than Debian::DhMakePerl

[snip]
 I
> agree with your concern about integrating with CPAN's naming in a
> better way - Maybe this should belong somewhere in Module:: or so? Our
> Debian-specific modules could be Module::Create::Debian, of
[snip]

My concern is that the naming on CPAN is confusing and disorganized.
You can't fix that but you clearly own 'Debian' so that should come
first.

If in the future, if the module becomes cross-platform, you'll need to
deal with CPAN (but "CPAN6" is coming ... perhaps that will be better
organized).  You can refactor Debian::Perl::Packager to use
Module::WHATEVER as you go.  Actually, there is already a Module::
namespace and much of it is in the perl 5.10 core so the naming is
better.  

The Module::Create is somewhat ambiguous.  Module::Packager or
Module::Os::Debian::Packager might be better.  Depends what other
distros are doing ... I think I've seen RPM:: something or other ... let
me grope the cpan list

        $ pcp
        Header(lines 8): Last-Updated - Wed, 12 Nov 2008 13:26:53 GMT
        Nothing to find

Thats a bit old, cpan reload index and:

        $ pcp RPM
        Header(lines 8): Last-Updated - Fri, 12 Dec 2008 13:26:52 GMT
        Found 47 matches
        View[N/y]? [n]: y

My 'pcp' (perl check cpan) script dumps output into ENV{PAGER}
where I see things like:
        
	LCFG::Build::Tool::RPM
	Youri::Package::RPM

The first name-space element seems to be a vendor so either:

	Debian::Build::Tool::Deb
	Debian::Package::Deb

look like consistent choices.

I can post 'pcp' if anyone wants to play with it.

-- 
--gh



Reply to: