Open jkeenan opened 2 years ago
distnames are not a "real" thing in PAUSE or dependency trees, so I would recommend doing lookups by module name instead if this is possible. (that said, I don't have an answer to the question)
@Grinnz you are right, but we do have an endpoint for dist level reverse dependencies in the dist page - so we do have logic show all dist's modules' deps.
These queries above are translated to the following behavior -
https://metacpan.org/dist/Attribute-Handlers/requires shows no results while https://metacpan.org/module/Attribute::Handlers/requires does
https://metacpan.org/dist/Type-Tiny/requires shows results as does https://metacpan.org/module/Type::Tiny/requires
So something could be a bit off. I'll have to dig into it a bit later.
Attribute-Handlers is marked as not authorized, so it does not return results from reverse_dependencies. It's marked as not authorized because it contains three indexable modules that RJBS does not have permissions for: Demo, Descriptions, and MyClass. These modules should be marked as not indexed in the dist metadata but they are not.
The following API call to fastapi.metacpan.org succeeds:
As does this one:
But this call fails:
This is unexpected. Attribute-Handlers, just like Term-ReadLine, is a dual-life CPAN release of a distribution maintained by Perl 5 Porters in the
dist/
directory of the core distribution. So I would expect the call to succeed. Furthermore, reverse dependencies for Attribute::Handlers show up in the GUI at https://metacpan.org/module/Attribute::Handlers/requires?size=200.Can you explain this anomaly?