Story #2889
closedAs an authenticated user, I can view a task's name and search for tasks based on their names.
100%
Related issues
Updated by daviddavis over 7 years ago
For more info, see the proposed implementation at https://pulp.plan.io/issues/2482#note-11
Updated by amacdona@redhat.com almost 6 years ago
- Tags Pulp 3 RC Blocker added
This one needs to be groomed and accepted on the sprint before anyone starts working on it because this would be a backwards incompatible change for plugins. For the same reason, I am adding this as an RC Blocker.
Updated by kersom almost 6 years ago
- Related to Test #4230: Test task name and search for task based on their name added
Updated by daviddavis almost 6 years ago
I think we should set task name on the tasks here:
I think for now we should just use the func name with module name similar to here:
In the future we could maybe give plugin writers the option to override task name when calling enqueue_with_reservation
by passing in a name kwarg. This unleashes its own set of problems (namespacing, etc) so I am kind of dubious about doing so.
Updated by bmbouter almost 6 years ago
- Groomed changed from No to Yes
- Sprint Candidate changed from No to Yes
I think this story covers all of the aspects.
Updated by ppicka almost 6 years ago
- Status changed from NEW to ASSIGNED
- Assignee set to ppicka
Updated by bmbouter almost 6 years ago
Determining which names to set for existing or already completed tasks is difficult at best and probably practically impossible in some cases. Since Pulp is pre-production, the migration that adds the field can set existing tasks to default defined in the migration and not have to determine the value for all existing tasks in a smart way.
Also as an aside, since all tasks will have this I think the field is required and can't have a field default. Since it would be required the migration default should be '' not None. (my opinion).
Updated by ppicka almost 6 years ago
- Status changed from ASSIGNED to POST
Added by ppicka almost 6 years ago
Added by ppicka almost 6 years ago
Revision 7fef6b7d | View on GitHub
Adding names to tasks
User can see and filter the class path and function name which run inside the task.
closes: #2889 https://pulp.plan.io/issues/2889
Signed-off-by: Pavel Picka ppicka@redhat.com
Updated by ppicka almost 6 years ago
- Status changed from POST to MODIFIED
- % Done changed from 0 to 100
Applied in changeset pulp|7fef6b7ddbe45a9c1c6a50fc253c9bae4fd5ce0b.
Updated by bmbouter almost 5 years ago
- Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Adding names to tasks
User can see and filter the class path and function name which run inside the task.
closes: #2889 https://pulp.plan.io/issues/2889
Signed-off-by: Pavel Picka ppicka@redhat.com