-
flow
nav, assuming that "that" is what I think it is, then yes
-
flow
I've left a comment✎ -
flow
I've left a comment on https://github.com/xsf/xeps/issues/1173 ✏
-
nav
flow: 👍 – Good point about the versions. Would versioned XMLs + symlink to latest address some of the drawbacks?
-
flow
nav some yes, but the main problem is that if you refer to a XEP of e.g. version 1.2.1, then you most likely actually want to refer to 1.2 instead
-
flow
I think ideally XEP versions are coupled with the XEPs namespace (if any), and minor versions of XEP are increment on namespace change
-
flow
but I am not aware that we have such a policy
-
flow
ideally it would be easy to establish one
-
Zash
Does the XEP on versioned namespaces say anything on that?
-
flow
Zash, not sure, but IIRC the other XEP mentions that the XEP version should be raised when the XEP status changes from experimental to stable
-
flow
which would be not ideal, because we can't couple XEP versions to the XEP state *and* to the XEPs namespace
-
Kev
We can't couple it to the XEP's namespace anyway, because XEPs have several namespaces, deliberately independent.
-
flow
some XEPs have that
-
flow
I guess bumping the, probably minor version, of a XEP once any namespace of ther XEP is bumped would work
-
flow
the point is, as soon as any namespace the XEP uses is bumped, the XEP is not longer the same XEP as before. and if you want stable references, which is always what you want, then you should take that into consideration
-
flow
and we as bibliography providing entity should ensure that it is possible that this is accounted for
-
Kev
Any change to a namespace forces a version bump of the XEP.
-
flow
who forces the bump? i may have read something like that in some procedure XEP, but I am not sure. and what kind of version bump are we talking about? major version?
-
Kev
Major is only bumped on status change.
-
flow
which is kind of odd
-
Kev
But also makes sense.
-
flow
just because the status changed doesn't mean that it is a different XEP
-
flow
I don't think I aggree that a major version bump on xep status change is sensible
-
Zash
It follows some kind of SemVer, right?
-
flow
"You need to implement XEP-0123 version 1.0" "oh, damn, I only implemented XEP-0123 Version 1.0"
-
flow
"ahh wait, it's the exact same protocol and XEP"
-
Zash
What's even the problem here?
-
Kev
Zash: "some kind"
-
Kev
0 - experimental, 1 - draft, 2 - final
-
Kev
For x
-
Kev
For y, every change is breaking.
-
Kev
For z, no change is breaking.
-
flow
Zash, I write an paper which references XEP-0123
-
flow
but without mentioning the XEPs version, a future reader may look at a totally different XEP
-
flow
take OMEMO as a prime example
-
Zash
"At the time of this writing, the latest version of XEP-0123 is 0.3" in a footnote?
-
flow
Zash, sure, but then my example above
-
flow
"You need to implement XEP-0123 version 2.0" "oh, damn, I only implemented XEP-0123 Version 1.0" "ahh wait, it's the exact same protocol and XEP"
-
flow
(now with fixed versions ;))
-
flow
+ we don't have stable links to versioned XEPs
-
flow
which would be kinda nice to have
-
Zash
I think that's just something you have to deal with.
-
flow
"that" being?
-
Zash
RFC style documents set in stone forever is nice, until a change is needed.
-
Zash
flow, the "living specification" thing
-
flow
I think it would be possilbe to hit a sweet spot between what we do know and RFC-style-set-in-stone documents
-
flow
that is, publish every version of the XEP + don't bump versions of XEP status changes
-
flow
xmpp.org/extensions/0123/version/1.0
-
flow
and xmpp.org/extensions/0123/namespace/1 for single namespace XEPs
-
Zash
The version changes with typo corrections too.
-
flow
and xmpp.org/extensions/0123/diff/by-version/1.0/1.3
-
flow
and of course, get rid of the stupid numbers and use the unique short names of xeps
-
flow
xmpp.org/extensions/0123/mam/version/1.0✎ -
flow
xmpp.org/extensions/mam/version/1.0 ✏
-
flow
Zash, that's perfectly fine, versions are cheap
-
nav
> and of course, get rid of the stupid numbers and use the unique short names of xeps Numbers are convenient.
-
nav
Same as with RFCs, we tend to remember them by number, for the ones we use more often.
-
nav
Also, I often short links are best. Both because of quoting in code comments and because they're easier to type.
-
nav
As for the issue of citations, just assign a unique number (such as a DOI) to each published version and cite that.
-
nav
s/unique number/unique identifier/
-
flow
I certainly don't remember XEPs by numbers but by short names. XEP CSI, what number was it again?
-
flow
I now the numbers of a few XEPs, but I certainly know more XEPs by their short name
-
flow
I don't think there is a reason to use a number instead of the short name in most places
-
Kev
I think it's a great idea to use shortnames in references. Particularly because XEP numbers are immutable, and that's just a bore in a reference. Mutable things like shortnames work much better.
-
flow
I don't think of shortnames as mutable, granted, not sure if this is specified