Task #2482
closedPlanning: design pulp3 approach to task tags
0%
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