Skip to content

Instantly share code, notes, and snippets.

@marc1706
Last active January 6, 2020 17:05
Show Gist options
  • Save marc1706/6630be1930e2b28e91a927fb1c0391dc to your computer and use it in GitHub Desktop.
Save marc1706/6630be1930e2b28e91a927fb1c0391dc to your computer and use it in GitHub Desktop.
Releasing 3.2.9

Todo List for 3.2.9

General

  • Make sure phpBB/docs/CREDTIS.txt is up to date

  • Make sure Contributors have their ranks

  • Make sure all reports in the security tracker are closed or invalid

  • Go through Issues fixed in 3.2.9 and correct any unreadable descriptions

  • Check the feature hightlights wiki page for completeness

  • Branch of prep-release-3.2.9 from 3.2.x:

    git checkout 3.2.x
    git checkout -b prep-release-3.2.9

RC 1

Before Packaging

  • Update version number in prep-release-3.2.9 to 3.2.9-RC1 in these files:

    • build/build.xml
    • phpBB/includes/constants.php
    • phpBB/install/schemas/schema_data.sql
    • phpBB/install/phpbbcli.php
  • Update version number in prep-release-3.2.9 to 3.2.9 in these files:

    • phpBB/install/convertors/convert_phpbb20.php
    • phpBB/styles/prosilver/style.cfg
  • Generate the schema.json file

    php phpBB/develop/create_schema_files.php
  • Create Migration v329RC1 depending on all migrations added after v327

    php phpBB/bin/phpbbcli.php dev:migration-tips
  • Commit Changelog generated from Tracker: phpBB/docs/CHANGELOG.html

    php build/build_changelog.php 3.2.9-RC1
  • Update list of events in the Wiki: https://wiki.phpbb.com/Event_List

    php phpBB/develop/export_events_for_wiki.php all
  • Update list of changed events in the release highlights: https://wiki.phpbb.com/Release_Highlights/3.2.9

    php phpBB/develop/export_events_for_wiki.php diff 3.2.9-RC1

Packaging

  • Build packages

    cd build
    ../phpBB/vendor/bin/phing

After packaging

  • Test install of 3.2.9-RC1 package

  • Test install of 3.2.9-RC1 package using CLI

  • Test update from 3.2.8 to 3.2.9-RC1

  • Test update from 3.2.8 to 3.2.9-RC1 using CLI

  • Test update from 3.1.12 to 3.2.9-RC1

  • Test update from 3.1.12 to 3.2.9-RC1 using CLI

  • Test convert from 2.x to 3.2.9-RC1

  • Tag prep-release-3.2.9 as release-3.2.9-RC1

    git tag -a release-3.2.9-RC1 -m "Tagging the 3.2.9-RC1 release."
  • Upload packages

  • Make sure packages have correct permissions for downloading

  • Update area51 downloads page: src/Phpbb/Area51Bundle/Controller/DefaultController.php

  • Set release date for version 3.2.9-RC1 on the PHPBB3 and SECURITY trackers

  • Move all bug reports assigned to fix version "3.2.9-RC1" to "3.2.10-RC1" in the PHPBB3 and SECURITY trackers

  • Post language changes for translators

    git diff release-3.2.8 release-3.2.9-RC1 phpBB/language/ > language_changes_3.2.8_to_3.2.9-RC1.diff
  • Post style changes for style authors

    git diff release-3.2.8..release-3.2.9-RC1 -w -- phpBB/styles/prosilver/theme/*.css > prosilver_changes_3.2.8_to_3.2.9-RC1-css.diff
    git diff release-3.2.8..release-3.2.9-RC1 -w -- phpBB/styles/prosilver/template/*.html > prosilver_changes_3.2.8_to_3.2.9-RC1-html.diff
    git diff release-3.2.8..release-3.2.9-RC1 -w -- phpBB/styles/prosilver/template/*.js > prosilver_changes_3.2.8_to_3.2.9-RC1-js.diff
    git diff release-3.2.8..release-3.2.9-RC1 -w -- phpBB/styles/prosilver/theme/images/ > prosilver_changes_3.2.8_to_3.2.9-RC1-imgs.diff
  • Post announcement on Area51 and Teams forum: including the language and style changes

  • Update versioncheck unstable version

  • Merge prep-release-3.2.9 into 3.2.x

    git checkout 3.2.x
    git merge --no-ff prep-release-3.2.9
  • Update version number in 3.2.x to 3.2.10-dev in these files:

    • build/build.xml
    • phpBB/includes/constants.php
    • phpBB/install/schemas/schema_data.sql
  • Merge 3.2.x into master

    git checkout master
    git merge --no-ff 3.2.x
  • Push changes

    git push upstream prep-release-3.2.9
    git push upstream release-3.2.9-RC1
    git push upstream 3.2.x
    git push upstream master

Final Packaging

Before Packaging

  • Update version number in prep-release-3.2.9 to 3.2.9 in these files:

    • build/build.xml
    • phpBB/includes/constants.php
    • phpBB/install/schemas/schema_data.sql
    • phpBB/install/phpbbcli.php
  • Create Migration v329 depending on all migrations added after v329rc1 and v329 itself

    php phpBB/bin/phpbbcli.php dev:migration-tips

Packaging

  • Build packages

    cd build
    ../phpBB/vendor/bin/phing

After Packaging

  • Test install of 3.2.9 package

  • Test update from 3.2.9-RC1 to 3.2.9

  • Test update from 3.2.9-RC1 to 3.2.9 using CLI

  • Test update from 3.1.12 to 3.2.9

  • Test update from 3.1.12 to 3.2.9 using CLI

  • Test update from 3.0.14 to 3.2.9

  • Test update from 3.0.0 to 3.2.9

  • Test conversion from 2.0.x to 3.2.9

  • Tag prep-release-3.2.9 as release-3.2.9

    git tag -a release-3.2.9 -m "Tagging the 3.2.9 release."
  • Upload packages

  • Make sure packages have correct permissions for downloading

  • Set release date for version 3.2.9 on the PHPBB3 and SECURITY trackers

  • Make sure the version "3.2.9" is in the version constraint of the issue filter

  • Close the milestone on the github repository

  • Post language changes for translators No changes, see above

  • Post style changes for style authors No changes, see above

  • Merge prep-release-3.2.9 into 3.2.x

    git checkout 3.2.x
    git merge --no-ff prep-release-3.2.9
  • Merge 3.2.x into master

    git checkout master
    git merge --no-ff 3.2.x
  • Push changes

    git push phpbb release-3.2.9
    git push phpbb prep-release-3.2.9
    git push phpbb 3.2.x master
  • Update website downloads page

  • Prepare an announcement in BBCode and E-Mail form:

    git shortlog -sn release-3.2.8...release-3.2.9
    git diff --stat release-3.2.8...release-3.2.9
  • Post announcement on phpBB.com

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment