-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add author filter #267
base: master
Are you sure you want to change the base?
Add author filter #267
Conversation
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please visit https://cla.developers.google.com/ to sign. Once you've signed (or fixed any issues), please reply here with What to do if you already signed the CLAIndividual signers
Corporate signers
ℹ️ Googlers: Go here for more info. |
@googlebot I signed it! |
Hey, @tstromberg any feedback on this? Or should I change it from draft to regular PR? |
Nice, thanks for making the PR! We have the same need but slightly different use case, we need it to enable us to filter PRs by certain organisations so that other orgs can target those ones for testing (we have rules that you can't test PRs from your own company). Happy to test if someone could explain in simple terms how to :) |
@aocenas is there any possibility you could share an example of how you're using this on your panels? Would love to help with testing but without the docs to explain how to implement I'm a bit stuck. |
@aocenas, are you interested in reviving this PR? If so, let's discuss. I've just been made a maintainer of this project, and though I'm new to the codebase, I'd be happy to discuss this and work with you on a solution. |
Closes: #192
Maybe also: #264
Adds a regex filter that checks author of a PR so you can do same regex filtering on it as with title. It uses
i.GetUser().Login
as the string to match (so cannot be used on full name but that does not seem important).Our usecase for this is to have a table with team PRs and separate ones for external ones. This usecase would also be served by #266 to be honest but I did not notice it before and I think this may still be useful.
The code is just copy pasting existing regex filters code.
This is a draft mainly to check the naming and get some feedback on whether I am forgetting to add something somewhere to make this work consistently, naming etc.
TODO: