Skip to content

Update to use new metacpan search syntax - #2144

Merged
jordansissel merged 2 commits into
mainfrom
issue/2143
Mar 16, 2026
Merged

Update to use new metacpan search syntax#2144
jordansissel merged 2 commits into
mainfrom
issue/2143

Conversation

@jordansissel

Copy link
Copy Markdown
Owner

Context: A few months ago, metacpan's API had some slight changes due to an upgrade to their Elasticsearch cluster.

Fixes #2143

Context: A few months ago, metacpan's API had some slight changes due to
an upgrade to their Elasticsearch cluster.

Fixes #2143
@jordansissel

Copy link
Copy Markdown
Owner Author

Thanks to @NicholasBHubbard's work on #2122, it's very nice seeing the test suite do something useful! :)


Some local testing still fails for me (things not covered by the test suite). I'll fix those and add tests before merging.

The line was calling search(dep_name) and not using the result; the side
effect is for things like Regexp::Common, a dependency is Config, and
'search("Config")' was causing a 404 because search() queries the module
search api, and Config doesn't appear to be a module on cpan or is a
distribution? It's been a while since I've used perl and these brain
cells do not recall this ;P

Tests: Add test case for packaging Regexp::Common

This module lists dependencies on things which seem to come with perl,
so it's a good test case for something not currently exercised by the
suite.
@jordansissel
jordansissel merged commit 057b732 into main Mar 16, 2026
4 checks passed
@wbraswell

Copy link
Copy Markdown
Contributor

@jordansissel thanks for pushing this forward!

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.

CPAN search failing due to metacpan's recent Elasticsearch upgrade

2 participants