3

We use MyCPAN::App::DPAN (Version 1.28) just like in Question: How can I manage Perl module dependencies?

This works quite well in general. But we ran into troubles with some specific packages: As expample DBD::Oracle does not have their main *.pm file in DBD-Oracle-1.27/lib/DBD/Oracle/Oracle.pm but in DBD-Oracle-1.27/Oracle.pm.

It seems that dpan does not find this *.pm file, since it is not listed in modules/02packages.details.txt.gz. Whereas DBD::Oracle::Object (other Perl-Module of this distribution, but located DBD-Oracle-1.27/lib/DBD/Oracle/) is listed there.

In dpan.conf we only have set the recommended values:

dpan_dir   /some/dir
indexer_id   Me 
pause_full_name   The Admin Team
pause_id   TAT
system_id   my system id

Other Packages with the same problem:

Packages that work:

Does someone have any tips/hints?

Community
  • 1
  • 1
Peter A
  • 2,501
  • 1
  • 13
  • 8
  • You could file a bug report on [RT](http://rt.cpan.org/Public/Dist/Display.html?Name=MyCPAN-App-DPAN). – Brad Gilbert Dec 16 '11 at 17:11
  • I'll look at these two distros and get back to you. The trick with the DPAN stuff is guessing all the weird stuff that distribution authors do. You might also try the stuff in github, which may have already fixed this. – brian d foy Dec 16 '11 at 17:50
  • @Brad Gilbert: Thanks for the RT-tip. I thought of this option too, but brian d foy's activity here at stackoverflow seems to be way higher. So I posted here at stackoverflow. But I must admit, it is not the top correct way. – Peter A Dec 17 '11 at 10:33
  • @brian d foy: Thanks for your great work! Having looked a few distribution packages, I can understand that scanning all of those is very difficult job. – Peter A Dec 17 '11 at 10:37
  • 1
    Well, my activity at RT is much higher, and if there's something there, I'll see the report when I come back to do more work. I won't remember that there's something on Stackoverflow. You should always use the issue tracking tool, even if in addition to a forum. – brian d foy Dec 17 '11 at 10:58

1 Answers1

1

DPAN works by indexing the distributions and storing the results in a file in the indexer_reports directory. As a workaround until I can investigate your problem, you can just edit the report it created for the problem distributions. As long as you haven't set fresh_start in your configuration, it will use the cached report which you have edited to add the missing module.

brian d foy
  • 129,424
  • 31
  • 207
  • 592
  • Thanks for the tip! I read about the option: `extra_reports` in the pod files. But I did not know what to write in those or where I could find them. I'll try it on mondays back at work! – Peter A Dec 17 '11 at 10:41
  • I managed to work around the indexing problem, using manually created extra reports. Thank you for the tip! – Peter A Dec 19 '11 at 15:49