On Fri, 2012-05-11 at 09:25 +1200, Grant McLean wrote:
> On Thu, 2012-05-10 at 09:01 -0700, Logan Bell wrote:
> > The Apache Lucy team is pleased to announce the release of version 0.3.1!
> 
> Thanks to all the project team for your ongoing efforts.
> 
> One small thing for a future release ...
> 
> The metadata for the CPAN package does not list details of a bugtracker.
> The result is that the "Bugs" link on the CPAN search sites link to the
> default RT bug queue:
> 
>   https://metacpan.org/release/Lucy
>   http://search.cpan.org/dist/Lucy/
> 
> It looks like there are even a couple of issues logged there.  Whereas I
> assume issues should really be tracked at:
> 
>   https://issues.apache.org/jira/browse/LUCY
> 
> I *think* the attached pacth is all that's required to fix this.

It turns out that my patch was not achieving the desired aim because the
'meta_add' values from Build.PL were being overwritten by the no_index
code in Build::Lucy.  The attached patch should fix that.

Regards
Grant


Index: perl/buildlib/Lucy/Build.pm
===================================================================
--- perl/buildlib/Lucy/Build.pm	(revision 1360412)
+++ perl/buildlib/Lucy/Build.pm	(working copy)
@@ -438,7 +438,9 @@
 
     $self->dispatch('manifest');
     my $no_index = $self->_gen_pause_exclusion_list;
-    $self->meta_add( { no_index => $no_index } );
+    my $meta_add = $self->meta_add || {};
+    $meta_add->{no_index} = $no_index;
+    $self->meta_add( $meta_add );
     $self->SUPER::ACTION_dist;
 
     # Clean up.

Reply via email to