Release 2.4.2

From Free Pascal wiki

Release Issues

The issues page is Issues 2.4.2

Release preparations

  1. Agree on deadline for changes and date for release candidate building
    1. Contact platform maintainers who are not subscribed to the core list and notify them about upcoming release and ask them for their inputs into the release schedule
      1. Legolas aka Francesco Lombardi - GBA/NDS (now on core)
      2. Sekel aka Felipe Monteiro de Carvalho - Symbian
      3. Olivier Coursiere - Haiku
      4. Karl-Michael Schindler - Mac OS X - fink
    2. #FPC-2.4.2rc1 deadline:
    3. #FPC-2.4.2 deadline: 2.4.2 final branch will close on nov 1st, if no catastrophies are found.
  2. Check the Detailed 2.4.2 Todo list for the particular release (should be linked from To Do lists) for status of individual todo items
  3. Check status of bugs assigned to that particular release in the bugtracker
  4. New page in Wiki named "Release_2.4.2" for release procedure with steps needed and their status (based on Release Template), at the beginning consisting of (at least) RC1 and final release sections
  5. Create new page in Wiki with issue log for documentation of issues encountered in release candidates and their status ("Issues_2.4.2" based on Issues Template)
  6. Move merged changes from User Changes Trunk to the appropriate User Changes 2.4.2 page, possibly adding changes that were merged but not added to the trunk page
  7. Ask platform maintainers and external maintainers about including their platforms/builds in the new release
  8. Check and update all .msg files
    1. errore.msg
    2. errord.msg
    3. errordu.msg
    4. errorf.msg
    5. errorn.msg
    6. errorr.msg
    7. errorrw.msg
    8. errorues.msg
    9. errores.msg
    10. errorct.msg
    11. errorhe.msg
    12. errorheu.msg
    13. errorptd.msg
    14. errorptw.msg
    15. errorpli.msg
    16. errorpl.msg
    17. errorid.msg
  9. Check tools
    1. Check version of the above mentioned tools (GNU tools, helper DLLs, UPX, etc.), and decide whether it isn't time to update some of these tools. See helper tools
    2. Repackage and upload additional tools where needed
  10. Update whatsnew.txt (/install/doc/whatsnew.txt)
  11. Find testers
    1. Create a testers page in Wiki (based on Testers Template)
    2. Ask in fpc-devel list for volunteers interested in testing the individual platforms / builds and list them on the newly created page (they can add themselves)
  12. Update path and file names in /install/macosx/*.info for the new version
  13. Update path and file names in /install/fpc.ist for the new version
  14. Finish all source file updates
  15. convert /html/faq.fp to /install/doc/faq.htm and /install/doc/faq.txt (more info)

RC1

  1. New directories (more info)
    1. Create new directories on ftp (/pub/fpc/beta/2.4.2-rcN or /pub/fpc/dist/2.4.2 and cpu-os under that)
    2. Copy the extra files (asld*.zip, gdb*.zip, make*.zip) from previous release (unless updated with new versions)
  2. Add new section for the upcoming build in /install/debian/changelog (more info)
  3. Create new branch in SVN (release_2_4_2_rcN or release_2_4_2) (more info)
  4. Update version number in release branch (and, if necessary also in main branch (trunk or fixes)) (more info)
    1. /compiler/version.pas
    2. /install/doc/readme.txt
    3. /install/doc/whatsnew.txt
    4. /installer/install.dat (header)
    5. /installer/install.pas (installer version)
    6. /docs/fpc.sty (macro fpcversion)
    7. All Makefile.fpc files containing version=... (plus regenerate all corresponding Makefiles) (more info)
    8. All version-numbers in fpmake.pp files (more info)
  5. Create and upload exported fpcbuild (more info)
    1. fpcbuild-%{version}.zip
    2. fpcbuild-%{version}.tar.gz
    3. fpc-%{version}-source.zip
    4. fpc-%{version}-source.tar.gz
  6. Create and upload the documentation (more info)
    1. doc-pdf.zip
    2. doc-html.zip
    3. doc-htm.zip (not included)
    4. doc-txt.zip
    5. doc-ps.zip
    6. doc-pdf.tar.gz
    7. doc-html.tar.gz
    8. doc-ps.tar.gz
  7. Create and upload source zips (more info)
    1. short name version for binary packages (done)
    2. docs source (including link for short name version)
    3. long name version for binary packages
  8. Create and upload binary releases (place the name of the person who aggreed to build a release behind the name of the target below)
    • i386-go32v2/basic zip (just binaries)
    • i386-go32v2/full zip (including docs and sources)
    • i386-os2/basic zip (just binaries) (done)
    • i386-os2/full zip (including docs and sources) (done)
    • i386-win32/exe
    • x86_64-win64/exe
    • arm-wince/exe (cross-release)
    • arm-symbian (cross-release)
    • i386-symbian (cross-release)
    • arm-gba (cross-release)
    • arm-nds (cross-release)
    • i386-freebsd/tgz
    • i386-linux/tar (more info)
    • i386-linux/deb (more info)
    • i386-linux/rpm (more info)
    • x86_64-linux/tar (more info)
    • x86_64-linux/deb (more info)
    • x86_64-linux/rpm (more info)
    • powerpc-linux/tar (more info)
    • powerpc64-linux/tar (more info)
    • powerpc32-macosx/dmg
    • powerpc32->powerpc64-macosx/dmg
    • i386-macosx/dmg
    • i386->x86_64-macosx/dmg
    • i386->ARM-macosx/dmg
    • i386-macosx/.info for fink
    • powerpc-macos
    • sparc-linux/tar (more info)
    • sparc-linux/deb (more info)
    • arm-linux/tar (cross-release)
    • powerpc-morphos
    • powerpc-amiga
    • i386-netware
    • i386-netwlibc
    • i386-haiku
    • sparc-sunos/tar
  9. Get it tested
    1. Ask dedicated testers for testing their platforms
    2. Consider announcing availability of the new RC in fpc-devel list
  10. Keep track of testing in the wiki


Final release

  1. Look at unmerged changes in fpc and fpcbuild since the last RC and consider/ask for necessity of their inclusion in the release (only cosmetic changes should be included, otherwise a new RC is needed instead of final release) (done)
  2. New directories (more info) (done)
    1. Create new directories on ftp (/pub/fpc/beta/2.4.2-rcN or /pub/fpc/dist/2.4.2 and cpu-os under that) (done)
    2. Copy the extra files (asld*.zip, gdb*.zip, make*.zip) from previous release (unless updated with new versions) (done)
  3. Add new section for the upcoming build in /install/debian/changelog (more info)
  4. Create new branch in SVN (release_2_4_2_rcN or release_2_4_2) (more info) (done)
  5. Update version number in release branch (and, if necessary also in main branch (trunk or fixes)) (more info) (done for rc1 already)
    1. /compiler/version.pas
    2. /install/doc/readme.txt
    3. /install/doc/whatsnew.txt
    4. /installer/install.dat (header)
    5. /installer/install.pas (installer version)
    6. /docs/fpc.sty (macro fpcversion)
    7. All Makefile.fpc files containing version=... (plus regenerate all corresponding Makefiles) (more info)
    8. All version-numbers in fpmake.pp files (more info)
  6. Create and upload exported fpcbuild (more info)
    1. fpcbuild-%{version}.zip
    2. fpcbuild-%{version}.tar.gz
    3. fpc-%{version}-source.zip
    4. fpc-%{version}-source.tar.gz
  7. Create and upload the documentation (more info) (done)
    1. doc-pdf.zip (done)
    2. doc-html.zip (done)
    3. doc-htm.zip (not included)
    4. doc-txt.zip (done)
    5. doc-ps.zip (done)
    6. doc-pdf.tar.gz (done)
    7. doc-html.tar.gz (done)
    8. doc-ps.tar.gz (done)
  8. Create and upload source zips (more info)
    1. short name version for binary packages (done)
    2. docs source (including link for short name version)
    3. long name version for binary packages
  9. Create and upload binary releases (place the name of the person who aggreed to build a release behind the name of the target below)
    • i386-go32v2/basic zip (just binaries)
    • i386-go32v2/full zip (including docs and sources)
    • i386-os2/basic zip (just binaries) (done)
    • i386-os2/full zip (including docs and sources) (done)
    • i386-win32/exe
    • x86_64-win64/exe
    • arm-wince/exe (cross-release)
    • arm-symbian (cross-release)
    • i386-symbian (cross-release)
    • arm-gba (cross-release)
    • arm-nds (cross-release)
    • i386-freebsd/tgz (both -7 and -8)
    • i386-linux/tar (more info)
    • i386-linux/deb (more info)
    • i386-linux/rpm <Fedora Core> (more info)
    • i386-linux/rpm <Mandriva> (more info) - RPM created by Felipe Monteiro de Carvalho
    • x86_64-linux/tar (more info)
    • x86_64-linux/deb (more info)
    • x86_64-linux/rpm (more info)
    • powerpc-linux/tar (more info)
    • powerpc64-linux/tar (more info)
    • powerpc32-macosx/dmg
    • powerpc32->powerpc64-macosx/dmg
    • i386-macosx/dmg
    • i386->x86_64-macosx/dmg
    • i386->ARM-macosx/dmg
    • i386-macosx/.info for fink (done, KMS)
    • powerpc-macos
    • sparc-linux/tar (more info)
    • sparc-linux/deb (more info)
    • arm-linux/tar (cross-release)
    • powerpc-morphos
    • powerpc-amiga
    • i386-netware
    • i386-netwlibc
    • i386-haiku
    • sparc-sunos/tar
  10. Get it tested
    1. Ask dedicated testers for testing their platforms
  11. Keep track of testing in the wiki

Going public

  1. Make new version numbers (release plus next odd patch number for continuing fixes) available in bug tracker (don't forget to set releases to "released", or they won't be visible to users.)
  2. Make new version numbers (release plus next odd patch number for continuing fixes) available in testsuite db
  3. Make new files on FTP available to wide public
    1. update symlinks (no symlinks any more?)
    2. move the releases older than 18 months to the olddist/<version> dir.
    3. upload files to SourceForge.net and add them to new "releases" for individual platforms
    4. make new "releases" on SourceForge.net accessible for users (change status to "active")
    5. Allow automated notifications on individual SourceForge.net file release pages to be sent
  4. Submit darwin packages to fink
  5. Update WWW pages
    1. /html/news.fp
    2. /html/down/* (links to all individual files & file sizes)
    3. /html/download.fp (version number and list of platforms)
    4. /html/fpc.fp
    5. /html/faq.fp (things like "the latest version is ...")
  6. Create new fixes branch (only after a major release -  ?.?.0)
    1. Update version number in the trunk branch (only after a major release -  ?.?.0)
      1. /compiler/version.pas
      2. All Makefile.fpc files containing "version=..." (plus regenerate the corresponding Makefiles)
  7. Update version number in the fixes branch (increase the patch to next odd number)
    1. /compiler/version.pas
    2. all Makefile.fpc files containing "version=..." (plus regenerate the corresponding Makefiles)
  8. Check the WWW pages
    1. make sure http://www.freepascal.org contains the new version already
    2. read news.html
    3. read fpc.html
    4. read download.html and check links to individual files
  9. Send announcement to our mailing lists
  10. Post announcement on the community site
  11. Post announcement on Sourceforge.net (only "Project Administrators" may do it)
  12. Make sure that all unfixed issues encountered during RC testing and listed on dedicated page in Wiki are documented in bug tracker too
  13. Revise / update /html/future.fp after major versions (?.?.0)
  14. Remove unneeded RC builds from FTP