We just spotted another issue with META.yml autogeneration and inclusion in the distro. This problem will be encountered by any developers who bundle complete packages in their CPAN distros.

Apache-Test has a dual-life. On its own and inside modperl-2.0. We committed Apache-Test/MANIFEST to include META.yml. And it's cool. The problem is that when we release modperl-2.0, we now have a problem:

...
Configuring Apache/2.0.48 mod_perl/1.99_11 Perl/v5.8.2
Checking if your kit is complete...
Looks good
generating script t/TEST
Checking if your kit is complete...
Warning: the following files are missing in your kit:
        META.yml
Please inform the author.
Writing Makefile for Apache::Test

top-level 'make dist' didn't create META.yml in the sub-dir Apache-Test. And of course 'make dist' doesn't run recursively.

So the solutions I see:

1) commit Apache-Test/META.yml

-cons: we now have to maintain it

2) ask Michael to expose the API to create META.yml so we can run it directly from the top-level Makefile.PL. The suggested API would be:

create_meta($sub_dir);

no cons that I can think of, but a bit ugly ;)

3)

hmm, I said 2.

__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com



Reply via email to