-
Notifications
You must be signed in to change notification settings - Fork 61
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
Document the versioning process #460
Comments
One way to do this would be to add to ERRATA.md something like:
|
I like that. |
Don't want to distract, so maybe just down/up-vote this, but what about adding something like:
|
@evanp I'd probably say "snapshot documents" instead of "versioned documents"... (in my mind, I can never tell whether "versioned" means the thing that changes or the thing that doesn't change.) @gobengo Oh, yeah, good idea. Of course, the presence of that string doesn't prove it's valid -- it could broken in lots of ways -- but I get the idea. Maybe we can just approach by committing that all contexts starting with that string will be compatible versions, so then its becomes a MAY, the consumers MAY assume this is an AS document, and proceed with appropriate parsing stacks, if it uses a context starting with that string. Well... still, what's the point? Either you're doing plain-old-json, in which case you need exactly AS2 as in the Rec, or your doing RDF, in which you never have any reason to look at the context string. Right? |
Some discussion re: versioning, semantic meaning, and extensibility from IRC yesterday:
so i don't know if this is a problem only for people who want immutable documents—this seems to be something that could happen between any two servers in the presence of mutating contexts. (unless these servers are full JSON-LD processors and always look up the context before generating every single document, which sounds ludicrous) i still don't know if I understand how versioned contexts solve this problem in practice either, especially for non-JSON-LD processors, which is a huge target use case for activitystreams. |
OK! Thank you to @trwnh for finding the history doc: https://www.w3.org/ns/activitystreams-history/ It looks like @plehegar dumped this whole dir out to a GitHub repo: Ideally, a PR to that repo would get the history document and updates pushed. |
There is a Primer document that describes how we make snapshot versions when we add new terms and how to use the snapshot versions. In terms of how we add new terms to the context, the Extensions Policy describes how and why we add extensions to the context doc. I think this issue is resolved. We have further discussion about if and how to change this policy, but for now it's documented. |
shouldn't we make a formal note that for example the versioning process is something like "copy the context to 1.x.jsonld and also hash it and copy it to hash.jsonld, then send a PR to w3c/ns on github"? assuming that is indeed the process EDIT: --> #589 |
In our meeting today, we agreed that we'd stick with our current system: use the regular https://www.w3.org/ns/activitystreams @context string, unless you need a version that stays bytewise identical every time, like for LDS, in which case use the versioning.
We agreed we'd document that process. I'd like to at least do it in the ERRATA document, and possibly in longer form somewhere else.
The text was updated successfully, but these errors were encountered: