镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

still does not detect some non-author committers #150

Closed

Description

@joyeecheung

Activity

  1. joyeecheung commented on Jan 18, 2018

    @joyeecheung
    MemberAuthor

    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...

  2. priyank-p commented on Jan 18, 2018

    @priyank-p
    Contributor

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

  3. priyank-p commented on Jan 19, 2018

    @priyank-p
    Contributor

    @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)

  4. joyeecheung commented on Jan 19, 2018

    @joyeecheung
    MemberAuthor

    @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);

  5. priyank-p commented on Jan 19, 2018

    @priyank-p
    Contributor

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

    author {
      ... on User {
         email,
         name
      }
    }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions