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

still does not detect some non-author committers #150

Closed
joyeecheung opened this issue Jan 18, 2018 · 5 comments
Closed

still does not detect some non-author committers #150

joyeecheung opened this issue Jan 18, 2018 · 5 comments
Labels

Comments

@joyeecheung
Copy link
Member

See nodejs/node#17705

@priyank-p priyank-p added the bug label Jan 18, 2018
@joyeecheung
Copy link
Member Author

It is kind of weird, the committer and the author actually use the same email, and authoredByCommitter is true here, still GitHub UI does not recognize that...

@priyank-p
Copy link
Contributor

Ah, it might be because the remove the email in the settings.

@priyank-p
Copy link
Contributor

priyank-p commented Jan 19, 2018

@joyeecheung the reason i think it failes is because of this here

// They have turned on the private email feature, can't really check
// anything, GitHub should know how to link that, see nodejs/node#15489
if (!pr.author.email) {
return false;
}

I don't think email field exists on author. Can you tell me exactly what the purpose was here?

(I do think they have a GitHub email provied by github for this purposes of making email private)

@joyeecheung
Copy link
Member Author

@cPhost That is assigned here

const userData = await request.gql(USER_QUERY, { login: pr.author.login });
const user = userData.user;
Object.assign(this.pr.author, user);

@priyank-p
Copy link
Contributor

priyank-p commented Jan 19, 2018

That seems correct. And also you can do this to save you some from doing more work.

author {
  ... on User {
     email,
     name
  }
}

priyank-p added a commit to priyank-p/node-core-utils that referenced this issue Feb 22, 2018
priyank-p added a commit to priyank-p/node-core-utils that referenced this issue Feb 22, 2018
johnfrench3 pushed a commit to johnfrench3/core-utils-node that referenced this issue Nov 2, 2022
renawolford6 added a commit to renawolford6/node-dev-build-core-utils that referenced this issue Nov 10, 2022
Developerarif2 pushed a commit to Developerarif2/node-core-utils that referenced this issue Jan 27, 2023
gerkai added a commit to gerkai/node-core-utils-project-build that referenced this issue Jan 27, 2023
patrickm68 added a commit to patrickm68/NodeJS-core-utils that referenced this issue Sep 14, 2023
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

2 participants