git.iko.soy/typeable/nixpkgs
on master help sign in
release documentation: update to current procedure
commitde31f879bd1a08ed35f9e3b632a5ab22837b58be authorRobin Gloster <mail@glob.in> dateWed 30 Aug 2017, 22:23 (9 years ago) parenta8f0b18
1 file changed+40−27
nixos/doc/manual/development/releases.xml+40−27
nixos/doc/manual/development/releases.xml+40−27
@@ -10,7 +10,7 @@
1010 <title>Release process</title>
1111
1212 <para>
13− Going through an example of releasing NixOS 15.09:
13+ Going through an example of releasing NixOS 17.09:
1414 </para>
1515
1616 <section xml:id="one-month-before-the-beta">
@@ -18,13 +18,13 @@
1818 <itemizedlist spacing="compact">
1919 <listitem>
2020 <para>
21− Send an email to nix-dev mailinglist as a warning about upcoming beta "feature freeze" in a month.
21+ Send an email to the nix-devel mailinglist as a warning about upcoming beta "feature freeze" in a month.
2222 </para>
2323 </listitem>
2424 <listitem>
2525 <para>
2626 Discuss with Eelco Dolstra and the community (via IRC, ML) about what will reach the deadline.
27− Any issue or Pull Request targeting the release should have assigned milestone.
27+ Any issue or Pull Request targeting the release should be included in the release milestone.
2828 </para>
2929 </listitem>
3030 </itemizedlist>
@@ -34,60 +34,63 @@
3434 <itemizedlist spacing="compact">
3535 <listitem>
3636 <para>
37− Rename <literal>rl-unstable.xml</literal> -&gt;
38− <literal>rl-1509.xml</literal>.
37+ Create a new release notes file for the upcoming release + 1, in this
38+ case <literal>rl-1803.xml</literal>.
3939 </para>
4040 </listitem>
4141 <listitem>
4242 <para>
43− <literal>git tag -a -m &quot;Release 15.09-beta&quot; 15.09-beta &amp;&amp; git push --tags</literal>
43+ <literal>git tag -a -s -m &quot;Release 17.09-beta&quot; 17.09-beta &amp;&amp; git push --tags</literal>
4444 </para>
4545 </listitem>
4646 <listitem>
4747 <para>
48− From the master branch run <literal>git checkout -B release-15.09</literal>.
48+ From the master branch run <literal>git checkout -B release-17.09</literal>.
4949 </para>
5050 </listitem>
5151 <listitem>
5252 <para>
5353 <link xlink:href="https://github.com/NixOS/nixos-org-configurations/pull/18">
54− Make sure channel is created at http://nixos.org/channels/.
54+ Make sure a channel is created at http://nixos.org/channels/.
5555 </link>
5656 </para>
5757 </listitem>
5858 <listitem>
5959 <para>
6060 <link xlink:href="https://github.com/NixOS/nixpkgs/settings/branches">
61− Lock the branch on github (so developers can’t force push)
61+ Let a GitHub nixpkgs admin lock the branch on github for you.
62+ (so developers can’t force push)
6263 </link>
6364 </para>
6465 </listitem>
6566 <listitem>
6667 <para>
67− <link xlink:href="https://github.com/NixOS/nixpkgs/compare/bdf161ed8d21...6b63c4616790">bump
68− <literal>system.defaultChannel</literal> attribute in
69− <literal>nixos/modules/misc/version.nix</literal></link>
68+ <link xlink:href="https://github.com/NixOS/nixpkgs/compare/bdf161ed8d21...6b63c4616790">
69+ Bump the <literal>system.defaultChannel</literal> attribute in
70+ <literal>nixos/modules/misc/version.nix</literal>
71+ </link>
7072 </para>
7173 </listitem>
7274 <listitem>
7375 <para>
74− <link xlink:href="https://github.com/NixOS/nixpkgs/commit/d6b08acd1ccac0d9d502c4b635e00b04d3387f06">update
75− <literal>versionSuffix</literal> in
76+ <link xlink:href="https://github.com/NixOS/nixpkgs/commit/d6b08acd1ccac0d9d502c4b635e00b04d3387f06">
77+ Update <literal>versionSuffix</literal> in
7678 <literal>nixos/release.nix</literal></link>, use
77− <literal>git log --format=%an|wc -l</literal> to get commit
79+ <literal>git log --format=%an|wc -l</literal> to get the commit
7880 count
7981 </para>
8082 </listitem>
8183 <listitem>
8284 <para>
83− <literal>echo -n &quot;16.03&quot; &gt; .version</literal> in
85+ <literal>echo -n &quot;18.03&quot; &gt; .version</literal> on
8486 master.
8587 </para>
8688 </listitem>
8789 <listitem>
8890 <para>
89− <link xlink:href="https://github.com/NixOS/nixpkgs/commit/b8a4095003e27659092892a4708bb3698231a842">pick
90− a new name for unstable branch.</link>
91+ <link xlink:href="https://github.com/NixOS/nixpkgs/commit/b8a4095003e27659092892a4708bb3698231a842">
92+ Pick a new name for the unstable branch.
93+ </link>
9194 </para>
9295 </listitem>
9396 <listitem>
@@ -99,26 +102,20 @@
99102 </listitem>
100103 <listitem>
101104 <para>
102− Use https://lwn.net/Vulnerabilities/ and
103− <link xlink:href="https://github.com/NixOS/nixpkgs/search?utf8=%E2%9C%93&amp;q=vulnerabilities&amp;type=Issues">triage vulnerabilities in an issue</link>.
104− </para>
105− </listitem>
106− <listitem>
107− <para>
108− Create two Hydra jobsets: release-15.09 and release-15.09-small with <literal>stableBranch</literal> set to false
105+ Create two Hydra jobsets: release-17.09 and release-17.09-small with <literal>stableBranch</literal> set to false.
109106 </para>
110107 </listitem>
111108 <listitem>
112109 <para>
113110 Edit changelog at
114− <literal>nixos/doc/manual/release-notes/rl-1509.xml</literal>
111+ <literal>nixos/doc/manual/release-notes/rl-1709.xml</literal>
115112 (double check desktop versions are noted)
116113 </para>
117114 <itemizedlist spacing="compact">
118115 <listitem>
119116 <para>
120117 Get all new NixOS modules
121− <literal>git diff release-14.12..release-15.09 nixos/modules/module-list.nix|grep ^+</literal>
118+ <literal>git diff release-17.03..release-17.09 nixos/modules/module-list.nix|grep ^+</literal>
122119 </para>
123120 </listitem>
124121 <listitem>
@@ -130,9 +127,25 @@
130127 </listitem>
131128 </itemizedlist>
132129 </section>
130+ <section xml:id="during-beta">
131+ <title>During Beta</title>
132+ <itemizedlist spacing="compact">
133+ <listitem>
134+ <para>
135+ Monitor the master branch for bugfixes and minor updates
136+ and cherry-pick them to the release branch.
137+ </para>
138+ </listitem>
139+ </itemizedlist>
140+ </section>
133141 <section xml:id="before-the-final-release">
134142 <title>Before the final release</title>
135143 <itemizedlist spacing="compact">
144+ <listitem>
145+ <para>
146+ Re-check that the release notes are complete.
147+ </para>
148+ </listitem>
136149 <listitem>
137150 <para>
138151 Release Nix (currently only Eelco Dolstra can do that).