develooper Front page | perl.perl5.porters | Postings from April 2003

Re: rfc: skip_index in META.yml

Thread Previous | Thread Next
From:
Autrijus Tang
Date:
April 30, 2003 15:45
Subject:
Re: rfc: skip_index in META.yml
Message ID:
20030430211659.GA4199@not.autrijus.org
On Wed, Apr 30, 2003 at 03:28:58PM -0500, Ken Williams wrote:
> code.  Second, a module author like Stas can customize this listing, 
> making sure that anything he/she doesn't want to be listed isn't listed.

That's a very good idea.  However, each time a new file is added
to the package, it has to be regenerated and the excluded files
removed again by hand, as find_dist_packages takes no arguments.

> Does this listing eliminate the need for the 'skip_index' entry?  I'm 
> hoping so.

Hence, I still think that they are complementary; Module::Build->new
can take ('skip_index' => [ ... ]) and pass it to find_dist_packages
to denote things that should be skipped, as well as writing it to
META.yaml.  That gives us the best of both worlds.

> The only snag I can see is that search.cpan.org and PAUSE may have 
> different ideas about what kinds of things should be indexed.  PAUSE is 
> only really interested in stuff that provides modules, i.e. .pm files.  
> search.cpan.org is probably interested in more than that.

Indeed.

Thanks,
/Autrijus/

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About