10.1 Release Checklist: Difference between revisions

m
no edit summary
mNo edit summary
Line 1: Line 1:
{{Note|'''Timeline''' (tentative)
{{Note|'''Timeline''' (tentative)
* YYYY-MM-DD 🚀 Release Kick-off ⚽ (default branch merged to stable)
* YYYY-MM-DD 🚀 Release Kick-off ⚽ (default branch merged to stable)
* YYYY-MM-DD 🛠️ 1st release candidate **10.0.90** on <https://alpha.gnu.org/gnu/octave/>
* YYYY-MM-DD 🛠️ 1st release candidate '''10.0.90''' on https://alpha.gnu.org/gnu/octave/
* YYYY-MM-DD 🏁 Final Release 🎉 **10.1.0** on <https://ftp.gnu.org/gnu/octave/>}}
* YYYY-MM-DD 🏁 Final Release 🎉 '''10.1.0''' on https://ftp.gnu.org/gnu/octave/}}


:Please use <code>&lt;strike&gt; &lt;/strike&gt;</code> to mark items below as done.
Please use <code>&lt;strike&gt; &lt;/strike&gt;</code> to mark items below as done.


== 🚀 Kick-off ⚽ ==
== 🚀 Kick-off ⚽ ==
------------------------------------------------------------


=== ⚙️ Update stable and default branch to new version numbers ===
=== ⚙️ Update stable and default branch to new version numbers ===
Line 14: Line 13:
Completion Date:
Completion Date:


* Merge default onto stable to become the current stable release (see instructions in `etc/HACKING.md`).
* Merge default onto stable to become the current stable release (see instructions in <code>etc/HACKING.md</code>).
* Bump version numbers in `configure.ac` on stable branch (see `etc/HACKING.md`).
* Bump version numbers in <code>configure.ac</code> on stable branch (see <code>etc/HACKING.md</code>).
* Bump version numbers in `configure.ac` on default branch (see `etc/HACKING.md`).
* Bump version numbers in <code>configure.ac</code> on default branch (see <code>etc/HACKING.md</code>).
* Create new `etc/NEWS.VERSION+1.md` file on default branch by copying `etc/NEWS.VERSION.md` and then removing text so that it is a template file with headings only.
* Create new <code>etc/NEWS.11.md</code> file on default branch by copying <code>etc/NEWS.10.md</code> and then removing text so that it is a template file with headings only.


=== ⚙️ Update gnulib to latest version ===
=== ⚙️ Update gnulib to latest version ===
Line 23: Line 22:
Completion Date:
Completion Date:


*Must occur first* as it could resolve existing, or create new, bug reports. You should run `./bootstrap` in the source tree after updating to the new gnulib version.
'''Must occur first''' as it could resolve existing, or create new, bug reports. You should run <code>./bootstrap</code> in the source tree after updating to the new gnulib version.


=== 📢 Call for bug reports ===
=== 📢 Call for bug reports ===
Line 29: Line 28:
Completion Date:
Completion Date:


* Put out a general call for reports on [Octave Discourse](https://octave.discourse.group/) for all outstanding, but unreported, known bugs.
* Put out a general call for reports on [https://octave.discourse.group/ Octave Discourse] for all outstanding, but unreported, known bugs.
* Create Savannah `Release` tag `VERSION.0.90` on bug tracker for 1st release
* Create Savannah <code>Release</code> tag <code>10.0.90</code> on bug tracker for 1st release candidate.
  candidate.
* Mark items that should be fixed for the release with this tag.
* Mark items that should be fixed for the release with this tag.
* Update Savannah `Planned Release` and `Fixed Release` tags by adding
* Update Savannah <code>Planned Release</code> and <code>Fixed Release</code> tags by adding <code>10.1.0 (current stable)</code> and <code>11.1.0 (current default)</code>.
  `VERSION.1.0 (current stable)` and `VERSION+1.1.0 (current default)`.
* Review bug overview at https://octave.space/savannah/.
* Review bug overview at <https://octave.space/savannah/>.


=== 📢 Update GUI translation files ===
=== 📢 Update GUI translation files ===
Line 41: Line 38:
Completion Date:
Completion Date:


* Call for updates ([Octave Discourse](https://octave.discourse.group/)) that
* Call for updates ([https://octave.discourse.group/ Octave Discourse]) that might change GUI strings.
  might change GUI strings.
* String freeze date:
* String freeze date:
* Update language translation files (`*.ts`). See instructions in
* Update language translation files (<code>*.ts</code>). See instructions in <code>libgui/languages/build_ts/README.md</code>.
  `libgui/languages/build_ts/README.md`.
* Create bug report on Savannah as a centralized location for uploading files and tracking status of translations.
* Create bug report on Savannah as a centralized location for uploading files
* Call for translations of GUI strings on [https://octave.discourse.group/c/maintainers/7 Octave Discourse Maintainers], CC-ing the translators (see [https://hg.savannah.gnu.org/hgweb/octave/file/tip/libgui/languages/translators list of translators]).
  and tracking status of translations.
* Call for translations of GUI strings on [Octave Discourse Maintainers](https://octave.discourse.group/c/maintainers/7), CC-ing the translators (see [list of translators](https://hg.savannah.gnu.org/hgweb/octave/file/tip/libgui/languages/translators)).
* Collect translation files on Savannah bug report and push to Mercurial.
* Collect translation files on Savannah bug report and push to Mercurial.


Line 55: Line 49:
Completion Date:
Completion Date:


* Update copyright statements for all source controlled files.
<ul>
 
<li><p>Update copyright statements for all source controlled files.</p>
    Command to update copyright notifications
<p>Command to update copyright notifications</p>
 
<p><code>hg locate | xargs sed -i 's/Copyright (C) \([0-9][0-9][0-9][0-9]\)-2023 The Octave Project Developers/Copyright (C) \1-2024 The Octave Project Developers/; s/Copyright (C) 2023 The Octave Project Developers/Copyright (C) 2023-2024 The Octave Project Developers/'</code></p>
    `hg locate | xargs sed -i 's/Copyright (C) \([0-9][0-9][0-9][0-9]\)-2023 The Octave Project Developers/Copyright (C) \1-2024 The Octave Project Developers/; s/Copyright (C) 2023 The Octave Project Developers/Copyright (C) 2023-2024 The Octave Project Developers/'`
<p>Command to check results before checking in</p>
 
<p><code>hg diff | grep ^[-+][^-+] | sed 's/[0-9][0-9][0-9][0-9]-/YYYY-/' | sort -u</code></p></li>
    Command to check results before checking in
<li><p>Update dates in any other locations (<code>CITATION</code>, MXE <code>README.html</code> file).</p></li>
 
<li><p>Add any new contributors to <code>doc/interpreter/contributors.in</code> who wish to be mentioned (don’t add them without permission).</p></li></ul>
    `hg diff | grep ^[-+][^-+] | sed 's/[0-9][0-9][0-9][0-9]-/YYYY-/' | sort -u`
 
* Update dates in any other locations (`CITATION`, MXE `README.html` file).
* Add any new contributors to `doc/interpreter/contributors.in` who wish to be
  mentioned (don't add them without permission).


=== ✅ Style-check code base ===
=== ✅ Style-check code base ===
Line 73: Line 62:
Completion Date:
Completion Date:


This will produce lots of whitespace changes, but no behavior changes. **Must
This will produce lots of whitespace changes, but no behavior changes. '''Must occur after patches have been added''', since whitespace changes can prevent patches from applying.
occur after patches have been added**, since whitespace changes can prevent
patches from applying.


* [m-file style check](https://wiki.octave.org/Octave_style_guide)
* [https://wiki.octave.org/Octave_style_guide m-file style check]
* [C++ style check](https://wiki.octave.org/C%2B%2B_style_guide)
* [https://wiki.octave.org/C%2B%2B_style_guide C++ style check]


=== 📖 Review documentation ===
=== 📖 Review documentation ===
Line 84: Line 71:
Completion Date:
Completion Date:


* Grammar check documentation (See `doc/interpreter/doccheck/README`).
* Grammar check documentation (See <code>doc/interpreter/doccheck/README</code>).
* Spell check documentation (`make spellcheck`).
* Spell check documentation (<code>make spellcheck</code>).
* Verify no functions missing from manual
* Verify no functions missing from manual (<code>make doc/interpreter/undocumented_list</code>).
  (`make doc/interpreter/undocumented_list`).
* Verify deprecated functions removed from manual (<code>*.txi</code>) and from “see also” links.
* Verify deprecated functions removed from manual (`*.txi`) and from "see also"
  links.
* Verify all formats (Info, HTML, PDF) build correctly.
* Verify all formats (Info, HTML, PDF) build correctly.
* Review `etc/NEWS.VERSION.md` for any features which should be announced.
* Review <code>etc/NEWS.10.md</code> for any features which should be announced.
* Review `__unimplemented__.m` for the latest changes to
* Review <code>__unimplemented__.m</code> for the latest changes to [https://wiki.octave.org/Octave_Forge Octave Forge] packages and new Matlab functions.
  [Octave Forge](https://wiki.octave.org/Octave_Forge) packages and new Matlab
* Update <code>installer-files/README.html</code> in MXE Octave with version highlights.
  functions.
* Update `installer-files/README.html` in MXE Octave with version highlights.


== 🔃 Repeat until all bugs are resolved ==
== 🔃 Repeat until all bugs are resolved ==


------------------------------------------------------------


Completion Date of first iteration:
Completion Date of first iteration:
Line 105: Line 87:
=== ⚠️ Current state at Savannah ===
=== ⚠️ Current state at Savannah ===


Bug overview at <https://octave.space/savannah/>.
Bug overview at https://octave.space/savannah/.


=== ✅ `make check` ===
=== ✅ <code>make check</code> ===


* Verify `make check` is passing on all [buildbot combinations of OS and compilers](http://buildbot.octave.org:8010/=/waterfall) and [GitHub CI runners](https://github.com/gnu-octave/octave/actions). Also check [test suite runs on "freshly brewed Octave for Windows"](https://github.com/gnu-octave/octave-buildbot/actions) (Kai's buildbots on octave.space).
* Verify <code>make check</code> is passing on all [http://buildbot.octave.org:8010/#/waterfall buildbot combinations of OS and compilers] and [https://github.com/gnu-octave/octave/actions GitHub CI runners]. Also check [https://github.com/gnu-octave/octave-buildbot/actions test suite runs on “freshly brewed Octave for Windows”] (Kai’s buildbots on octave.space).
* Use software tools to check quality of Octave code.
* Use software tools to check quality of Octave code.
  * Check for memory leaks by configuring with
** Check for memory leaks by configuring with <code>--enable-address-sanitizer-flags</code> and compiling with <code>-g -O0 -fno-optimize-sibling-calls</code> in <code>CFLAGS</code>, <code>CXXFLAGS</code>, and <code>LDFLAGS</code>.
    `--enable-address-sanitizer-flags` and compiling with
** Check for bad memory accesses by compiling with <code>-g -O0 -fsanitize=undefined -fno-omit-frame-pointer   -fno-optimize-sibling-calls</code> in <code>CFLAGS</code>, <code>CXXFLAGS</code>, and <code>LDFLAGS</code>.
    `-g -O0 -fno-optimize-sibling-calls` in `CFLAGS`, `CXXFLAGS`, and
** Update static code analysis results.
    `LDFLAGS`.
*** For <code>clang</code>, do <code>scan-build make -j&lt;N&gt; all</code> and then <code>scan-view</code>.
  * Check for bad memory accesses by compiling with
*** See [https://wiki.octave.org/PVS_static_analyzer_-_5.0_Release PVS static analyzer - 5.0 Release].
    `-g -O0 -fsanitize=undefined -fno-omit-frame-pointer
** Use other tools such as <code>cppcheck</code>, etc.
    -fno-optimize-sibling-calls` in `CFLAGS`, `CXXFLAGS`, and `LDFLAGS`.
* Start discussion on [https://octave.discourse.group/c/maintainers/8 Octave Discourse Maintainers] about which failing tests that must be fixed and which can be declared '''WON’T FIX'''.
  * Update static code analysis results.
      * For `clang`, do `scan-build make -j<N> all` and then `scan-view`.
      * See [PVS static analyzer - 5.0 Release](https://wiki.octave.org/PVS_static_analyzer_-_5.0_Release).
  * Use other tools such as `cppcheck`, etc.
* Start discussion on [Octave Discourse Maintainers](https://octave.discourse.group/c/maintainers/8) about which failing tests that must be fixed and which can be declared **WON'T FIX**.


=== 🛠️ Create new release candidate ===
=== 🛠️ Create new release candidate ===


* Ensure correct version information (see "Release Numbering" in
* Ensure correct version information (see “Release Numbering” in <code>/etc/HACKING.md</code>).
  `/etc/HACKING.md`).
* Create <code>hg tag</code> in repository with release candidate version number (<code>rc-MAJOR-MINOR-PATCH</code>).
* Create `hg tag` in repository with release candidate version number
* Verify <code>make dist</code> works.
  (`rc-MAJOR-MINOR-PATCH`).
* Verify <code>make distcheck</code> passes.
* Verify `make dist` works.
* Create [https://wiki.octave.org/Windows_Installer Windows Installer].
* Verify `make distcheck` passes.
* Upload release candidates to https://alpha.gnu.org/gnu/octave/.
* Create [Windows Installer](https://wiki.octave.org/Windows_Installer).
* Check [https://wiki.octave.org/Windows_Installer Windows Installer] (executable and zip formats) against false positive detection at [https://virustotal.com/ virustotal.com].
* Upload release candidates to <https://alpha.gnu.org/gnu/octave/>.
* Check [Windows Installer](https://wiki.octave.org/Windows_Installer)
  (executable and zip formats) against false positive detection at
  [virustotal.com](https://virustotal.com/).
* Add release candidate version to Savannah bug tracker.
* Add release candidate version to Savannah bug tracker.
* Announce release candidate to
* Announce release candidate to [https://octave.discourse.group/ Octave Discourse].
  [Octave Discourse](https://octave.discourse.group/).


== 🏁 Final Release 🎉 ==
== 🏁 Final Release 🎉 ==
------------------------------------------------------------


=== 📃 Update version information ===
=== 📃 Update version information ===
Line 149: Line 119:
Completion Date:
Completion Date:


* Ensure correct version information in `configure.ac` (see "Release Numbering"
* Ensure correct version information in <code>configure.ac</code> (see “Release Numbering” in <code>/etc/HACKING.md</code>)
  in `/etc/HACKING.md`)
** Set <code>OCTAVE_RELEASE_DATE</code> to the current date.
  * Set `OCTAVE_RELEASE_DATE` to the current date.
** Set the year in <code>OCTAVE_COPYRIGHT</code> to the current year.
  * Set the year in `OCTAVE_COPYRIGHT` to the current year.
* Create <code>hg tag</code> in repository with release candidate version number (<code>release-10-1-0</code>).
* Create `hg tag` in repository with release candidate version number
* Update <code>etc/NEWS.10.md</code> (final release date in Summary header).
  (`release-VERSION-1-0`).
* Update <code>CITATION</code> (version, year, URL) if not already done as part of &quot;GPL License activities.
* Update `etc/NEWS.VERSION.md` (final release date in Summary header).
* Update <code>etc/icons/org.octave.Octave.appdata.xml</code> (version number and release date).
* Update `CITATION` (version, year, URL) if not already done as part of "GPL
* Upload all tarballs to https://ftp.gnu.org/gnu/octave/.
  License activities.
* Update web site files: <code>NEWS-10.html</code>, <code>index.in</code>, <code>news.in</code>, and <code>download.in</code>.
* Update `etc/icons/org.octave.Octave.appdata.xml` (version number and release
* Update https://wiki.octave.org/Release_History page.
  date).
* Update Savannah bug tracker <code>Release</code> field to have new release number.
* Upload all tarballs to <https://ftp.gnu.org/gnu/octave/>.
* Update Savannah bug tracker: '''OPEN''' bugs marked as '''WON’T FIX''' should be marked as '''CONFIRMED''' (or more appropriate) for the final release.
* Update web site files: `NEWS-VERSION.html`, `index.in`, `news.in`, and
* Hide release candidate versions for <code>Release</code> field on Savannah.
  `download.in`.
* Update <https://wiki.octave.org/Release_History> page.
* Update Savannah bug tracker `Release` field to have new release number.
* Update Savannah bug tracker: **OPEN** bugs marked as **WON'T FIX** should be
  marked as **CONFIRMED** (or more appropriate) for the final release.
* Hide release candidate versions for `Release` field on Savannah.


=== 📢 Announce final release ===
=== 📢 Announce final release ===
Line 173: Line 137:
Completion Date:
Completion Date:


* Octave mailing-lists (yes, still) <help@octave.org> and <info-gnu@gnu.org>.
* Octave mailing-lists (yes, still) [mailto:help@octave.org help@octave.org] and [mailto:info-gnu@gnu.org info-gnu@gnu.org].
* Octave web site (<https://hg.octave.org/web-octave>)
* Octave web site (https://hg.octave.org/web-octave)
* Steps documented in this
* Steps documented in this [https://hg.octave.org/web-octave/rev/fe59d0118a2b changeset].
  [changeset](https://hg.octave.org/web-octave/rev/fe59d0118a2b).
* Upload documentation (manual HTML + PDF <code>octave.org/doc</code> and version in <code>octave.org/.htaccess</code>, Doxygen <code>octave.org/doxygen</code>)
* Upload documentation (manual HTML + PDF `octave.org/doc` and version in
  `octave.org/.htaccess`, Doxygen `octave.org/doxygen`)
* This wiki
* This wiki
* Template:Release = 7.3.0
* Template:Release = 7.3.0
Line 188: Line 150:
Completion Date:
Completion Date:


* Remove all deprecated functions scheduled for deletion on default
* Remove all deprecated functions scheduled for deletion on default branch. These functions are tagged with <code>OCTAVE_DEPRECATED</code> in C++ or are m-files located in the directory <code>scripts/deprecated</code>. Check file <code>etc/NEWS.8.md</code> for list of features that have been deprecated.
  branch. These functions are tagged with `OCTAVE_DEPRECATED` in C++ or are
  m-files located in the directory `scripts/deprecated`. Check file
  `etc/NEWS.VERSION-2.md` for list of features that have been deprecated.
1,134

edits