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

Replace CPAN ratings site with redirects to metacpan #369

Merged
merged 3 commits into from
Feb 3, 2022
Merged

Conversation

abh
Copy link
Contributor

@abh abh commented Feb 3, 2022

No description provided.

@abh abh requested a review from rspier February 3, 2022 03:45
@abh
Copy link
Contributor Author

abh commented Feb 3, 2022

@rspier I restarted the containers in kube and because the git:// change the old one doesn't sync anymore (oops), so it's running off this branch now. When merged I'll switch the site back to run off main.

}
else {
$data = [];
my $url = "http://search.cpan.org/search?query=$query&mode=$mode&format=xml";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this API actually still work?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought it did because the site worked, but it's failing in a way that I will just leave it out instead.

}

sub _search {
my ($self, $mode, $query) = @_;
my ($self, $mode, $query) = @_;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like this introduced some unnecessary whitespace changes.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah, it was whatever my editor did. I tried doing perl tidy on the files but that just made different changes... 🤷

@abh abh merged commit e9d9a9c into main Feb 3, 2022
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.

None yet

2 participants