Puppet Forge modules.json performs fuzzy search instead of exact search which gives undesired side-effects
In our Puppet-based environment we are using various Puppet modules from the Puppet Forge.
With Katello/Pulp I'm now trying to only sync the Puppet modules which we are interested in
(in order to save disk space, save network bandwidth and reduce load on the Puppet Forge servers).
In the tool katello-disconnected there's an option called 'puppet_queries' which allows a search
filter to be set on the Puppet Forge repository.
In Pulp internally this results in URL's like https://forge.puppetlabs.com/modules.json?q=adrien-network
to be retrieved. I would expect only the Puppet module 'adrien-network' to be returned, but instead several
other Puppet modules are returned in the result set as well (20 in total for this specific example).
I've did some more research on the Puppet Forge API and found out that https://forgeapi.puppetlabs.com/v3/modules?query=adrien-network
gives the expected results for me. However, Pulp isn't able to process the output from this API call yet.
Would it be possible to change Pulp so that it uses the v3 forgeapi to search for modules?
#3 Updated by bmbouter over 2 years ago
Pulp 2 is approaching maintenance mode, and this Pulp 2 ticket is not being actively worked on. As such, it is being closed as WONTFIX. Pulp 2 is still accepting contributions though, so if you want to contribute a fix for this ticket, please reopen or comment on it. If you don't have permissions to reopen this ticket, or you want to discuss an issue, please reach out via the developer mailing list.
Please register to edit this issue