New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not every package in the index (for the perl distribution) is in Module::CoreList #14700
Comments
From @karenetheridgeThis describes a problem discovered by Tatsuhiko Miyagawa and described on #toolchain, #p5p yesterday. There are some modules that are indexed to the perl distribution in 02packages.details.txt that have no entry in Module::CoreList. This confuses some tools that try to figure out what distribution to fetch a module from. The original package that was noticed is Tie::StdHash (which isn't even require()able on its own, as it exists inside Tie/Hash.pm, but that's another problem); this is the full list. Some look like things that shouldn't be indexed; the others should be added to Module::CoreList.
|
From @karenetheridgeSince this script was run on OSX, some modules don't exist there that actually B::OBJECT |
From @karenetheridgeThat list was limited to just modules that were not require()able on their own. Here's the full list: grep '/perl-5' ~/.cpanm/02packages.details.txt | perl -MModule::CoreList -nlae'print $F[0] if not Module::CoreList::is_core($F[0])' |
From @jkeenanOn Tue May 12 13:50:08 2015, ether wrote:
ether: 1. I'm having trouble wrapping my head around the actual problem here. Can you give a fuller description of the "confusion" you mentioned? Also, can you describe the relative severity of the problem? 2. To the extent that I understand the problem, it seems like one that will require cross-jurisdictional activity to resolve. Part of the problem seems to be that www.cpan.org -- something not per se within the jurisdiction of perl5porters -- is indexing things it shouldn't. Another part of the problem seems to be that Module::CoreList -- which is maintained by perl5porters -- lacks entries for certain modules which really should be there (as distinct from modules which are just in core because they are data for testing purposes). And there may be other parts of the problem besides those two. Is that the situation we're in? Can you recommend a way forward? Thank you very much. -- |
The RT System itself - Status changed from 'new' to 'open' |
From @neilb[apologies if I’ve missed anything in this thread. on holiday, with rubbish wifi/internet, sitting in the dark outside reception]
The (one?) problem is “cuckoo packages” - internal packages defined inside modules (where a “module” is a package found inside a file of the expected name). Where these happen in Core module, the cuckoo packages aren’t listed in Module::CoreList. I raised this a year or so ago, and discussed it on #p5p. RJBS and possibly others agreed it would be ok/good for Module::CoreList to include cuckoo packages. There’s obviously the possibility for confusion, so maybe M::CL should have additional info identifying cuckoo packages. Neil [feeling guilty that he didn’t do a patch for that] |
Migrated from rt.perl.org#125166 (status was 'open')
Searchable as RT125166$
The text was updated successfully, but these errors were encountered: