Skip to content

Commit efde938

Browse files
rvaggrichardlau
andcommitted
Add notes about default track (#4)
Co-authored-by: Richard Lau <[email protected]>
1 parent 0dd20fb commit efde938

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

README.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ The Snap managed from this repository is available as `node` from the Snap store
1717
* [Building Snaps](#building-snaps)
1818
* [Adding new release lines](#adding-new-release-lines)
1919
* [Removing old release lines](#removing-old-release-lines)
20+
* [Default release line](#default-release-line)
2021

2122
## Installation
2223

@@ -111,4 +112,12 @@ Note that at the time of writing, Snap store authorization for Launchpad has an
111112

112113
#### Removing old release lines
113114

114-
When release lines stop seeing new releases, they can be removed from [.github/workflows/cron.yml](./.github/workflows/cron.yml). This stops the entire pipeline from running (although changes to the relevant branch will not even occur without new releases on nodejs.org). The Snap configuration in Launchpad can also be removed but this is not strictly necessary.
115+
When release lines stop seeing new releases, they can be removed from [.github/workflows/cron.yml](./.github/workflows/cron.yml). This stops the entire pipeline from running (although changes to the relevant branch will not even occur without new releases on nodejs.org). The Snap configuration in Launchpad can also be removed but this is not strictly necessary.
116+
117+
### Default release line
118+
119+
Snaps can have a "default" track. This default determines which track is installed if the user doesn't set one (e.g. with `sudo snap install node`). It is up to the Snap author to set this default and update it as appropriate. Users don't follow the default track, it only determines the starting track at time of install. Changing default in the Snap store doesn't impact existing users, only new installs
120+
121+
The Node.js Snap should have its "default" set to the most recent LTS. This can be done in the Releases page by a Node.js Snap administrator: https://snapcraft.io/node/releases and should be done as soon as a release line enters **Active LTS** as per the [Release Schedule](https://github.com/nodejs/release#release-schedule).
122+
123+
This is a manual procedure and may require reminders posted to this repository from the community.

0 commit comments

Comments
 (0)