!NasysSDfxKxZBzJJoE:matrix.org

#matrix-spec

1052 Members
Discussion of specific Matrix Spec Change proposals | https://matrix.org/docs/spec/proposals | Design draft folder at: https://drive.google.com/drive/folders/0B4wHq8qP86r2ck15MHEwMmlNVUk 336 Servers

Load older messages


SenderMessageTime
9 Jan 2020
@matthew:matrix.orgMatthewbut if you MSC it i suspect that would drop out quite quickly18:09:04
@sorunome:sorunome.deSorunomehttps://github.com/matrix-org/matrix-doc/pull/2403 🎉18:59:17
@sorunome:sorunome.deSorunomeAlso........this is bridge development next level. The current complaints of mx-puppet-bridge concerning non-1:1-channels can easily mitigated with this implemented XD19:02:35
@mscbot:amorgan.xyzmscbot[MSC2403] "MSC2403: Add "knock" feature" has been created: https://github.com/matrix-org/matrix-doc/pull/240319:02:44
@tulir:maunium.nettulir Sorunome: I think it's federation/v1, since the endpoint didn't exist before so it's the first version of the endpoint 19:06:58
@sorunome:sorunome.deSorunomeoki, thanks!19:07:17
@travis:t2l.ioTravisRit would be /v2 because it's federation API v219:07:45
@travis:t2l.ioTravisRthe versioning scheme is confusing19:07:58
@sorunome:sorunome.deSorunome oookay, /v2 it is, then updates MSC 19:08:09
@tulir:maunium.nettulir
In reply to @travis:t2l.io
it would be /v2 because it's federation API v2
wait what
19:10:43
@travis:t2l.ioTravisRyea, the whole API ratchets when we change the version number, but to avoid problems with readability we don't duplicate unchanged endpoints.19:11:48
@travis:t2l.ioTravisRThough in some cases it's unavoidable: see the identity server spec19:12:22
@travis:t2l.ioTravisRwait, did we ratchet the server spec yet?19:14:11
@tulir:maunium.nettulirthen why is it /v2 instead of /r119:14:25
@travis:t2l.ioTravisRyes we did, there's some stuff in there19:14:31
@sorunome:sorunome.deSorunomeinvite has both a v1 and a v2 endpoint19:14:48
@philip:trailingwhite.spacePhilip White joined the room.19:15:05
@travis:t2l.ioTravisR
In reply to @tulir:maunium.net
then why is it /v2 instead of /r1
the rX system has a problem of needing to bump the entire version of everything because it's directly tied to the spec version.
19:16:07
@travis:t2l.ioTravisRPositions are a bit divided in the team, but about half of us think that the rX system was a mistake 19:16:28
@travis:t2l.ioTravisRthough now that I think about it I might be wrong anyways19:17:37
* @travis:t2l.ioTravisR researches 19:17:41
@tulir:maunium.nettulir
In reply to @travis:t2l.io
the rX system has a problem of needing to bump the entire version of everything because it's directly tied to the spec version.
don't you still need to basically bump the version of everything if any breaking endpoint change increments everything?
19:18:38
@travis:t2l.ioTravisRyes, but with the vX system we can avoid having to duplicate every single endpoint. With rX we have to duplicate the entire spec.19:19:34
@travis:t2l.ioTravisRfor the vX endpoints there's still a rX version number, but instead of specifying the version in the endpoint to use it defines the collection of endpoints19:20:17
@travis:t2l.ioTravisRLike how Matrix 1.0 is just references to specific spec versions, and 1.1 would be the same.19:20:37
@travis:t2l.ioTravisRit would definitely be a fun exercise to actually ratchet the version of the client-server API though. Would really put the client and server version checks to work :p19:22:54
@tulir:maunium.nettulir
In reply to @travis:t2l.io
yes, but with the vX system we can avoid having to duplicate every single endpoint. With rX we have to duplicate the entire spec.
what if you had r0.1 instead of r0?
19:23:45
@travis:t2l.ioTravisRit would be a similar problem considering we're on r0.6 now19:24:07
@travis:t2l.ioTravisRI can't actually find any documentation on how the vX system is supposed to work, so it might be something for the MSC to work out.19:24:58
@travis:t2l.ioTravisRIt could easily be an "endpoint version", or it could be the iteration in which it was introduced.19:25:19

Show newer messages


Back to Room ListRoom Version: 5