Skip to content

Instantly share code, notes, and snippets.

@marc1706
Last active November 6, 2020 16:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save marc1706/2612c2260e5d3a372c657a623a32d2c8 to your computer and use it in GitHub Desktop.
Save marc1706/2612c2260e5d3a372c657a623a32d2c8 to your computer and use it in GitHub Desktop.
Releasing 3.3.2

Todo List for 3.3.2

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.3.2 and correct any unreadable descriptions

  • Check the feature hightlights wiki page for completeness

  • Branch of prep-release-3.3.2 from 3.3.x:

    git checkout 3.3.x
    git checkout -b prep-release-3.3.2

RC 1

Before Packaging

  • Update version number in prep-release-3.3.2 to 3.3.2-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.3.2 to 3.3.2 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
  • Update language help files

    cd phpBB/develop/; php lang_migrate_help_lang.php; cd ../../
  • Create Migration v332rc1 depending on all migrations added after v331

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

    php build/build_changelog.php 3.3.2-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.3.2

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

Packaging

  • Build packages

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

After packaging

  • Test install of 3.3.2-RC1 package

  • Test install of 3.3.2-RC1 package using CLI

  • Test update from 3.3.1 to 3.3.2-RC1

  • Test update from 3.3.1 to 3.3.2-RC1 using CLI

  • Test update from 3.2.10 to 3.3.2-RC1

  • Test update from 3.2.10 to 3.3.2-RC1 using CLI

  • Test update from 3.1.12 to 3.3.2-RC1

  • Test update from 3.1.12 to 3.3.2-RC1 using CLI

  • Test convert from 2.x to 3.3.1-RC1

  • Tag prep-release-3.3.2 as release-3.3.2-RC1

    git tag -a release-3.3.2-RC1 -m "Tagging the 3.3.2-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.3.2-RC1 on the PHPBB3 and SECURITY trackers

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

  • Post language changes for translators

    git diff release-3.3.1 release-3.3.2-RC1 phpBB/language/ > language_changes_3.3.1_to_3.3.2-RC1.diff
  • Post style changes for style authors

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

  • Update versioncheck unstable version

  • Merge prep-release-3.3.2 into 3.3.x

    git checkout 3.3.x
    git merge --no-ff prep-release-3.3.2
  • Update version number in 3.3.x to 3.3.3-dev in these files:

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

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

    git push upstream prep-release-3.3.2
    git push upstream release-3.3.2-RC1
    git push upstream 3.3.x
    git push upstream master

Final Packaging

Before Packaging

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

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

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

Packaging

  • Build packages

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

After Packaging

  • Test install of 3.3.2 package

  • Test update from 3.3.2-RC1 to 3.3.2

  • Test update from 3.3.2-RC1 to 3.3.2 using CLI

  • Test update from 3.2.10 to 3.3.2

  • Test update from 3.2.10 to 3.3.2 using CLI

  • Test update from 3.1.12 to 3.3.2

  • Test update from 3.0.14 to 3.3.2

  • Test update from 3.0.0 to 3.3.2

  • Test conversion from 2.0.x to 3.3.2

  • Tag prep-release-3.3.2 as release-3.3.2

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

  • Make sure packages have correct permissions for downloading

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

  • Make sure the version "3.3.2" 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.3.2 into 3.3.x

    git checkout 3.3.x
    git merge --no-ff prep-release-3.3.2
  • Merge 3.3.x into master

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

    git push phpbb release-3.3.2
    git push phpbb prep-release-3.3.2
    git push phpbb 3.3.x master
  • Update website downloads page

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

    git shortlog -sn release-3.3.1...release-3.3.2
    git diff --stat release-3.3.1...release-3.3.2
  • Post announcement on phpBB.com

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