Repository navigation
Description
Problem
Almost all items in this spec are Sendspin items. Thus the prefix "Sendspin" on a defined term adds length, but it adds no data.
The body text already agrees. The bare words "client", "server", "group" and "stream" occur more than 1000 times. All five references to the trust level omit the prefix. The terms "long-term PSK" and "Pairing PSK" also occur without the prefix.
Change
Remove the prefix from each term below. Do this term by term, not with one general rule.
| Term in the Definitions | Change | Reason |
|---|---|---|
| Sendspin Server | Server | The body text uses "server" approximately 484 times. Keep the prefix in the discovery text in connection.md. |
| Sendspin Client | Client | The body text uses "client" approximately 468 times. Keep the prefix in two locations in connection.md, see below. |
| Sendspin Group | Group | The spec has no other type of group. |
| Sendspin Stream | Stream | The prefix occurs only in the definition. The body text uses "stream" approximately 85 times. |
| Sendspin Identity | Identity | No other section refers to this term. |
| Sendspin PSK | long-term PSK | Do not use the bare term "PSK", see below. |
| Sendspin Pairing PSK | Pairing PSK | pairing.md and management.md already use the bare term. |
| Sendspin Pairing Code | Pairing Code | pairing.md already uses the bare term. Only the definition links use the prefix. |
| Sendspin Trust Level | Trust Level | All five references already use the bare term. |
Two exceptions
Do not use the bare term "PSK" for the long-term PSK. The spec has three PSKs, and the server/activate table shows all three together. The spec also uses "PSK" and psk_id in a general sense. Thus change this term to "long-term PSK". The spec already uses this name in five locations.
Keep the prefix in connection.md at two locations. With a server-initiated connection, the Sendspin client is the WebSocket listener. Thus "Sendspin client" and "WebSocket client" are different, and the prefix is necessary.
Also keep the prefix in the adjective form. The section External Source Handling uses "Sendspin playback" and "non-Sendspin activity". Here the difference is the function of the sentence. The file roles/source/v1.md does the same.
Notes
This change is editorial. It does not affect the wire. It does not change a message type, a field name, or the service types _sendspin._tcp and _sendspin-server._tcp.
All definition links point to the section anchor README.md#definitions. Thus no link breaks.
README.md is a generated file. Generate it again after the change.
Issue #141 also changes "Sendspin PSK" to "long-term PSK". Complete one issue, then remove this row from the other issue.
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
docs: record the editorial rules in CONTRIBUTING.md (#165)