-
Notifications
You must be signed in to change notification settings - Fork 95
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
Conversation
@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. |
lib/CPANRatings/Model/SearchCPAN.pm
Outdated
} | ||
else { | ||
$data = []; | ||
my $url = "http://search.cpan.org/search?query=$query&mode=$mode&format=xml"; |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
lib/CPANRatings/Model/SearchCPAN.pm
Outdated
} | ||
|
||
sub _search { | ||
my ($self, $mode, $query) = @_; | ||
my ($self, $mode, $query) = @_; |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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... 🤷
…g, so don't bother
No description provided.