1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 06:01:15 +00:00

fixup! nixos/doc/releases: update the docs as promised

This commit is contained in:
Jan Tojnar 2020-08-16 03:59:29 +02:00 committed by Jon
parent f2e98e8b36
commit 951efe41e1

View file

@ -41,14 +41,10 @@
<para> <para>
From the master branch run: From the master branch run:
</para> </para>
</listitem>
</orderedlist>
<programlisting> <programlisting>
git checkout -b release-19.09 git checkout -b release-19.09
</programlisting> </programlisting>
</listitem>
<orderedlist>
<listitem> <listitem>
<para> <para>
<link xlink:href="https://github.com/NixOS/nixpkgs/commit/10e61bf5be57736035ec7a804cb0bf3d083bf2cf#diff-9c798092bac0caeb5c52d509be0ca263R69">Bump the <literal>system.defaultChannel</literal> attribute in <literal>nixos/modules/misc/version.nix</literal></link> <link xlink:href="https://github.com/NixOS/nixpkgs/commit/10e61bf5be57736035ec7a804cb0bf3d083bf2cf#diff-9c798092bac0caeb5c52d509be0ca263R69">Bump the <literal>system.defaultChannel</literal> attribute in <literal>nixos/modules/misc/version.nix</literal></link>
@ -79,12 +75,10 @@ git rev-list --count release-19.09
<para> <para>
Get all new NixOS modules: Get all new NixOS modules:
</para> </para>
</listitem>
</itemizedlist>
<programlisting> <programlisting>
git diff release-19.03..release-19.09 nixos/modules/module-list.nix | grep ^+ git diff release-19.03..release-19.09 nixos/modules/module-list.nix | grep ^+
</programlisting> </programlisting>
<itemizedlist> </listitem>
<listitem> <listitem>
<para> <para>
Note systemd, kernel, glibc, desktop environment, and Nix upgrades. Note systemd, kernel, glibc, desktop environment, and Nix upgrades.
@ -96,27 +90,19 @@ git diff release-19.03..release-19.09 nixos/modules/module-list.nix | grep ^+
<para> <para>
Tag the release: Tag the release:
</para> </para>
</listitem>
</orderedlist>
<programlisting> <programlisting>
git tag --annotate --message="Release 19.09-beta" 19.09-beta git tag --annotate --message="Release 19.09-beta" 19.09-beta
git push upstream 19.09-beta git push upstream 19.09-beta
</programlisting> </programlisting>
</listitem>
<orderedlist>
<listitem> <listitem>
<para> <para>
<link xlink:href="https://github.com/NixOS/nixpkgs/commit/01268fda85b7eee4e462c873d8654f975067731f#diff-2bc0e46110b507d6d5a344264ef15adaR1">On the <literal>master</literal> branch, increment the <literal>.version</literal> file</link> <link xlink:href="https://github.com/NixOS/nixpkgs/commit/01268fda85b7eee4e462c873d8654f975067731f#diff-2bc0e46110b507d6d5a344264ef15adaR1">On the <literal>master</literal> branch, increment the <literal>.version</literal> file</link>
</para> </para>
</listitem>
</orderedlist>
<programlisting> <programlisting>
echo -n "20.03" > .version echo -n "20.03" > .version
</programlisting> </programlisting>
</listitem>
<orderedlist>
<listitem> <listitem>
<para> <para>
<link xlink:href="https://github.com/NixOS/nixpkgs/commit/01268fda85b7eee4e462c873d8654f975067731f#diff-03f3d41b68f62079c55001f1a1c55c1dR137">Update <literal>codeName</literal> in <literal>lib/trivial.nix</literal></link> This will be the name for the next release. <link xlink:href="https://github.com/NixOS/nixpkgs/commit/01268fda85b7eee4e462c873d8654f975067731f#diff-03f3d41b68f62079c55001f1a1c55c1dR137">Update <literal>codeName</literal> in <literal>lib/trivial.nix</literal></link> This will be the name for the next release.
@ -195,7 +181,7 @@ echo -n "20.03" > .version
<orderedlist> <orderedlist>
<listitem> <listitem>
<para> <para>
Update <quote>Chapter 4. Upgrading NixOS</quote> section of the manual to match new stable release version. Update <xref linkend="sec-upgrading" /> section of the manual to match new stable release version.
</para> </para>
</listitem> </listitem>
<listitem> <listitem>
@ -207,15 +193,11 @@ echo -n "20.03" > .version
<para> <para>
Tag the final release Tag the final release
</para> </para>
</listitem>
</orderedlist>
<programlisting> <programlisting>
git tag --annotate --message="Release 19.09" 19.09 git tag --annotate --message="Release 19.09" 19.09
git push upstream 19.09 git push upstream 19.09
</programlisting> </programlisting>
</listitem>
<orderedlist>
<listitem> <listitem>
<para> <para>
Update <link xlink:href="https://github.com/NixOS/nixos-homepage">nixos-homepage</link> for the release. Update <link xlink:href="https://github.com/NixOS/nixos-homepage">nixos-homepage</link> for the release.
@ -261,20 +243,27 @@ git push upstream 19.09
</orderedlist> </orderedlist>
<para> <para>
You should include the following information: - Number of commits for the release: <literal>bash git log release-19.03..release-19.09 --format=%an | wc -l</literal> You should include the following information:
</para> </para>
<itemizedlist> <itemizedlist>
<listitem>
<para>
Number of commits for the release:
</para>
<programlisting>
bash git log release-19.03..release-19.09 --format=%an | wc -l
</programlisting>
</listitem>
<listitem> <listitem>
<para> <para>
Commits by contributor: Commits by contributor:
</para> </para>
</listitem>
</itemizedlist>
<programlisting> <programlisting>
git shortlog --summary --numbered release-19.03..release-19.09 git shortlog --summary --numbered release-19.03..release-19.09
</programlisting> </programlisting>
</listitem>
</itemizedlist>
<para> <para>
Best to check how the previous post was formulated to see what needs to be included. Best to check how the previous post was formulated to see what needs to be included.