I reply to the subject report, which I attach to this email.

Nearly all modules of my distro SudokuTrainer are specific to the distro and hence of no use for other CPAN authors. So I wanted to avoid getting them indexed, for the sole purpose of not further flood CPAN with useless modules. On the module-authors maillist I was first advised to do so by splitting the package directives to 2 lines. I thought this as a hack, but it worked fine.

Later I got attentive to the meta_merge section of CPAN::Meta::Spec. So I changed several package directives back to single line form, and added a parameter "meta_merge => { no_index => { file => [ 'Games/Sudoku/Trainer/Check_pause.pm', ... ],},}," to my Build.PL. The result was that only those modules who's package directive was still split on 2 lines were not indexed. In other words, the no_index had no effect.

For my latest upload (version 0.01.4) I changed the meta_merge parameter to

>     meta_merge          => {
>         no_index => {
>           file      => [
>               'Games/Sudoku/Trainer/Cell.pm',
> #              'Games/Sudoku/Trainer/Check_pause.pm',
> #              'Games/Sudoku/Trainer/Const_structs.pm',
> #              'Games/Sudoku/Trainer/Found_info.pm',
> #              'Games/Sudoku/Trainer/GUI.pm',
> #              'Games/Sudoku/Trainer/GUIdetails.pm',
>               'Games/Sudoku/Trainer/Priorities.pm',
> #              'Games/Sudoku/Trainer/Strategies.pm',
>           ],
>           package   => [
>               'Games::Sudoku::Trainer::Check_pause',
>               'Games::Sudoku::Trainer::Const_structs',
>               'Games::Sudoku::Trainer::Found_info',
>               'Games::Sudoku::Trainer::GUI',
>               'Games::Sudoku::Trainer::GUIdetails',
>               'Games::Sudoku::Trainer::Strategies',
>],
>         },
>     },

As your indexer report shows, the no_index again had no effect. Apparently I do something wrong with the use of the meta_merge parameter. I really hope that you may help me to correct my mistake.

Thank you very much for your patience.

Klaus

--- Begin Message ---
The following report has been written by the PAUSE namespace indexer.
Please contact modules@perl.org if there are any open questions.

  User: WITTROCK (Klaus Wittrock)
  Distribution file: SudokuTrainer-0.01.4.tar.gz
  Number of files: 45
  *.pm files: 19
  README: SudokuTrainer-0.01.4/README
  META-File: SudokuTrainer-0.01.4/META.json
  META-Parser: Parse::CPAN::Meta 1.4404
  META-driven index: yes
  Timestamp of file: Fri Jun 20 14:26:37 2014 UTC
  Time of this run: Fri Jun 20 14:28:14 2014 UTC

Status of this distro: Decreasing version number
================================================

The following packages (grouped by status) have been found in the distro:

Status: Decreasing version number
=================================

     module : Games::Sudoku::Trainer::Clues
     version: undef
     in file: lib/Games/Sudoku/Trainer/GUIdetails.pm
     status : Not indexed because lib/Games/Sudoku/Trainer/GUIdetails.pm
             in W/WI/WITTROCK/SudokuTrainer-0.01.3.tar.gz has a higher
             version number (0)

Status: Successfully indexed
============================

     module : Games::Sudoku::Trainer::Cell
     version: v0.2.0
     in file: lib/Games/Sudoku/Trainer/Cell.pm
     status : indexed

     module : Games::Sudoku::Trainer::Check_pause
     version: v0.2.0
     in file: lib/Games/Sudoku/Trainer/Check_pause.pm
     status : indexed

     module : Games::Sudoku::Trainer::Const_structs
     version: v0.2.0
     in file: lib/Games/Sudoku/Trainer/Const_structs.pm
     status : indexed

     module : Games::Sudoku::Trainer::Found_info
     version: v0.3.0
     in file: lib/Games/Sudoku/Trainer/Found_info.pm
     status : indexed

     module : Games::Sudoku::Trainer::GUI
     version: v0.2.0
     in file: lib/Games/Sudoku/Trainer/GUI.pm
     status : indexed

     module : Games::Sudoku::Trainer::GUIdetails
     version: v0.3.0
     in file: lib/Games/Sudoku/Trainer/GUIdetails.pm
     status : indexed

     module : Games::Sudoku::Trainer::General_info
     version: v0.1.0
     in file: lib/Games/Sudoku/Trainer/General_info.pm
     status : indexed

     module : Games::Sudoku::Trainer::Nextvalue
     version: v0.2.0
     in file: lib/Games/Sudoku/Trainer/Nextvalue.pm
     status : indexed

     module : Games::Sudoku::Trainer::Obstacle
     version: v0.3.0
     in file: lib/Games/Sudoku/Trainer/Obstacle.pm
     status : indexed

     module : Games::Sudoku::Trainer::Priorities
     version: v0.2.0
     in file: lib/Games/Sudoku/Trainer/Priorities.pm
     status : indexed

     module : Games::Sudoku::Trainer::Run
     version: v0.4.0
     in file: lib/Games/Sudoku/Trainer/Run.pm
     status : indexed

     module : Games::Sudoku::Trainer::Strategies
     version: v0.4.0
     in file: lib/Games/Sudoku/Trainer/Strategies.pm
     status : indexed

     module : Games::Sudoku::Trainer::Training
     version: v0.2.0
     in file: lib/Games/Sudoku/Trainer/Training.pm
     status : indexed

__END__



--- End Message ---

Reply via email to