metacpan-web icon indicating copy to clipboard operation
metacpan-web copied to clipboard

The 'perl' dist documentation is a mess

Open tobyink opened this issue 6 years ago • 7 comments

https://metacpan.org/release/perl

Out of all the releases on CPAN, this one seems like it could do with some special-casing to make the documentation list a little tidier.

Just adding a custom sort to the documentation list would be a big help. Documentation where the title matches /perl/ but not /perl(\d+)delta/ should be shown first, then documentation which matches /perl(\d+)delta/, then everything else. The delta documentation could also be sorted by version number.

tobyink avatar Jun 19 '18 11:06 tobyink

Could use Sort::ByExample for this special case.

oalders avatar Jun 27 '18 18:06 oalders

https://gist.github.com/tobyink/2c41aa3a8b9b943996f80c58a2ffce06

tobyink avatar Jun 28 '18 12:06 tobyink

@haarg thoughts on this?

oalders avatar Nov 09 '18 22:11 oalders

I brought this same complaint to IRC this week, without doing the courteous thing and first looking for a GitHub issue.

Toby is right: it's a real mess. Going to the canonical "show me the latest perl" page starts off with sort of a pile of random crap, like templates.

I would be happy to make changes to subsequent releases of perl to help MetaCPAN present something better, but in the interim, I would really like to see this improved. What can I do, other than posting this comment?

rjbs avatar Apr 18 '21 21:04 rjbs

Should this have the label group:Perl ?

rjbs avatar Apr 18 '21 21:04 rjbs

Related: #849 #1152 #1734 #1468 perl/perl5#13415

While the issue is more extreme in the case of perl, it's a general problem with how we index things. If we were honoring no_index, that would fix a lot of this, at least in newer perls. There are also a few pod pages that are generated at build time, which could be built at perl release time.

Do we want to try to add a meta field to provide some control over what metacpan shows on the release page?

haarg avatar Apr 18 '21 22:04 haarg

(I just commented on #1468 with a suggestion.)

rjbs avatar Apr 18 '21 23:04 rjbs