10.1 Release Checklist: Difference between revisions

From Octave
Jump to navigation Jump to search
m (Mark items done)
m (Mark item done)
 
(28 intermediate revisions by 3 users not shown)
Line 18: Line 18:
* 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. </strike>
* 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. </strike>


=== ⚙️ Update gnulib to latest version ===
=== ⚙️ <strike> Update gnulib to latest version </strike> ===


Completion Date:
Completion Date: 2025-02-08


'''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.
<strike> '''Must occur first''' as it could resolve existing, or create new, bug reports. The simple update command is <code>gnulib-tool --add-import</code> followed by running <code>./bootstrap</code> in the source tree. </strike>


=== 📢 <strike> Call for bug reports </strike> ===
=== 📢 <strike> Call for bug reports </strike> ===
Line 34: Line 34:
* Review bug overview at https://octave.space/savannah/.
* Review bug overview at https://octave.space/savannah/.


=== 📢 Update GUI translation files ===
=== 📢 <strike> Update GUI translation files </strike> ===


Completion Date:
Completion Date: 2025-02-22


* WON'T DO <strike> Call for updates ([https://octave.discourse.group/ Octave Discourse]) that might change GUI strings. </strike>
* WON'T DO <strike> Call for updates ([https://octave.discourse.group/ Octave Discourse]) that might change GUI strings. </strike>
* String freeze date: 2025-02-07
* String freeze date: 2025-02-07
* Update language translation files (<code>*.ts</code>). See instructions in <code>libgui/languages/build_ts/README.md</code>.
* <strike> Update language translation files (<code>*.ts</code>). See instructions in <code>libgui/languages/build_ts/README.md</code>.
* 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 and tracking status of translations.
* 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]).
* 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]). </strike>
* Collect translation files on Savannah bug report and push to Mercurial.
* <strike> Collect translation files on Savannah bug report and push to Mercurial. </strike>
 
=== ⚖️ <strike> GPL License activities </strike> ===
 
Completion Date: 2025-02-09
 
* <strike> Update copyright statements for all source controlled files.
 
:Command to update copyright notifications
:<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>


=== ⚖️ GPL License activities ===
:Command to check results before checking in
:<code>hg diff | grep ^[-+][^-+] | sed 's/[0-9][0-9][0-9][0-9]-/YYYY-/' | sort -u</code>


Completion Date:
* Update dates in any other locations
** MXE <code>README.html</code> file
** <code>octave.texi, liboctave.texi, refcard.tex</code> </strike>


<ul>
* <strike> Add any new contributors to <code>doc/interpreter/contributors.in</code> who wish to be mentioned (don’t add them without permission). </strike>
<li><p>Update copyright statements for all source controlled files.</p>
<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>
<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>
<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>


=== ✅ Style-check code base ===
=== ✅ <strike> Style-check code base </strike> ===


Completion Date:
Completion Date: 2025-02-26


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


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


=== 📖 Review documentation ===
=== 📖 <strike> Review documentation </strike> ===


Completion Date:
Completion Date: 2026-02-025


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


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




Completion Date of first iteration:
Completion Date of first iteration: 2025-03-06


=== ⚠️ Current state at Savannah ===
=== ⚠️ Current state at Savannah ===
Line 91: Line 96:
=== ✅ <code>make check</code> ===
=== ✅ <code>make check</code> ===


* 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).
* <strike> 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). </strike>
* Use software tools to check quality of Octave code.
* <strike> Use software tools to check quality of Octave code.
** 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>.
** Check for memory leaks by configuring with <code>--enable-address-sanitizer-flags --disable-visibility-flags --disable-docs --disable-java</code> and compiling with <code>-g -O0</code> in <code>CFLAGS</code>, <code>CXXFLAGS</code>.
** 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>.
** Check for bad memory accesses by configuring with <code>--disable-visibility-flags --disable-docs --disable-java</code> and compiling with <code>-g -O0 -fsanitize=undefined -fno-omit-frame-pointer</code> in <code>CFLAGS</code>, <code>CXXFLAGS</code>, and linking with <code>-fsanitize=undefined -fno-omit-frame-pointer</code> in <code>LDFLAGS</code>. </strike>
** Update static code analysis results.
** WON'T DO <strike> Update static code analysis results.
*** For <code>clang</code>, do <code>scan-build make -j&lt;N&gt; all</code> and then <code>scan-view</code>.
*** For <code>clang</code>, do <code>scan-build make -j&lt;N&gt; all</code> and then <code>scan-view</code>.
*** See [https://wiki.octave.org/PVS_static_analyzer_-_5.0_Release PVS static analyzer - 5.0 Release].
*** See [https://wiki.octave.org/PVS_static_analyzer_-_5.0_Release PVS static analyzer - 5.0 Release]. </strike>
** Use other tools such as <code>cppcheck</code>, etc.
** WON'T DO <strike> Use other tools such as <code>cppcheck</code>, etc. </strike>
* 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'''.
* <strike> 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'''. </strike>


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


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


== 🏁 Final Release 🎉 ==
== 🏁 Final Release 🎉 ==
Line 142: Line 147:
* 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 <code>octave.org/doc</code> and version in <code>octave.org/.htaccess</code>, Doxygen <code>octave.org/doxygen</code>)
* This wiki
* This wiki
* Template:Release = 7.3.0
* [[Template:Release]] = {{Template:Release}}
* Template:Release Date = November 2, 2022
* [[Template:Release Date]] = {{Template:Release Date}}
* Template:Release Year = 2022
* [[Template:Release Year]] = {{Template:Release Year}}


=== ☑️ Post-Release ===
=== <strike> ☑️ Post-Release </strike> ===


Completion Date:
Completion Date: 2025-02-08


* 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.
* <strike> 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.9.md</code> for list of features that have been deprecated. </strike>


[[Category:Releases]]
[[Category:Releases]]

Latest revision as of 16:38, 9 March 2025

Info icon.svg
Timeline (tentative)

Please use <strike> </strike> to mark items below as done.

🚀 Kick-off ⚽

⚙️ Update stable and default branch to new version numbers

Completion Date: 2025-02-07

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

⚙️ Update gnulib to latest version

Completion Date: 2025-02-08

Must occur first as it could resolve existing, or create new, bug reports. The simple update command is gnulib-tool --add-import followed by running ./bootstrap in the source tree.

📢 Call for bug reports

Completion Date: 2025-02-07

  • WON'T DO Put out a general call for reports on Octave Discourse for all outstanding, but unreported, known bugs.
  • Create Savannah Release tag 10.0.90 on bug tracker for 1st release candidate.
  • Mark items that should be fixed for the release with this tag.
  • Update Savannah Planned Release and Fixed Release tags by adding 10.1.0 (current stable) and 11.1.0 (current default).
  • Review bug overview at https://octave.space/savannah/.

📢 Update GUI translation files

Completion Date: 2025-02-22

  • WON'T DO Call for updates (Octave Discourse) that might change GUI strings.
  • String freeze date: 2025-02-07
  • Update language translation files (*.ts). See instructions in libgui/languages/build_ts/README.md.
  • Create bug report on Savannah as a centralized location for uploading files and tracking status of translations.
  • Call for translations of GUI strings on Octave Discourse Maintainers, CC-ing the translators (see list of translators).
  • Collect translation files on Savannah bug report and push to Mercurial.

⚖️ GPL License activities

Completion Date: 2025-02-09

  • Update copyright statements for all source controlled files.
Command to update copyright notifications
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/'
Command to check results before checking in
hg diff | grep ^[-+][^-+] | sed 's/[0-9][0-9][0-9][0-9]-/YYYY-/' | sort -u
  • Update dates in any other locations
    • MXE README.html file
    • octave.texi, liboctave.texi, refcard.tex
  • Add any new contributors to doc/interpreter/contributors.in who wish to be mentioned (don’t add them without permission).

Style-check code base

Completion Date: 2025-02-26

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.

📖 Review documentation

Completion Date: 2026-02-025

  • Grammar check documentation (See doc/interpreter/doccheck/README).
  • Spell check documentation (make spellcheck).
  • Verify no functions missing from manual (make doc/interpreter/undocumented_list).
  • Verify deprecated functions removed from manual (*.txi) and from “see also” links.
  • Verify all formats (Info, HTML, PDF) build correctly.
  • Review etc/NEWS.10.md for any features which should be announced.
  • WON'T DO Review __unimplemented__.m for the latest changes to Octave Forge packages and new Matlab functions.
  • Update installer-files/README.html in MXE Octave with version highlights.

🔃 Repeat until all bugs are resolved

Completion Date of first iteration: 2025-03-06

⚠️ Current state at Savannah

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

make check

  • Verify make check is passing on all buildbot combinations of OS and compilers and GitHub CI runners. Also check test suite runs on “freshly brewed Octave for Windows” (Kai’s buildbots on octave.space).
  • Use software tools to check quality of Octave code.
    • Check for memory leaks by configuring with --enable-address-sanitizer-flags --disable-visibility-flags --disable-docs --disable-java and compiling with -g -O0 in CFLAGS, CXXFLAGS.
    • Check for bad memory accesses by configuring with --disable-visibility-flags --disable-docs --disable-java and compiling with -g -O0 -fsanitize=undefined -fno-omit-frame-pointer in CFLAGS, CXXFLAGS, and linking with -fsanitize=undefined -fno-omit-frame-pointer in LDFLAGS.
    • WON'T DO Update static code analysis results.
    • WON'T DO Use other tools such as cppcheck, etc.
  • Start discussion on Octave Discourse Maintainers about which failing tests that must be fixed and which can be declared WON’T FIX.

🛠️ Create new release candidate

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

🏁 Final Release 🎉

📃 Update version information

Completion Date:

  • Ensure correct version information in configure.ac (see “Release Numbering” in /etc/HACKING.md)
    • Set OCTAVE_RELEASE_DATE to the current date.
    • Set the year in OCTAVE_COPYRIGHT to the current year.
  • Create hg tag in repository with release candidate version number (release-10-1-0).
  • Update etc/NEWS.10.md (final release date in Summary header).
  • Update CITATION (version, year, URL) if not already done as part of "GPL License activities.
  • Update etc/icons/org.octave.Octave.appdata.xml (version number and release date).
  • Upload all tarballs to https://ftp.gnu.org/gnu/octave/.
  • Update web site files: NEWS-10.html, index.in, news.in, and 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

Completion Date:

☑️ Post-Release

Completion Date: 2025-02-08

  • Remove all deprecated functions scheduled for deletion on default branch. These functions are tagged with OCTAVE_DEPRECATED in C++ or are m-files located in the directory scripts/deprecated. Check file etc/NEWS.9.md for list of features that have been deprecated.