-
Notifications
You must be signed in to change notification settings - Fork 52
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
Add per-WG label to pull requests #1
Conversation
if (specref && specref[spec]) { | ||
if (specref[spec]["deliveredBy"]) { | ||
wgs = specref[spec]["deliveredBy"]; | ||
} else if (specref[spec]["aliasOf"]) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You need to wrap this in a while loop as aliasOf
can be point to another alias itself.
var request = require('request'), | ||
q = require('q'); | ||
|
||
function errFrom(body) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You don't need the above for specref, it doesn't have any specific error codes outside of http 404.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removed
Add per-WG label to pull requests
Turns out I don't have auto-deploy setup here. I'll try to setup deployment tonight. Ping me if you don't hear back from me. |
On mer., 2014-02-12 at 03:02 -0800, Tobie Langel wrote:
Ping :) Dom |
This adds the ability to label pull requests with e.g. wg:dap when the group responsible for the relevant spec is the Device APIs Working Group.
It takes the data about Working Groups from specrefs