-
Notifications
You must be signed in to change notification settings - Fork 116
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
Provide pulp_rpm urlencode solution to plugins via the plugin API #2950
Comments
I actually encountered another edge case related to this today. I'm thinking that perhaps we need to push this further upstream because it's actually not possible to fix every case using the workarounds in See: |
This can maybe replaced if pulp/pulpcore#2950 is solved. closes pulp#571
Yes I agree, this needs to be solved in either aiohttp or even better yarl. |
Update: We have a workaround for the original pulp_deb issue that prompted me to open this here: pulp/pulp_deb#573 But it still feels like handling download URL strings ultimately should not be plugin responsibility. |
This can maybe replaced if pulp/pulpcore#2950 is solved. closes #571
This can maybe replaced if pulp/pulpcore#2950 is solved. closes #571 (cherry picked from commit ccf3f47)
This can maybe replaced if pulp/pulpcore#2950 is solved. closes #571 (cherry picked from commit ccf3f47)
This can maybe replaced if pulp/pulpcore#2950 is solved. closes #571 (cherry picked from commit ccf3f47)
This can maybe replaced if pulp/pulpcore#2950 is solved. closes #571 (cherry picked from commit ccf3f47)
This can maybe replaced if pulp/pulpcore#2950 is solved. closes #571 (cherry picked from commit ccf3f47)
This can maybe replaced if pulp/pulpcore#2950 is solved. closes #571 (cherry picked from commit ccf3f47)
This can maybe replaced if pulp/pulpcore#2950 is solved. closes #571 (cherry picked from commit ccf3f47)
This can maybe replaced if pulp/pulpcore#2950 is solved. closes #571 (cherry picked from commit ccf3f47)
Update, the pulpcore problem I mentioned was resolved with an existing flag that I overlooked, |
@dralley with that flag now in use on |
No, this issue is separate (but related). The original URL passed in by plugin writer code still needs to be handled in a certain way. |
Is your feature request related to a problem? Please describe.
pulp_deb users have reported the following issue: pulp/pulp_deb#571
It looks like pulp_rpm has solved the exact same issue for pulp_rpm a long time ago here under this issue.
Describe the solution you'd like
Since this now affects multiple plugins, it would be nice if the pulp_rpm solution could be provided to plugins by pulpcore.
Ideally using the downloader from pulpcore would "just work" for everyone, but given the ongoing design discussions around downloaders and the pulp_rpm solution describing itself as "a pretty ugly workaround" perhaps just provide it as a small utility function requiring opt-in from plugin authors?
Describe alternatives you've considered
We simply copy the pulp_rpm fix within pulp_deb and maybe wait for the "Pulp downloader redesign" to conclude before asking for a general solution from pulpcore.
The text was updated successfully, but these errors were encountered: