Project

Profile

Help

Task #899

closed

Puppet Forge modules.json performs fuzzy search instead of exact search which gives undesired side-effects

Added by epienbroek about 9 years ago. Updated about 5 years ago.

Status:
CLOSED - WONTFIX
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

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?

Actions #1

Updated by mhrivnak about 9 years ago

  • Tracker changed from Issue to Task
Actions #2

Updated by bmbouter about 5 years ago

  • Status changed from NEW to CLOSED - WONTFIX
Actions #3

Updated by bmbouter about 5 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.

Actions #4

Updated by bmbouter about 5 years ago

  • Tags Pulp 2 added

Also available in: Atom PDF