Project

Profile

Help

Refactor #3653

closed

Plugin Writer refer to task states for Progress reporting purposes

Added by bmbouter almost 6 years ago. Updated over 4 years ago.

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?

Actions #1

Updated by bmbouter almost 6 years ago

  • Tags Pulp 3 added
Actions #2

Updated by dalley almost 6 years ago

  • Tracker changed from Issue to Refactor
  • Sprint/Milestone set to 3.0.0
  • % Done set to 0
Actions #3

Updated by bmbouter about 5 years ago

  • Tags Pulp 2 added
Actions #4

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.

Also available in: Atom PDF