Skip to content

The 'perl' dist documentation is a mess #2081

@tobyink

Description

@tobyink
Contributor

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.

Activity

oalders

oalders commented on Jun 27, 2018

@oalders
Member

Could use Sort::ByExample for this special case.

oalders

oalders commented on Nov 9, 2018

@oalders
Member

@haarg thoughts on this?

rjbs

rjbs commented on Apr 18, 2021

@rjbs
Contributor

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

rjbs commented on Apr 18, 2021

@rjbs
Contributor

Should this have the label group:Perl ?

haarg

haarg commented on Apr 18, 2021

@haarg
Member

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?

rjbs

rjbs commented on Apr 18, 2021

@rjbs
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @rjbs@haarg@oalders@tobyink

        Issue actions

          The 'perl' dist documentation is a mess · Issue #2081 · metacpan/metacpan-web