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

3 bugfixes and 2 features #297

Merged
merged 9 commits into from
Dec 27, 2017
Merged

Conversation

MichaelTsengLZ
Copy link
Contributor

Bugfixes:

  1. New GitHub node package changes getting combined status API from 'getCombinedStatus' to 'getCombinedStatusForRef

  2. When the input is undefined or null, hasNextPage() API of GitHub node package will throw an error. Then admin homepage will not show anything.

  3. For those contributors don't have cached pull request, we should validate not only the repo pull request but also validate to shared gist repos/orgs accordingly.

Small features:

  1. Add config settings to allow only need the submitter to sign instead of all the committers of a pull request.

  2. When user change name, we should also identify their previous signature.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.4%) to 90.852% when pulling dcf9b04 on Microsoft:master into 8b5b11d on cla-assistant:master.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.2%) to 91.06% when pulling 86703b5 on Microsoft:master into 8b5b11d on cla-assistant:master.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.1%) to 91.123% when pulling 2c48c03 on Microsoft:master into 8b5b11d on cla-assistant:master.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.3%) to 91.54% when pulling 93229fb on Microsoft:master into 8b5b11d on cla-assistant:master.

token: args.token
}
};
ClaApi.validatePullRequests(req, () => { });
Copy link
Contributor Author

@MichaelTsengLZ MichaelTsengLZ Dec 22, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@KharitonOff Do you specifically just want to check all the repo pull requests instead of org pull requests or shared CLA orgs/repos pull reqeusts?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@MichaelTsengLZ actually yes, my intention was to reduce the number of calls, because this function is called every time a user signs a CLA. I assumed, that in 90% of cases the user has only one open PR in the certain repo, where he/she comes from to sign the CLA. In other cases I would take in count that the repo/org owner has to trigger "Recheck PRs" button manualy.
But since we use user-PR cache it should be ok, to check all PRs of the linked item as a fallback.

…getCombinedStatus' to 'getCombinedStatusForRef'
…equest is not found. We should validate shared CLA org/repo or org.
…l request signed or not instead of all the committers.
…gnature by userId (#51)

* When user change their github user name, CLA-Assistant should not ask them to sign again.

* Send this message to app insights.

Use userId whenever possible (#54)

Because user login name tends to change from time to time, we'd better use userId to query a user's signature.
…org. linkedItem.org will throw error since linkedItem is null. What's more, we should delete those stored pull requests.
@coveralls
Copy link

Coverage Status

Coverage increased (+0.3%) to 91.557% when pulling df9502c on Microsoft:master into f33940d on cla-assistant:master.

Copy link
Contributor

@KharitonOff KharitonOff left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@KharitonOff KharitonOff merged commit 8e998d7 into cla-assistant:master Dec 27, 2017
KharitonOff added a commit that referenced this pull request Feb 18, 2020
3 bugfixes and 2 features
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants