You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the feature or problem you’d like to solve
Currently, we have filter based on --assignee, however we also need to filter by --author so that some of release tooling can pick it up and add details (you know we need to credit contributor 🥇 )
Proposed solution
Add flag --author in both commands, short hand flag might be finalized as -a is for assignee right now.
Additional context
Reacted by Eirik Tsarpalis, Rex McConnell, Dan Foad, timiyay, Benjamin Wuethrich, Joshua Clark, Dmitrij Petters, Matthew James Briggs, Abhijith V Mohan, Tomáš Kapin and 2 more
I like this idea, thanks! We'll chat to make sure we're aligned on it and about how the flag should work.
Cool, I still feel that there will be more use case similar like this coming, so it's better to have expression filtering syntax like is:pr author:abc in UI.
We're currently blocked on the GraphQL API for adding filtering by author for PRs, but #625 adds it for issues. I renamed this issue to just issues, and I'll open up a new one for PRs, or we may consider a larger tracking issue for many of these similar filters. Thanks!
We're currently blocked on the GraphQL API for adding filtering by author for PRs, but #625 adds it for issues. I renamed this issue to just issues, and I'll open up a new one for PRs, or we may consider a larger tracking issue for many of these similar filters. Thanks!
Activity
billygriffin commentedon Feb 12, 2020
I like this idea, thanks! We'll chat to make sure we're aligned on it and about how the flag should work.
sayboras commentedon Feb 12, 2020
Cool, I still feel that there will be more use case similar like this coming, so it's better to have expression filtering syntax like
is:pr author:abcin UI.mwean commentedon Feb 13, 2020
I agree. I'd love to use a query like
review-requested:@me, for example.webern commentedon Feb 25, 2020
I realize this isn't PR-worthy (it does not work if someone wanted to search for both author and assignee, for example). But if anyone just needs to search PR's by author, this will work: https://github.com/webern/github-cli/tree/v0.5.7-pr-author-search
This works:
gh pr list --state=all --author=someoneHere's a patch that starts at v0.5.7
[-]Support filtering by author for PR and issue[/-][+]Support filtering by author for issues[/+]billygriffin commentedon Mar 11, 2020
We're currently blocked on the GraphQL API for adding filtering by author for PRs, but #625 adds it for issues. I renamed this issue to just issues, and I'll open up a new one for PRs, or we may consider a larger tracking issue for many of these similar filters. Thanks!
sayboras commentedon Mar 11, 2020
Sounds good 💯 🎉