Skip to content

Commit

Permalink
Add notes about default track (#4)
Browse files Browse the repository at this point in the history
Co-authored-by: Richard Lau <rlau@redhat.com>
  • Loading branch information
rvagg and richardlau committed Apr 21, 2021
1 parent 810d894 commit b47c08f
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ The Snap managed from this repository is available as `node` from the Snap store
* [Building Snaps](#building-snaps)
* [Adding new release lines](#adding-new-release-lines)
* [Removing old release lines](#removing-old-release-lines)
* [Default release line](#default-release-line)

## Installation

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

#### Removing old release lines

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.
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.

### Default release line

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

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).

This is a manual procedure and may require reminders posted to this repository from the community.

0 comments on commit b47c08f

Please sign in to comment.