Name: participate.whatwg.org
Owner: WHATWG
Description: null
Created: 2017-12-02 00:19:24.0
Updated: 2018-05-15 20:08:57.0
Pushed: 2018-05-15 20:08:57.0
Homepage: https://participate.whatwg.org/
Size: 231
Language: JavaScript
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
This server supports the WHATWG Participant Agreement, including submitting the agreement, updating GitHub pull requests to Living Standards with status checks, and storing the agreement data in other data repositories.
When someone submits a pull request for a contribution, you should get a GitHub status line letting you know whether they are authorized to participate. You can click through it for more details.
If their pull request is marked as pending because they or their associated entity needs to be verified, then you'll want to do that verification process. This means:
verified
from false
to true
.If the pull request is marked as pending for reasons on their side, e.g. not having signed the agreement or not having signed up for the appropriate workstream, you may need to guide them through this process. Remember to be friendly; the human touch counts!
Once they've gotten this straightened out, you can use the status link in the pull request to re-synchronize the GitHub pull request with our database. That should turn the status check green, at which point you can merge their PR!
To get set up:
npm install
in this directory to install all dependencies.private-config.sample.json
to private-config.json
and fill in all the values appropriately.config.json
as appropriate.Start the server with npm run start
. It will use the PORT
environment variable if set, or 3000 as the default port otherwise.
GET /agreement
: the agreement formPOST /submit-agreement
: where the /agreement
form is submitted toPOST /push-status-check
: an endpoint hit by the GitHub commit status webhookGET /agreement-status?user=...&repo=...
: the status page linked to from the GitHub status checkPOST /update-pr
: an endpoint hit by /agreement-status
to sync pull requestsFollow the “Creating Webhooks” guide from GitHub for Living Standard repositories. The settings are:
/push-status-check
on this serverapplication/json
private-config.json
Also ensure that the username specified in private-config.json
is given write access to the repository, so it can push status updates.