Project

Profile

Help

Task #2482

closed

Planning: design pulp3 approach to task tags

Added by ttereshc over 7 years ago. Updated about 5 years ago.

Status:
CLOSED - COMPLETE
Priority:
Normal
Assignee:
Category:
-
Sprint/Milestone:
Start date:
Due date:
% Done:

0%

Estimated time:
Platform Release:
Groomed:
Yes
Sprint Candidate:
Yes
Tags:
Sprint:
Sprint 22
Quarter:

Description

In 2.y line there were action and resource tags.

Task tags are for the filtering of tasks, to support scenarios like:
As a user of the task search API

  • I want to search for all tasks that operated on repo zoo.
  • I want to search for all pubish tasks.
  • I want to search for all publish tasks on repo zoo.
  • I want to search all publish tasks performed by a particular publisher.

mhrivnak suggests to use task name for the purpose of action tag. (+1 for that)
Something similar to resource tag is also needed.
One idea is to add a repository to the task model as a foreign key because in most cases tasks are operated on a particular repo. There is at least one exception here, it is applicability calculation, which may or may not be bound to a particular repo.
Another concern is that it's possible that not only repository will be a resource by which search is performed. One may want to search by publisher, for example.

Upon agreement on how tags will be implemented in Pulp 3, create redmine stories to implement the chosen approach.


Related issues

Has duplicate Pulp - Task #2636: Planning: design pulp3 approach to task tags.CLOSED - DUPLICATE

Actions

Also available in: Atom PDF