-
Notifications
You must be signed in to change notification settings - Fork 16
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
Consider Replacing CLA Success with CLA Label #134
Comments
My initial impression is that the label doesn't provide a lot of value. You can already filter using I'm placing this issue for discussion and to see what others impressions are. If it gets a lot of attention, I will consider making the change. |
@wilkinsona - I'm interested in your thoughts since you requested the feature of adding the comment when a CLA needed signing. Obviously this isn't undoing your specific request, but it is fairly related. |
Thanks for asking, @rwinch. I may have been a bit too prescriptive when I suggested commenting on the issue when the CLA has been signed. Stepping back a bit, what I was really looking for was an easy way of knowing that the CLA had been signed. One benefit of a comment over a label is that the comment triggers a notification. That said, I can certainly see the benefit of the label as it makes filtering very easy. I don't think that filtering on Having given this some more thought, I think I now agree with @snicoll and I'd prefer this flow:
|
For the record, I am not sure about the "CLA signed label" part. IMO, this will add an unecessary duplication compared to the general status. I'd replace 4 by "Requires CLA label is removed". Otherwise +1 with the filtering part. That's the main reason why I reported this. |
Good point. We could just filter on |
@wilkinsona @snicoll Initially my thought was that if the status failed, we aren't interested in the Pull Request anyways. Andy brings up a great point about the fact that we might want to ignore failures like check style. For this reason, I agree about having a label I sort of like the notification that the CLA was signed. It sounds as though the main goal is for the label to be used. Do either of you have strong opinions as to the comment thanking the user for singing the CLA? |
I think it's good to thank the user for signing the CLA, but I also think that we only need to thank them once. I believe they're thanked in the web app when they sign it. If so, I think that's sufficient and also avoids spamming a user with the same comment if they had multiple PRs that were all awaiting the CLA being signed. |
I can see the argument that the user might view the email as spam. Personally, I also like the symmetry of thanking them in the comments. This is what I would do if the flow happened manually. FYI... When they sign, we don't check for all Pull Requests for that user. This would involve a lot of GitHub API calls. There is no way to find all Pull Requests for a user. Instead we have to retrieve all pull requests for all repositories linked to the CLA tooling. Then iterate over all the pull requests to find any that were performed by this user. See #116 for more details on this. Instead we only update the pull request that provided the link to the CLA. This means they would only get a single notification. It also makes it apparent which Pull Request was updated. |
@snicoll Reported:
The text was updated successfully, but these errors were encountered: