aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-21 22:56:32 +0000
committertv <tv@krebsco.de>2026-11-21 22:56:42 +0000
commit2a9ebe39770754975f3b701a1dbd9127af323ffb (patch)
tree0b8035e621d18b555d2523681e2247deba984127 /docs
parent3507e96d8402ea681343a4b3d63aa87bdceb022f (diff)
release: before 1.0.0, versions read as Cargo reads them
Of 0.Y.Z, a flag day raises Y, a release one node at a time raises Z: the first part that isn't 0 is the major one, so releases before 1.0.0 practise the same kinds of bumps as those after. scripts/release refuses a flag day that doesn't raise it (leading), where before 1.0.0 it took any. The docs' examples release 0.1.0 next: 0.0.2 would read as a flag day after 0.0.1.
Diffstat (limited to 'docs')
-rw-r--r--docs/development.md15
-rw-r--r--docs/guides/federation/upgrades.md3
-rw-r--r--docs/operations.md4
3 files changed, 12 insertions, 10 deletions
diff --git a/docs/development.md b/docs/development.md
index 2ad5bd6..0e98af2 100644
--- a/docs/development.md
+++ b/docs/development.md
@@ -112,9 +112,9 @@ upgrade to it from the release before ([`operations.md`](operations.md),
[Upgrading](operations.md#upgrading)). `scripts/release` makes one, and pushes nothing:
```sh
-scripts/release --dry-run 0.0.2 # checks, and says what it would write
-scripts/release 0.0.2 # the same, then commits and tags
-git push origin HEAD v0.0.2
+scripts/release --dry-run 0.1.0 # checks, and says what it would write
+scripts/release 0.1.0 # the same, then commits and tags
+git push origin HEAD v0.1.0
```
It takes a clean tree with notes under Unreleased in [`CHANGELOG.md`](../CHANGELOG.md), and a
@@ -124,16 +124,15 @@ stops at the first that fails, leaving the tree as it was. It builds the last re
and compares what the two say they are (`continuum --version`):
* **wire versions**: where they share one, the release rolls out node by node; where
- they don't, every node upgrades together, which from 1.0.0 on only a major release
- may ask. `scripts/wire-check` checks it, by a swarm of the last release's nodes and
- this tree's (below);
+ they don't, every node upgrades together, which only a major release may ask (before
+ 1.0.0, the first part that isn't 0: `0.2.0` after `0.1.1`). `scripts/wire-check` checks
+ it, by a swarm of the last release's nodes and this tree's (below);
* **Automerge**: where it differs, nobody remakes until every node runs the release;
* **the federation's revisions**: a release knowing a later one than the last is
tagged `federation-<F>.<R>` too, so that later releases are checked against it.
What it finds heads the release's notes in the change log and its tag's message, with
-what the build speaks and knows, and the notes. Before 1.0.0 every upgrade may still be
-taken as a flag day, but the notes say when it isn't.
+what the build speaks and knows, and the notes.
`scripts/wire-check [TAG]` (the last release unless given) runs four nodes on this host,
over libp2p on loopback: two of the tag's build and two of this tree's, in turns. Where
diff --git a/docs/guides/federation/upgrades.md b/docs/guides/federation/upgrades.md
index 778f8c5..92cedc4 100644
--- a/docs/guides/federation/upgrades.md
+++ b/docs/guides/federation/upgrades.md
@@ -14,7 +14,8 @@ node at a time, a major one every node close together. Nodes write each other th
wire version both speak; where two releases share none, a major one, upgraded nodes and
the others don't talk, and the swarm is split until all are upgraded. A remake needs the
same Automerge on every node, and one with another rejoins instead of switching. Before
-1.0.0, a release's tag says whether it is a flag day.
+1.0.0, the first part of the version that isn't 0 counts as the major one (`0.2.0` after
+`0.1.1` is a flag day).
Nobody runs every node of a federated swarm: each party's operators upgrade its nodes. A
patch or minor release each party takes when it likes; for a major one, agree on when,
diff --git a/docs/operations.md b/docs/operations.md
index 4f3d6f2..027cb64 100644
--- a/docs/operations.md
+++ b/docs/operations.md
@@ -107,7 +107,9 @@ how to upgrade to it from the release before:
before left, or the API or `continuum-party` changes other than by adding, or it makes
a new federation.
-Before 1.0.0, any release may be a flag day; its tag's message says whether it is.
+Before 1.0.0, versions read as Cargo reads them: the first part that isn't 0 is the
+major one. So of `0.Y.Z`, a flag day raises `Y` (`0.2.0`), and a release one node at a
+time, fixing or adding, raises `Z` (`0.1.1`).
What decides which builds work together, a build says (`-V` the release alone): the wire
versions it speaks, the federation and the revisions of it it knows (with the