Actions
Story #5444
closed[Epic] Consolidate ProgressReporting into a single model so it's simpler for plugin writers
Start date:
Due date:
% Done:
100%
Estimated time:
(Total: 0:00 h)
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Sprint 59
Quarter:
Description
Problem¶
Currently the pulpcore.app.models.progress module provides three objects:
ProgressReport
ProgressBar
ProgressSpinner
These are confusing for plugin users and should be combined.
Solution¶
Delete ProgressBar and ProgressSpinner, and consolidate them into a single model. In the database they are already a single model since ProgressBar and ProgressSpinner are proxy models for ProgressReport.
This will be a plugin API breaking change and needs to be advertised to pulp-dev and also come with a fix for pulp_file.
Related issues
Actions
Replace ProgressBar with ProgressReport
ref #5444 Required PR: https://github.com/pulp/pulpcore/pull/293 Required PR: https://github.com/pulp/pulpcore-plugin/pull/127