Skip to content
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

Topic/metacpan.org #36

Closed
wants to merge 2 commits into from
Closed

Topic/metacpan.org #36

wants to merge 2 commits into from

Conversation

karenetheridge
Copy link
Member

All L<> markup now uses metacpan.org instead of search.cpan.org, as per this misfiled ticket: https://rt.perl.org/rt3/Public/Bug/Display.html?id=114420

I haven't talked to the metacpan folks about this yet though, so strictly speaking the acknowledgements section regarding use of the site is still a lie. That's to come. :)

@theory
Copy link
Contributor

theory commented Aug 14, 2012

I don't yet feel like there is significant community consensus around an "official" CPAN web site. Metacpan may well be it, given that it is open-source, but search.cpan.org has a long history of stability and service to the community, so I am loathe to just go and change the default value.

What might be better is to make any changes necessary to simplify the use of custom URLs. Maybe attributes could be added with a sprintf pattern for where module and distribution names should go? This would allow users of the API to change the URLs without having to do hinky things in subclasses? Ideally, there would also be ways to set these things via command-line options or environment variables or something.

That's not to say that we shouldn't change the default at some point, but I don't think the time is quite ripe yet. FYI: pod-people discussion.

@theory theory closed this Aug 14, 2012
@karenetheridge
Copy link
Member Author

Well, it's here if you want it.

@dolmen
Copy link
Contributor

dolmen commented Feb 28, 2013

👍 for linking to MetaCPAN!

@tobyink
Copy link

tobyink commented Mar 1, 2013

I'm also in favour of switching to metacpan.org.

That said, it's comparatively easy to do it in a subclass...

{
    package Pod::Simple::HTML::MetaCPAN;
    use parent "Pod::Simple::HTML";     
    sub new {
        my $class = shift;
        my $self  = $class->SUPER::new(@_);
        $self->perldoc_url_prefix("https://metacpan.org/module/");
        return $self;
    }
}

Perhaps if that were demonstrated in the documentation, people might be less bothered by the default URL prefix.

@theory
Copy link
Contributor

theory commented Mar 1, 2013

On Mar 1, 2013, at 5:02 AM, Toby Inkster notifications@github.com wrote:

Perhaps if that were demonstrated in the documentation, people might be less bothered by the default URL prefix.

I would welcome a patch that turns the the search.cpan.org URL into a sprintf format. Same for all other URLs (e.g., he.net).

Best,

David

@karenetheridge
Copy link
Member Author

The times, they are a changing... debian is now using metacpan.org for their links -- http://lists.debian.org/debian-perl/2012/11/msg00024.html

@mohawk2
Copy link

mohawk2 commented Dec 27, 2014

@dagolden
Copy link

Since this has come up again, here's my view of what I'd like to see changed on metacpan before any switch:

  • metacpan administered by Perl NOC
  • metacpan making all distributions searchable, not just indexed ones

@theory
Copy link
Contributor

theory commented Dec 29, 2014

Again, if someone wants to turn the search URL into a printf-formattable attribute, I will merge that, but not a change of the existing default unless there is general agreement from the community. That discussion should take place on pod-people and/or perl 5 porters.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants