-
-
Notifications
You must be signed in to change notification settings - Fork 59
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 a bot to notify people when their PR has a merge conflict #96
Comments
Seems interesting! |
Or maybe should ask at core-workflow mailing list first whether we all want this bot or not. |
It's Apache Licensed, I just forgot to add a |
Hi, I would like to take this up. Should the code for this go into python/bedevere or this will be a new bot ? |
In #93 (comment) there is a concern that adding such code to bedevere might cause problem with hitting bedevere's rate limit. So it might need to be a new bot/app. |
#187 provides a prototype of querying open PRs using GraphQL to find out which ones have the merge conflict. Some questions:
|
RE: label or comment: it depends on what the purpose of this is. If it's to just know which PRs have a merge conflict through a query then a label is enough. If it's to let the PR creator know they are out of sync then a comment is necessary. If it isn't for any of that then I don't know why we're doing this since you can pull up a PR to notice if there's a conflict. 😉 As for a webhook or cron job, a webhook might be easier as it avoids us setting up a cron job, but it does mean PRs that have conflicts will be perpetually behind as GitHub figures out which open PRs actually do have conflicts versus doing it once a day when merges are quiet. |
I personally just want a label, but leaving comments will be useful to the PR author. |
This seems obsolete, since GitHub already notifies about merge conflicts and even offer the option to resolve them from the web interface. |
Seems like there is no way to filter searches by merge conflict. That would be a useful feature. |
Closing as duplicate of #479. |
The PyPA's repos have a bot (@BrownTruck) that posts on a PR when there is a merge conflict. See pypa/pip#4293 (comment) for an example. This seems like it would be useful for CPython too.
The text was updated successfully, but these errors were encountered: