Actions
Refactor #3653
closedPlugin Writer refer to task states for Progress reporting purposes
Status:
CLOSED - NOTABUG
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
% Done:
0%
Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:
Description
The ProgressBar and ProgressSpinner have a state that uses choices typically imported in the pulpcore codebase using:
from pulpcore.common import TASK_STATES
Currently plugins are hard coding the state names (not DRY).
Is there a recommended way to stay DRY with those task choice values? Are plugins allowed to import from pulp.common?
Updated by dalley almost 6 years ago
- Tracker changed from Issue to Refactor
- Sprint/Milestone set to 3.0.0
- % Done set to 0
Updated by bmbouter over 4 years ago
- Status changed from NEW to CLOSED - NOTABUG
- Sprint/Milestone deleted (
3.0.0) - Tags deleted (
Pulp 2)
This issue old out of date and superseded by new work to refactor the Progress Reporting area. Also pulpcore.common does not exist anymore.
Actions