gh-dash icon indicating copy to clipboard operation
gh-dash copied to clipboard

Allow to subscribe with advanced filters

Open mantzas opened this issue 2 years ago • 6 comments

Is your feature request related to a problem? Please describe.

It would be nice to be able to list all PR in the subscribed section based on the following filter:

  • org in order to point to a specific or
  • topic in order to filter the repos inside the org based on topics

The filter should ideally work also on private repos.

Currently in order to achieve this I need to maintain the repos by hand (add/update/remove).

Describe the solution you'd like

Allow filters to target org and topic.

Describe alternatives you've considered

We could also introduce a wildcard e.g. dlvdhr/*

Additional context None

mantzas avatar Sep 30 '22 15:09 mantzas

You can put the org:dlvhdr term in the query to get all the PRs under the dlvhdr org.

What do you mean by topic? I'm not familiar with this

dlvhdr avatar Sep 30 '22 17:09 dlvhdr

Nice, the only problem that I have now is that the org is really big and the PRs are countless. If I could filter on top of that with a topic e.g. topic:oss it would be great. WDYT?

mantzas avatar Sep 30 '22 17:09 mantzas

I think you mean labels. You can add them to the query with label:bug for example. If you do mean topics, you can only search repos by them. See https://docs.github.com/en/search-github/searching-on-github/searching-for-repositories#search-by-topic Let me know if that helps.

dlvhdr avatar Oct 08 '22 20:10 dlvhdr

I actually meant topics in order to be a repo-selector. Tags are more like a issue selector. The goal is to be able to identify specific repos inside an org in order to subscribe to all of them. The alternative is to add the repos one by one by hand which is not really maintainable if you have 30 of them.

mantzas avatar Oct 09 '22 14:10 mantzas

Oh yeah I see what you mean... Well github doesn't support that yet. Just one last clarification: do you mean to see the PRs & issues of those repos or see the actual list of repos? For the first one, maybe I can fetch all the repos with a certain topic and then fetch all of their corresponding PRs with a huge query :)

dlvhdr avatar Oct 09 '22 16:10 dlvhdr

Exactly what you say about getting the PRs and issues of those repo. And yes this might become very big and not easily processable by humans.

mantzas avatar Oct 09 '22 16:10 mantzas