NeoOffice 3.4 Release Tasks

From NeoWiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 02:38, 19 October 2013 (edit)
( | contribs)
(Website - Update task details)
← Previous diff
Revision as of 02:52, 19 October 2013 (edit) (undo)
( | contribs)
(Release - Update task details)
Next diff →
Line 297: Line 297:
<tr bgcolor="lightgreen"> <tr bgcolor="lightgreen">
- <td>Remove the NeoOffice 3.4 Beta 2 and NeoOffice 3.1.2 MD5 checksums to the [https://neowiki.neooffice.org/index.php/NeoOffice_MD5_Checksums NeoOffice MD5 checksums page].</td>+ <td>Remove the NeoOffice 3.2.1 MD5 checksums to the [https://neowiki.neooffice.org/index.php/NeoOffice_MD5_Checksums NeoOffice MD5 checksums page].</td>
<td></td><td>pluby</td><td></td> <td></td><td>pluby</td><td></td>
</tr> </tr>
<tr bgcolor="lightgreen"> <tr bgcolor="lightgreen">
- <td>Set the minimum payment level for the [http://trinity.neooffice.org/modules.php?name=Forums&file=viewforum&f=18 NeoOffice Beta Support forum] to the same amount as the [http://trinity.neooffice.org/modules.php?name=Forums&file=viewforum&f=7 NeoOffice Suppport forum], remove the Beta date range in the description, and update the list of versions listed in the description for the [http://trinity.neooffice.org/modules.php?name=Forums&file=viewforum&f=7 NeoOffice Suppport forum].</td>+ <td>Post the NeoOffice 3.4 press release as an article on the [http://trinity.neooffice.org/modules.php?name=News Trinity news page]. Note: be sure to change the language field from "English" to "All" in when submitting the article so that all Trinity users will see the article.</td>
<td></td><td>pluby</td><td></td> <td></td><td>pluby</td><td></td>
</tr> </tr>
<tr bgcolor="lightgreen"> <tr bgcolor="lightgreen">
- <td>Post the press release as an article on the [http://trinity.neooffice.org/modules.php?name=News Trinity news page]. Note: be sure to change the language field from "English" to "All" in when submitting the article so that all Trinity users will see the article.</td>+ <td>Add a link to the [http://www.neooffice.org/press_releases/NeoOffice_3.4.html NeoOffice 3.4 press release] in [https://neowiki.neooffice.org/index.php/NeoOffice_Press_Kit#Press_Releases this NeoWiki article].</td>
<td></td><td>pluby</td><td></td> <td></td><td>pluby</td><td></td>
</tr> </tr>
<tr bgcolor="lightgreen"> <tr bgcolor="lightgreen">
- <td>Add a link to the [http://www.neooffice.org/press_releases/NeoOffice_3.3.html NeoOffice 3.4 press release] in [https://neowiki.neooffice.org/index.php/NeoOffice_Press_Kit#Press_Releases this NeoWiki article].</td>+ <td>Post a release announcement to [http://trinity.neooffice.org/modules.php?name=Forums&file=viewtopic&t=4975 this Trinity forum topic] so that the news is included in the RSS feed.</td>
- <td></td><td>pluby</td><td></td>+
- </tr>+
- +
- <tr bgcolor="lightgreen">+
- <td>Post a release announcement to [http://trinity.neooffice.org/modules.php?name=Forums&file=viewtopic&t=4975 this Trinity forum topic] and [http://trinity.neooffice.org/modules.php?name=Forums&file=viewtopic&t=6844 this Trinity forum topic] so that the news is included in the RSS feed.</td>+
<td></td><td>pluby</td><td></td> <td></td><td>pluby</td><td></td>
</tr> </tr>
Line 340: Line 335:
<tr bgcolor="lightgreen"> <tr bgcolor="lightgreen">
- <td>Delete the 31 obsolete <tt>NeoOffice-3.3_Beta_2-*.dmg</tt> main installer and language pack files from the <tt>/neojava/downloads/donordownloads</tt> directory on all of the mirrors listed in the rsync.neooffice.org server's <tt>/neojava/includes/mirrorfunctions.php</tt> file.</td>+ <td>Delete the 31 obsolete <tt>NeoOffice-3.3-*.dmg</tt> main installer and language pack files from the <tt>/neojava/downloads/donordownloads</tt> directory on all of the mirrors listed in the rsync.neooffice.org server's <tt>/neojava/includes/mirrorfunctions.php</tt> file.</td>
<td></td><td>pluby</td><td></td> <td></td><td>pluby</td><td></td>
</tr> </tr>
<tr bgcolor="lightgreen"> <tr bgcolor="lightgreen">
- <td>Delete the obsolete <tt>NeoOffice-3.3_Beta_2-*.dmg</tt> patch installer files from the <tt>/neojava/downloads/donordownloads/patches</tt> directory on all of the mirrors listed in the rsync.neooffice.org server's <tt>/neojava/includes/mirrorfunctions.php</tt> file.</td>+ <td>Delete the obsolete <tt>NeoOffice-3.3-*.dmg</tt> patch installer files from the <tt>/neojava/downloads/donordownloads/patches</tt> directory on all of the mirrors listed in the rsync.neooffice.org server's <tt>/neojava/includes/mirrorfunctions.php</tt> file.</td>
<td></td><td>pluby</td><td></td> <td></td><td>pluby</td><td></td>
</tr> </tr>
<tr bgcolor="lightgreen"> <tr bgcolor="lightgreen">
- <td>Delete the 31 obsolete <tt>NeoOffice-3.1.2-*.dmg</tt> main installer and language pack files from the <tt>rsync.neooffice.org</tt> server's <tt>/neojava/downloads</tt> directory.</td>+ <td>Delete the 31 obsolete <tt>NeoOffice-3.2.1-*.dmg</tt> main installer and language pack files from the <tt>rsync.neooffice.org</tt> server's <tt>/neojava/downloads</tt> directory.</td>
<td></td><td>pluby</td><td></td> <td></td><td>pluby</td><td></td>
</tr> </tr>
<tr bgcolor="lightgreen"> <tr bgcolor="lightgreen">
- <td>Delete the obsolete <tt>NeoOffice-3.1.2-*.dmg</tt> patch installer files from the <tt>rsync.neooffice.org</tt> server's <tt>/neojava/downloads/patches</tt> directory.</td>+ <td>Delete the obsolete <tt>NeoOffice-3.2.1-*.dmg</tt> patch installer files from the <tt>rsync.neooffice.org</tt> server's <tt>/neojava/downloads/patches</tt> directory.</td>
<td></td><td>pluby</td><td></td> <td></td><td>pluby</td><td></td>
</tr> </tr>
 + <tr bgcolor="lightgreen">
 + <td>Manually edit the /neojava/downloads/donordownloads/.htaccess file and remove any <tt>RewriteCond</tt> lines for old download cookies. Do not remove the <tt>RewriteCond</tt> lines for the current download cookie. After you verify that the download site still works correctly, invoke the following command: <tt>bin/cvsplusperms.sh commit</tt></td>
 + <td></td><td>pluby</td><td></td>
 + </tr>
</table> </table>

Revision as of 02:52, 19 October 2013

This page is an attempt to document all of the tasks required to release NeoOffice 3.4. This page is by no means comprehensive, but hopefully as we work through the release process, we will leave behind enough details to make future releases simpler and less error prone.

Here is what the colors mean:

Not yet done

Contents

Builds

TaskDate CompletedAssignedStatus

Rebuild all custom NeoOffice code using the existing NeoOffice 3.4 development builds. Perform a confirming checkout of the NeoOffice-3_3_branch branch and set the build to build with a new version and the NeoOffice trademarked product name.

This includes the following steps:

  • Do a cvs update -rNeoOffice-3_3_branch -d to ensure that you have the latest code in your workspace, verify that none of the files are marked as updated, patched, modified, or have conflicts, and verify that the latest code actually builds through the installer.
  • Copy custom.neo.mk file to custom.mk so that the clean checkout will build with the trademarked product names.
  • In makefile, change the following macros to the respective values:

    PRODUCT_VERSION_BASE=3.4
    PRODUCT_VERSION=$(PRODUCT_VERSION_BASE)
    PRODUCT_DIR_VERSION=$(PRODUCT_VERSION_BASE)
    PREVIOUS_PRODUCT_VERSION=$(PRODUCT_VERSION)
    PREVIOUS_PRODUCT_VERSION_BASE=3.3
    PRODUCT_PATCH_VERSION=Patch 0
    PRODUCT_DIR_PATCH_VERSION=Patch-0
    NEO_TAG:=NeoOffice-3_4
    
  • In makefile, reset the patch installer to include the minimum number of files by removing all files added to the build.patch_package_shared make target after the NeoOffice-3_4 tag and changing the following macros to the respective values:

    PRODUCT_COMPONENT_PATCH_MODULES=
    
  • Delete all build.neo_* files so that all custom NeoOffice code will be rebuilt.
  • Commit makefile changes and invoke make all to rebuild all applicable code and installers.
10/17/13plubyDone

Tag the code in the NeoOffice-3_3_branch branch with the NeoOffice-3_4 tag using the following steps:

  • Do a cvs update -rNeoOffice-3_3_branch -d to ensure that you have the latest code in your workspace, verify that none of the files are marked as updated, patched, modified, or have conflicts, and verify that the latest code actually builds through the installer.
  • Tag all files in your workspace by invoking cvs tag NeoOffice-3_4.
  • If there are any build errors, fix and commit them, retag the changed files by invoking cvs tag -F NeoOffice-3_4, and repeating the step.
10/17/13plubyDone

Create signed releasable NeoOffice 3.4 build for Intel.

Note: the following steps are overkill, but they ensure that all recent changes to the NeoOffice custom code has been built:

  • Do a cvs update -rNeoOffice-3_3_branch -d and verify that none of the files are marked as updated, patched, modified, or have conflicts. If any such markings appear, the previous task (tagging of the workspace) has not been done properly and it needs to done properly before you can proceed with this task.
  • Do a cvs diff -rNeoOffice-3_4 and verify that there are no differences for any of the files. If any differences appear, the previous task (tagging of the workspace) has not been done properly and it needs to done properly before you can proceed with this task.
  • Delete all build.neo_* files. This will force the installer to rebuild all of the NeoOffice custom code without causing any of the OpenOffice.org or ooo-build code to be rebuilt.
  • Invoke cp certs.neo.mk certs.mk ; make all to create the releasable installer and language packs. Note that by creating the certs.mk file, signing of the installer and the application will be enabled.
10/17/13plubyDone

Create backup copy of releasable Intel binaries and upload them to staging server.

The following steps are the steps that I used to create my backup copy:

  • Create an empty NeoOffice-3.4 directory outside of the workspace
  • Copy all 24 install/*.dmg files from your releasable build into the empty NeoOffice-3.4 directory and chmod 444 *.dmg in that directory

Put the NeoOffice-3.4 folder in a new empty directory and create a CD master NeoOffice-3.4.cdr file of the new directory using the following command:

hdiutil create -srcfolder /path/to/new/directory \
-format UDTO -ov -o /path/to/output/NeoOffice-3.4.cdr
10/17/13plubyDone

Verify that the releasable installer and one or more language packs install and run on Intel for the following Mac OS X versions:

  • 10.6.8
  • 10.7.5
  • 10.8.5
  • 10.9
10/17/13plubyDone

Mirrors

NeoOffice's rsync server is hosted on rsync.neooffice.org. Downloads of the current release are restricted to paying users but the previous version is requires no payment to download. Our volunteer mirrors obtain the previous version's binaries by nightly runs of the following command on their mirrors:

rsync --archive --delete rsync://rsync.neooffice.org/neojavadownloads/ \
/path/to/NeoOffice/mirror/directory
TaskDate CompletedAssignedStatus

Upload the 24 NeoOffice NeoOffice-3.4-*.dmg main installer and language pack files to the www-primary.neooffice.org server's /neojava/downloads/donordownloads directory using the following steps:

  • Upload the files to your home directory on the server using the sftp command
  • Use the md5 command to verify that the MD5 checksums of the source file and the uploaded file are the same
  • Move the file from your home directory to the server's /neojava/downloads/donordownloads directory
  • Invoke bin/setpermissions.sh so that the files will be readable by all mirrors' webservers
10/17/13plubyDone

Push NeoOffice 3.3 files to the free download mirrors using the following steps:

  • Copy the 31 NeoOffice-3.3-*.dmg main installer and language pack files to the rsync.neooffice.org server's /neojava/downloads directory from the www-primary.neooffice.org server's /neojava/downloads/donordownloads directory
  • Copy the NeoOffice-3.3-Patch-*.dmg patch file to the rsync.neooffice.org server's /neojava/downloads/patches directory from the www-primary.neooffice.org server's /neojava/downloads/donordownloads/patches directory
  • Invoke bin/setpermissions.sh on the rsync.neooffice.org server so that the copied files will be readable by all mirrors' webservers
10/17/13plubyDone

Website

TaskDate CompletedAssignedStatus

Update the website's download cookie name and value in the www-test-primary.neooffice.org server's neojava directory.

Note: I used the following steps to do this:

  • Manually editing the download cookie name and value /neojava/donations/includes/config.php.
  • Manually edit the /neojava/downloads/donordownloads/.htaccess file and add a new RewriteCond line for the cookie. Do not remove any existing RewriteCond lines.
  • After you verify that the changes look correct, invoke the following command to commit your changes: bin/cvsplusperms.sh commit
  • Push the new download cookie name and value to the www.neooffice.org website by logging into the www.neooffice.org server, cd to the its webroot directory, and invoking the following command: bin/cvsplusperms.sh update -d.
10/18/13plubyDone
Tag the www.neooffice.org website to avoid modifying production web pages while we modify the web pages in the test website by logging into the www.neooffice.org server, cd to the its webroot directory, and set the tag by invoking the following commands: bin/cvsplusperms.sh tag pre_NeoOffice-3_4 ; bin/cvsplusperms.sh update -rpre_NeoOffice-3_4 -d ; sudo chmod ug+x bin/*.sh ; bin/cvsplusperms.sh update -d 10/18/13plubyDone

Update all NeoOffice and version names, file URLs, and patch version names in all of the files in the www-test-primary.neooffice.org server's neojava directory.

Note: I used the following steps to do this:

  • Manually edit the /neojava/includes/globals.php page and set the following variables to the following values:
    $newproductdownloadenabled = false;
    $newproductminosxversion = '10.6';
    $newproductmaxosxversion = '10.9';
    $newproductversion = '3.4 Beta';
    $newproductfamily = array();
    $newpatch = '';
    $newpatchreleasenotesurl = '';
    $currentproductminosxversion = '10.6';
    $currentproductmaxosxversion = '10.9';
    $currentproductversion = '3.4';
    $currentproductfamily = array();
    $currentpatch = '';
    $currentpatchreleasenotesurl = '';
    $oldproductshowobsoletewarning = false;
    $oldproductencourageupgrade = false;
    $oldproductminosxversion = '10.6';
    $oldproductmaxosxversion = '10.8';
    $oldproductversion = '3.3';
    $oldproductfamily = array('3.3 Beta 2', '3.3 Beta');
    $oldpatch = 'Patch 10';
    $oldpatchreleasenotesurl = 'http://trinity.neooffice.org/modules.php?name=Forums
    &amp;file=viewtopic&amp;p=64478#64478';
    
  • Manually update the 24 NeoOffice 3.4 main installer and language pack file sizes and set the patch file size to 0 in the /neojava/includes/globals/filesizes.php file.</tt>
  • Manually update the 31 NeoOffice 3.3 main installer, language pack, and patch file sizes in the /neojava/includes/globals/oldfilesizes.php file.</tt>
  • Manually edit all of the *download.php files in the /neojava subdirectories to reflect language packs that have been added, removed, or bundled in the main installer.
  • Manually edit the isProductSupported() function in the /neojava/includes/globals.php to match the minimum and maximum versions changed above.
  • Manually edit the preg_match in the if ($oldproductencourageupgrade || ... ) line in /neojava/includes/patchcheckredirect.php file to match OS versions higher than NeoOffice 3.3's maximum version.
  • Manually edit all of the features.php pages in the /neojava directory, move the NeoOffice 3.3 features listed in the NeoOffice 3.4 section into the bottom section, and update the features in the NeoOffice 3.4 section.
  • Manually edit all of the header.php pages in the /neojava directory and update the text in the news banner section.
  • After you verify that the changes look correct, invoke the following command to commit your changes: bin/cvsplusperms.sh commit
pluby
Prepare the NeoOffice_3.4.html press release file, save it in the /press_releases directory using the following naming format, bin/cvsplusperms.sh add the file, and invoke the following command to commit the new file: bin/cvsplusperms.sh commit pluby

Verify that patch checking works properly by doing the following steps in a NeoOffice 3.4 installation:

  • Test as NeoOffice 2.2.6 Patch 5 by opening the installation's Contents/MacOS/versionrc file, changing the UpdateURL line to the following, restarting NeoOffice, and selecting the Help :: Check for Updates menu. The dialog that appears should say that NeoOffice 3.2.1 is available:
    UpdateURL=http://www-test.neooffice.org/neojava/patchcheck.php?product=NeoOffice%202.2.6&patch=Patch%205&os=${_OS}&arch=${_ARCH}
  • Test as NeoOffice 3.0.2 Patch 6 by opening the installation's Contents/MacOS/versionrc file, changing the UpdateURL line to the following, restarting NeoOffice, and selecting the Help :: Check for Updates menu. The dialog that appears should say that NeoOffice 3.2.1 is available:
    UpdateURL=http://www-test.neooffice.org/neojava/patchcheck.php?product=NeoOffice%203.0.2&patch=Patch%206&os=${_OS}&arch=${_ARCH}
  • Test as NeoOffice 3.1.2 Patch 9 by opening the installation's Contents/MacOS/versionrc file, changing the UpdateURL line to the following, restarting NeoOffice, and selecting the Help :: Check for Updates menu. The dialog that appears should say that NeoOffice 3.2.1 is available:
    UpdateURL=http://www-test.neooffice.org/neojava/patchcheck.php?product=NeoOffice%203.1.2&patch=Patch%209&os=${_OS}&arch=${_ARCH}
  • Test as NeoOffice 3.2 Patch 5 by opening the installation's Contents/MacOS/versionrc file, changing the UpdateURL line to the following, restarting NeoOffice, and selecting the Help :: Check for Updates menu. The dialog that appears should say that NeoOffice 3.2.1 is available:
    UpdateURL=http://www-test.neooffice.org/neojava/patchcheck.php?product=NeoOffice%203.2&patch=Patch%205&os=${_OS}&arch=${_ARCH}
  • Test as NeoOffice 3.2.1 by opening the installation's Contents/MacOS/versionrc file, changing the UpdateURL line to the following, restarting NeoOffice, and selecting the Help :: Check for Updates menu. The dialog that appears should say that NeoOffice 3.2.1 Patch 8 is available:
    UpdateURL=http://www-test.neooffice.org/neojava/patchcheck.php?product=NeoOffice%203.2.1&patch=Patch%200&os=${_OS}&arch=${_ARCH}
  • Test as NeoOffice 3.2.1 Patch 8 on Mac OS X 10.6.8 by opening the installation's Contents/MacOS/versionrc file, changing the UpdateURL line to the following, restarting NeoOffice, and selecting the Help :: Check for Updates menu. The dialog that appears should say that NeoOffice is up to date:
    UpdateURL=http://www-test.neooffice.org/neojava/patchcheck.php?product=NeoOffice%203.2.1&patch=Patch%208&os=${_OS}&arch=${_ARCH}&osversion=10.6.8
  • Test as NeoOffice 3.2.1 Patch 8 on Mac OS X 10.7.4 by opening the installation's Contents/MacOS/versionrc file, changing the UpdateURL line to the following, restarting NeoOffice, and selecting the Help :: Check for Updates menu. The dialog that appears should say that NeoOffice is up to date:
    UpdateURL=http://www-test.neooffice.org/neojava/patchcheck.php?product=NeoOffice%203.2.1&patch=Patch%208&os=${_OS}&arch=${_ARCH}&osversion=10.7.4
  • Test as NeoOffice 3.4 Beta 2 Patch 1 by opening the installation's Contents/MacOS/versionrc file, changing the UpdateURL line to the following, restarting NeoOffice, and selecting the Help :: Check for Updates menu. The dialog that appears should say that NeoOffice 3.4 is available:
    UpdateURL=http://www-test.neooffice.org/neojava/patchcheck.php?product=NeoOffice%203.3%20Beta%202&patch=Patch%201&os=${_OS}&arch=${_ARCH}&osversion=<OSVERSION>
  • Test as NeoOffice 3.4 by opening the installation's Contents/MacOS/versionrc file, changing the UpdateURL line to the following, restarting NeoOffice, and selecting the Help :: Check for Updates menu. The dialog that appears should say that NeoOffice is up to date:
    UpdateURL=http://www-test.neooffice.org/neojava/patchcheck.php?product=NeoOffice%203.3&patch=Patch%200&os=${_OS}&arch=${_ARCH}&osversion=<OSVERSION>
pluby

Release

TaskDate CompletedAssignedStatus
Verify that all mirrors listed for the NeoOffice 3.4 main installer and language pack links work in the www-test-primary.neooffice.org website's download pages. If any do not work, comment them out in the /neojava/includes/mirrors.php file and invoke the following command: bin/cvsplusperms.sh commit pluby
Make the NeoOffice 3.4 binaries downloadable from the www.neooffice.org website's download pages by updating the www.neooffice.org website's pages to match what is in the www-test.neooffice.org website's pages. Login into the www.neooffice.org server, cd to the its webroot directory, and invoke the following command: bin/cvsplusperms.sh update -Ad pluby

Make NeoOffice 3.4 the current version in the NeoWiki using the following steps:

pluby
Add the NeoOffice 3.4 MD5 checksums to the NeoOffice MD5 checksums page. 10/17/13plubyDone
Remove the NeoOffice 3.2.1 MD5 checksums to the NeoOffice MD5 checksums page. pluby
Post the NeoOffice 3.4 press release as an article on the Trinity news page. Note: be sure to change the language field from "English" to "All" in when submitting the article so that all Trinity users will see the article. pluby
Add a link to the NeoOffice 3.4 press release in this NeoWiki article. pluby
Post a release announcement to this Trinity forum topic so that the news is included in the RSS feed. pluby

Synchronize the payments database to PayPal's database to ensure that none of the users' transactions are missing and to pick up any e-mail address changes made by users during the last year using the following steps:

  • Login to PayPal, click on the History tab, click on Download My History link, select Custom Date Range, enter the date for a year ago in "From" date and the current date as the "To" date, and "Comma Delimited - All Activity" as the "File Types to Download".
  • It will take some time for PayPal to prepare the file. Once the file is ready, download it and use sftp to copy it to the www.neooffice.org server. Note: be sure to delete your local copy.
  • Once the history file is on the www.neooffice.org server, login to the server, cd to the /donationsadmin directory, and execute the following command to import the history file:
    sh
    ./import_paypal_transaction_history.php /path/to/history/file 2>/path/to/error/file
    
  • Inspect the entries in the error file created in the previous command and verify that none of the rejected lines from the file are user payment transactions.
pluby
Delete the 31 obsolete NeoOffice-3.3-*.dmg main installer and language pack files from the /neojava/downloads/donordownloads directory on all of the mirrors listed in the rsync.neooffice.org server's /neojava/includes/mirrorfunctions.php file. pluby
Delete the obsolete NeoOffice-3.3-*.dmg patch installer files from the /neojava/downloads/donordownloads/patches directory on all of the mirrors listed in the rsync.neooffice.org server's /neojava/includes/mirrorfunctions.php file. pluby
Delete the 31 obsolete NeoOffice-3.2.1-*.dmg main installer and language pack files from the rsync.neooffice.org server's /neojava/downloads directory. pluby
Delete the obsolete NeoOffice-3.2.1-*.dmg patch installer files from the rsync.neooffice.org server's /neojava/downloads/patches directory. pluby
Manually edit the /neojava/downloads/donordownloads/.htaccess file and remove any RewriteCond lines for old download cookies. Do not remove the RewriteCond lines for the current download cookie. After you verify that the download site still works correctly, invoke the following command: bin/cvsplusperms.sh commit pluby
Personal tools