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

Drop Pulp 2 and update others #26

Merged
merged 8 commits into from
Mar 2, 2021
Merged

Conversation

ekohl
Copy link
Member

@ekohl ekohl commented Dec 17, 2020

This drops all the Pulp 2 implementation code and only keeps the Pulpcore implementation. To do so, it cleans up some other code.

When the plugin is not running, it is useful to have the log buffer for
the failed modules. This contains the error message while loading the
module, making it much easier to debug.

Also asserting that the response is ok is a good thing before anything
else.
This makes the following work:

    rake test TEST=test/pulpcore_plugin_integration_test.rb
Since Smart Proxy 2.1.0 there is a built in URL validator.
Previously it wasn't very clear where it got its config from. The
PulpcoreApi implementation used the Pulp 3 URL but printed the Pulp 2
URL in case an error showed up. Now it only uses the Pulpcore plugin.

a5501f9 dropped disk space usage but
the require was forgotten.
Smart Proxy 2.3.0 introduced rackup_path which sets both
http_rackup_path and https_rackup_path to the same value. Since this is
what's done here, it simplifies the plugin definition.
There is no reason to use multiple lines for this.
@ekohl
Copy link
Member Author

ekohl commented Mar 2, 2021

Do you think it's time to merge this?

@jlsherrill
Copy link
Contributor

+1

@jlsherrill jlsherrill merged commit 9ba94b1 into theforeman:master Mar 2, 2021
@ekohl ekohl deleted the drop-pulp2 branch September 15, 2022 10:26
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.

2 participants