Closing a chapter writes its wave
Closing a chapter, in the web page or in the terminal, writes the chapter's
wave: waves/<version>.md on the repository's default branch, committed as the
person who closed it (Wave <version>: <name> closed).
What it holds
- The version: the chapter's name without the
v, filled out to three parts (v1.1.0is 1.1.0,v2is 2.0.0,1.4is 1.4.0). - The date the chapter closed.
- One plain sentence naming what shipped:
v1.1.0 shipped 12 changes: Item 1, Item 2, Item 3, and 9 more. - A highlight for each of up to five shipped issues.
- Links to up to ten of the pulls that shipped them, each pull once.
Where it lands
On the repository's waves page, /<owner>/<repo>/waves/<version>, and on the waves screen in the terminal,
like any hand-written wave.
When no wave is written
- The chapter's name is not a version (a chapter called
alpha). - Nothing in the chapter is done.
- A wave file for that version is already there. A reopen and a re-close leaves the file alone, so a wave you edited by hand keeps your words.
- The write fails. The chapter is closed either way; the failure is logged.
Choices
A hand-written wave needs three to five highlights (checkWave). A chapter's
wave is built from what shipped, so it may have one to five.
The wave is committed straight to the default branch, not proposed as a pull,
so it does not go through the pull queue. cut_wave is the way to propose one.