-
Notifications
You must be signed in to change notification settings - Fork 3
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
Ignore unknown metadata fields #10
Conversation
By default, I vote for ignoring and producing warning for reviews with unknown fields, see e.g. `result-otherwise` field semantics.
However, we can add some mechanism that could say either "you MAY ignore _this field_ if you don't know what it means" (kinda like "X-" fields of RFC822) and "you MUST ignore _this review_ if you don't know what this field means".
E.g.
```
Unknown fields with names starting with `x-` MAY be ignored, other unknown fields SHOULD cause a warning and MUST cause the review to be ignored.
```
?
|
Good catch about the |
8e9fb5f
to
127b484
Compare
@oxij Ping review :) |
I would remove " or processed in an implementation-dependent way". It is IMHO obvious that you can process them with "MAY ignore" without that phrase, but the whole sentence gets confusing with "MAY ignore or ". I feel like it needs parentheses there
to show what that "or" binds. Which would be possible to express if this was written in lojban, but not in English. |
127b484
to
027090b
Compare
Hmm, I fear that without the “or”, it could be interpreted as “MAY either be ignored or MUST cause the review to be ignored”. I've pushed a rewording with either/or balancing to make the parenthesis clear, hopefully in plain english too :) |
See #4 (comment). |
Current phrasing LGTM, btw. |
IMO |
This is blocked on #4 |
Closing as the git-wotr idea is pretty much dead and I'd like to clean up my "open PR" list so it only has actionable stuff |
For forwards-compatibility reasons, request that programs ignore unknown metadata fields. The alternative is for old programs to completely ignore new reviews… that's possible too, I don't have any strong opinions. Will make things harder for #6, though.