sympy / sympy-bot

GitHub bot for SymPy
https://github.com/sympy-bot
Other
22 stars 11 forks source link

Automatic tagging and assigning of Pull Requests and Issues #65

Open czgdp1807 opened 5 years ago

czgdp1807 commented 5 years ago

I don't know if this is feasible, however, I would still like the sympy-bot to tag the PRs with labels, at least related to the module mentioned in the release notes. This would help the new contributors to help in improving sympy by finding the PRs and Issues of the module that interests them. In addition it would be great to automatically assign an issue to someone by using commands like, Ping, etc. This will also reduce a lot of work load on members of the organization. P.S. - I observed that zulip-bot is capable of doing the above.

asmeurer commented 5 years ago

Adding a tag based on the release notes modules would be easy. Beyond that, how would it know what labels to add to an issue or pull request?

czgdp1807 commented 5 years ago

One way can be to check which module's code is changed, may be, by checking the diff on github. Is that possible?

asmeurer commented 5 years ago

Yes, though that likely won't give more information than the release notes entry for most pull requests.

czgdp1807 commented 5 years ago

Yes, but that will be definite as compared to release notes entries, which are sometimes wrong, especially with new contributors. Moreover, if possible, we can analyse the diff in a more detailed manner, like the affected class will give more information. I am unable to figure out how zulip-bot is able to tag PRs so intelligently. For the time being, we can go with module changes/release notes for labels.