Note: we would still add the category, presumably, but then filter to specific tags within that category.
Technical Notes
Each topics has a tags list in the JSON object e.g.
"tags":[
"kubeflow",
"knowledge-base"
],
So for a start I suppose it would make sense to update discourse_topic.py to populate this list of tags from the JSON.
Why
Documentation relevant to a specific team is not always organised by category. A real-world example is that of the Kubeflow documentation on CharmHub, which is tagged with kubeflow but lives under the category charm,
What
Give users the ability to triage a server for posts within a certain tag, or list of tags.
Example
Suppose we want to find all articles tagged with
kubeflow
on the CharmHub site. We could do:dsctriage -s https://discourse.charmhub.io/ -c charm --tag kubeflow
Or
dsctriage -s https://discourse.charmhub.io/ --category charm -t kubeflow
Note: we would still add the category, presumably, but then filter to specific tags within that category.
Technical Notes
Each topics has a
tags
list in the JSON object e.g.So for a start I suppose it would make sense to update
discourse_topic.py
to populate this list of tags from the JSON.Why
Documentation relevant to a specific team is not always organised by category. A real-world example is that of the Kubeflow documentation on CharmHub, which is tagged with
kubeflow
but lives under the categorycharm
,