lvoytek / discourse-triage

Application to keep track of updates on a Discourse server
GNU General Public License v3.0
4 stars 3 forks source link

Search by Tag #16

Closed ColmBhandal closed 1 year ago

ColmBhandal commented 1 year ago

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.


            "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,

lvoytek commented 1 year ago

Thanks for the suggestion, that's a great idea. I'll try and get it added in the next release