Skip to content
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

git-node does not include reviews from other teams #267

Closed
ChALkeR opened this issue Aug 6, 2018 · 7 comments
Closed

git-node does not include reviews from other teams #267

ChALkeR opened this issue Aug 6, 2018 · 7 comments
Labels

Comments

@ChALkeR
Copy link
Member

ChALkeR commented Aug 6, 2018

E.g. at nodejs/node#21914, @nodejs/security-wg was cc-d, @SomeoneWeird (a member of @nodejs/security-wg) reviewed the change, but on landing with node-core-utils that review was not mentioned in the commit message.

@nodejs/tsc — btw, is there any good reason to not mention all the reviews from org members? Or just all the reviews from all the GitHub users?

I suppose that something like this could also happen with reviews from other WGs.

/cc @mcollina @nodejs/tsc

@mcollina
Copy link
Member

mcollina commented Aug 6, 2018

I think because @SomeoneWeird is not a Node core collaborator. We should probably include reviews from all people in the org.

I’ve probably used an oldish version as well.

@joyeecheung
Copy link
Member

joyeecheung commented Aug 6, 2018

Only collaborators in the README are included in the Reviewed-By field - because we only have those people's names and emails. It is possible to query names and emails from people's GitHub profile, but that does not always work as a lot of people simply don't put that in their profile, or use a no-reply email there.

@targos
Copy link
Member

targos commented Aug 6, 2018

This is probably something we need to discuss in the core repo or with the TSC first. One of the privileges of the collaborators is to sign off the reviews and we nominated them because we trust them for their reviews. While it's good to have external input, I'm not sure we want to consider it the same as if it was from a collaborator.

@SomeoneWeird
Copy link
Member

I agree, while not being an official core collaborator, it was more of a +1 on behalf of the security-wg who was pinged on the issue.

@ChALkeR
Copy link
Member Author

ChALkeR commented Aug 6, 2018

@targos Yes, only collaborators could sign off the PR so that it could be landed, i.e. PRs can't land with out being reviewed by collaborators. I do not propose to change that, ncu should still require collaborator review before landing.

The thing that I am talking about is that reviewes by non-collaborators are not mentioned at all, but I think that they should be.

@joyeecheung
Copy link
Member

joyeecheung commented Aug 6, 2018

@ChALkeR I personally see the Reviewed-By field more about accountability instead of attribution, though. But in the end if someone wants to thank non-collaborators for their reviews, they can always just say so in the commit message (via a Reviewed-By field or not, I'd prefer not using that field though), but it seems a bit out of scope for ncu.

Also for PRs that receive more traction than usual, including reviewers who don't have write access to the repo will result in a less readable metadata list. Considering some people approve PRs to show endorsement without actually looking into the code and review it thoroughly, this makes the field less useful because you cannot hold those reviewers accountable (that is, you cannot count on them to spend the time to fix regressions or open backports).

@github-actions
Copy link
Contributor

This issue is stale because it has been open many days with no activity. It will be closed soon unless the stale label is removed or a comment is made.

@github-actions github-actions bot added the stale label Aug 16, 2020
@Trott Trott closed this as completed Aug 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants