Project

Profile

Help

Refactor #2614

Allow PulpCodedException to propagate during upload to relay error information

Added by daviddavis over 4 years ago. Updated over 2 years ago.

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

0%

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

Description

This code here ought to be removed:

https://github.com/pulp/pulp_rpm/blob/54fcfe2e8c7018fc807c72cb12a6eb4f5af1d447/plugins/pulp_rpm/plugins/importers/yum/upload.py#L119-L141

Instead, pulp_rpm can use PulpCodedExceptions which have predefined i18n strings that will automatically get printed to users.

See this PR as an example of what needs to be done:

https://github.com/pulp/pulp_puppet/pull/253


Related issues

Related to RPM Support - Issue #2543: RPM Importer swallows exception when one is raised during uploadCLOSED - CURRENTRELEASE<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>

History

#1 Updated by daviddavis over 4 years ago

  • Related to Issue #2543: RPM Importer swallows exception when one is raised during upload added

#2 Updated by daviddavis over 4 years ago

  • Subject changed from Use PulpCodedException during upload to relay error information to Allow PulpCodedException to propagate during upload to relay error information

#3 Updated by bmbouter over 2 years ago

  • Status changed from NEW to CLOSED - WONTFIX

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.

#4 Updated by bmbouter over 2 years ago

  • Tags Pulp 2 added

Please register to edit this issue

Also available in: Atom PDF