Project

Profile

Help

Issue #4127

Choices helptext is not DRY

Added by bmbouter almost 2 years ago. Updated over 1 year ago.

Status:
NEW
Priority:
Normal
Assignee:
-
Category:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:

Description

The Task model has a 'state' attribute that uses pulpcore.constants.TASK_STATES and pulpcore.constants.TASK_CHOICES.

Note that the help text is duplicated so it won't be in consistent over time. The first place is here the second place is here

We also are going to have the same problem since this PR follows this pattern too: https://github.com/pulp/pulp/pull/3738

How do we make this DRY?

History

#1 Updated by CodeHeeler almost 2 years ago

  • Triaged changed from No to Yes

#2 Updated by bmbouter over 1 year ago

  • Tags deleted (Pulp 3)

Please register to edit this issue

Also available in: Atom PDF