Issue #2256
closedDocument cancel_publish_repo for distributors
Description
pulp/docs/dev-guide/newtypesupport/plugin/distributors.rst mentions publish_repo and cancel_publish_repo. It doesn't explain what cancel_publish_repo is supposed to do.
Could that please be documented? In particular, the points:
- is cancel_publish_repo supposed to raise an exception, or cause publish_repo to raise an exception/return a failure, or just return?
- is cancel_publish_repo expected to undo what's been done up to its cancellation?
The reason why I've raised this issue is that base class implementation pulp.server.pulp.plugins.distributor.Distributor#cancel_publish_repo raises an exception, while the distributors I've looked at which override cancel_publish_repo don't raise, and it's hard to say if one of these is a bug.
Updated by amacdona@redhat.com over 7 years ago
- Triaged changed from No to Yes
- Tags Documentation added
Updated by bmbouter almost 5 years ago
- Status changed from NEW to CLOSED - WONTFIX
Updated by bmbouter almost 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.