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

Improve "group" logic for specs retrieved from Specref #208

Closed
tidoust opened this issue Apr 11, 2018 · 1 comment
Closed

Improve "group" logic for specs retrieved from Specref #208

tidoust opened this issue Apr 11, 2018 · 1 comment

Comments

@tidoust
Copy link
Member

tidoust commented Apr 11, 2018

See discussion in PR #207

Specref can return:

  1. a deliveredBy property with the list of groups that delivered the spec. But group labels are missing.
  2. a publisher property that contains the name of the publisher... which is sometimes the name of the group itself, i.e. for WHATWG (e.g. info on XHR) or for W3C CGs (e.g. info on Web Bluetooth)

Code should probably:

  1. mix both properties when they exist to associate the publisher's name with the group's URL.
  2. use the publisher property otherwise to create a "working group" (a short list of well-known URLs for IETF and WHATWG should give us a URL)
  3. add a publisher property to tr.json, as it could be a useful information
tidoust added a commit to tidoust/media-web-roadmap that referenced this issue Apr 11, 2018
Addresses w3c#208.

The code now makes use of the `publisher` property returned by Specref to
find a friendly label for the group that delivered the spec.

It also tries to set a `publisher` property, which is for now one of W3C, IETF
or WHATWG. If that property is not already set, it looks at the URL of the
group and at the URL of the spec to find out which organization published it.
xfq pushed a commit that referenced this issue Apr 11, 2018
Addresses #208.

The code now makes use of the `publisher` property returned by Specref to
find a friendly label for the group that delivered the spec.

It also tries to set a `publisher` property, which is for now one of W3C, IETF
or WHATWG. If that property is not already set, it looks at the URL of the
group and at the URL of the spec to find out which organization published it.
@xfq
Copy link
Member

xfq commented Apr 11, 2018

Fixed by #209.

@xfq xfq closed this as completed Apr 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants