NeoOffice 2.2.2 Release Tasks

From NeoWiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 18:43, 8 October 2007 (edit)
( | contribs)
(Website - Update task)
← Previous diff
Revision as of 01:02, 9 October 2007 (edit) (undo)
( | contribs)
(Website - Update tasks)
Next diff →
Line 329: Line 329:
</tr> </tr>
- <tr bgcolor="lightgreen">+ <tr>
- <td><tt>cvs remove</tt> the 2 obsolete <tt>NeoOffice-2.2.1-*.torrent</tt> files from the Comment out all of the non-patch mirrors in the <tt>www-test.neooffice.org</tt> website's <tt>/neojava/downloads</tt> directory and invoke the following command to commit your changes: <tt>cvs commit ; chmod -Rf ug+rw .htaccess *</tt>.</td>+ <td><tt>cvs remove</tt> the 2 obsolete <tt>NeoOffice-2.2.1-*.torrent</tt> files from the <tt>www-test.neooffice.org</tt> website's <tt>/neojava/downloads</tt> directory and invoke the following command to commit your changes: <tt>cvs commit ; chmod -Rf ug+rw .htaccess *</tt>.</td>
- <td></td><td>pluby</td><td></td>+ <td>10/08/2007</td><td>pluby</td><td>Done</td>
- <tr bgcolor="lightgreen">+ <tr>
- <tr bgcolor="lightgreen">+ <tr>
<td> <td>
- <p>Update the 116 NeoOffice 2.2.2 file sizes in all of the <tt>maindownload.php</tt> and <tt>langpackdownload.php</tt> files in the <tt>/neojava</tt> directory of the <tt>www-test.neooffice.org</tt> server's web pages.</p>+ <p>Update the 116 NeoOffice 2.2.2 file sizes in all of the <tt>*download.php</tt> files in the <tt>/neojava</tt> directory of the <tt>www-test.neooffice.org</tt> server's web pages.</p>
<p>Note: I used the following steps to do this:</p> <p>Note: I used the following steps to do this:</p>
<ul> <ul>
Line 363: Line 363:
<li>Manually edit the file created in the last step and insert the following lines before the first <tt>sed</tt> command:</li> <li>Manually edit the file created in the last step and insert the following lines before the first <tt>sed</tt> command:</li>
<pre> <pre>
-for i in `find . -name "maindownload.php" -o -name "langpackdownload.php"`; do+for i in `find . -name "*download.php"`; do
cat $i | \ cat $i | \
</pre> </pre>
Line 379: Line 379:
</ul> </ul>
</td> </td>
- <td></td><td>pluby</td><td></td>+ <td>10/08/2007</td><td>pluby</td><td>Done</td>
</tr> </tr>
- <tr bgcolor="lightgreen">+ <tr>
<td> <td>
- <p>Create RetroOffice 2.2.2 pages in the <tt>www-test.neooffice.org</tt> web pages.</p>+ <p>Update the 116 RetroOffice 2.2.2 file sizes in all of the <tt>*download.php</tt> files in the <tt>/retro</tt> directory of the <tt>www-test.neooffice.org</tt> server's web pages.</p>
- <p>Note: I used the following steps to do this:</p>+
- <ul>+
- <li>Copy all NeoOffice 2.2.2 pages from the <tt>/neojava</tt> directory by executing the following commands in the <tt>/retro</tt> directory of the web pages:</li>+
-<pre>+
-sh+
-for i in `cd ../neojava ; find . -name ".htaccess" -o -name "*.php*" -o -name "*.html*" | \+
-grep -v downloads | grep -v earlyaccess | \+
-grep -v featurereqs | grep -v press_releases`; do+
-sed 's#NeoOffice#RetroOffice#g' ../neojava/$i | \+
-sed 's#neojava/404#retro/404#g' &gt; $i+
-cvs add $i+
-done+
-</pre>+
- <li>Correct the make targets and build directories by executing the following commands in the <tt>/retro</tt> directory of the web pages.</li>+
-<pre>+
-sh+
-for i in `find . -name "build.php"`; do+
-sed 's#install/#install_X11/#g' $i | \+
-sed 's#package&lt;#package_X11#g' &gt; $i.tmp+
-mv $i.tmp $i+
-done+
-</pre>+
- <li>Manually edit the <tt>mirror.php</tt> page and replace all of the NeoOffice URLs with the applicable RetroOffice URLs.</li>+
- <li>Manually edit all of the <tt>header.html</tt> pages, comment out the "Trinity" and "Bugzilla" links in the second header link block, replace the "Early Access Program" link in the third header link block with a <tt>NeoOffice&lt;sup&gt;&amp;reg;&lt;/sup&gt;</tt> link that is linked to <tt>../../neojava/</tt>, and replace all occurrences of <tt>RetroOffice&lt;sup&gt;&amp;reg;&lt;/sup&gt;</tt> with <tt>RetroOffice&lt;sup&gt;TM&lt;sup&gt;</tt>.</li>+
- <li>Manually edit all of the <tt>footer.html</tt> pages, create a new line that is a copy of the "RetroOffice" line just below it, remove the "registered" adjective from the first "RetroOffice" line, and change "RetroOffice" to "NeoOffice" in the second "RetroOffice" line.</li>+
- <li>Manually edit all of the <tt>contact.php</tt> pages and change the wording to reflect that there is no Trinity Forums for RetroOffice.</li>+
- <li>Manually edit all of the <tt>download.php</tt> pages and add a warning that RetroOffice is an X11 application.</li>+
- <li>Manually edit all of the <tt>donate.php</tt> and <tt>faq.php</tt> pages and modify wording to reflect the more limited support and development scope of RetroOffice.</li>+
- <li>Manually edit all of the <tt>features.php</tt> pages, add a warning that RetroOffice is an X11 application, delete NeoOffice features that are not supported by RetroOffice, and replace the "Missing Features" section with a "Limitations" section.</li>+
- <li>Manually edit all of the <tt>index.php</tt> pages, delete all news entries other than the "27 August 2007" one, and change the product description to reflect that RetroOffice is an X11 application.</li>+
- <li>Manually edit all of the <tt>maindownload.php</tt> pages and delete any BitTorrent links.</li>+
- <li>Manually edit all of the <tt>patch.php</tt> pages and change the wording to reflect that RetroOffice patches result from Neooffice bug fixes.</li>+
- <li>Manually edit all of the <tt>thankyou.php</tt> pages and remove the references to "bug fixing" and "support and testing forums".</li>+
- <li>Manually edit all of the <tt>welcome.php</tt> pages and merge the wording changes in the <tt>contact.php</tt> and <tt>index.php</tt> pages.</li>+
- <li>After you verify the that changes look correct, invoke the following command to commit your changes: <tt>cvs commit ; chmod -Rf ug+rw .htaccess *</tt></li>+
- </ul> +
- </td>+
- <td></td><td>pluby</td><td></td>+
- </tr>+
- +
- <tr bgcolor="lightgreen">+
- <td>+
- <p>Update the 116 RetroOffice 2.2.2 file sizes in all of the <tt>maindownload.php</tt> and <tt>langpackdownload.php</tt> files in the <tt>/retro</tt> directory of the <tt>www-test.neooffice.org</tt> server's web pages.</p>+
<p>Note: I used the following steps to do this:</p> <p>Note: I used the following steps to do this:</p>
<ul> <ul>
<li>Login to the <tt>www-test.neooffice.org</tt> server, <tt>cd</tt> to the its webroot directory, and invoke the following command: <tt>cvs update -Ad ; chmod -Rf ug+rw .htaccess *</tt></li> <li>Login to the <tt>www-test.neooffice.org</tt> server, <tt>cd</tt> to the its webroot directory, and invoke the following command: <tt>cvs update -Ad ; chmod -Rf ug+rw .htaccess *</tt></li>
- <li>Get a file containing the new release's file names and the matching file sizes from the NeoOffice 2.2.2 release by executing the following command:</li>+ <li>Get a file containing the new release's file names and the matching file sizes from the RetroOffice 2.2.1 release by executing the following command:</li>
<pre> <pre>
-ls -l /directory/NeoOffice-2.2.2/binaries/NeoOffice-2.2.2-*.dmg | \+ls -l /directory/RetroOffice-2.2.2/binaries/RetroOffice-2.2.1-*.dmg | \
awk '{print $9 " " $5}' | \ awk '{print $9 " " $5}' | \
-sed 's#^.*NeoOffice-2.2.2#RetroOffice-2.2.2#' | \+sed 's#^.*RetroOffice-2.2.1#RetroOffice-2.2.2#' | \
sort > /path/to/a/new/file sort > /path/to/a/new/file
</pre> </pre>
Line 454: Line 411:
<li>Manually edit the file created in the last step and insert the following lines before the first <tt>sed</tt> command:</li> <li>Manually edit the file created in the last step and insert the following lines before the first <tt>sed</tt> command:</li>
<pre> <pre>
-for i in `find . -name "maindownload.php" -o -name "langpackdownload.php"`; do+for i in `find . -name "*download.php"`; do
cat $i | \ cat $i | \
</pre> </pre>
Line 470: Line 427:
</ul> </ul>
</td> </td>
- <td></td><td>pluby</td><td></td>+ <td>10/08/2007</td><td>pluby</td><td>Done</td>
</tr> </tr>
- <tr bgcolor="lightgreen">+ <tr>
<td> <td>
<p>Enable the BitTorrent links using the following steps:</p> <p>Enable the BitTorrent links using the following steps:</p>
<ul> <ul>
<li>Obtain the 2 <tt>NeoOffice-2.2.2-*.torrent</tt> files from the <tt>mirrors.freesmug.org</tt> mirror maintainer and <tt>cvs add</tt> these 2 files in the <tt>www-test.neooffice.org</tt> website's <tt>/neojava/downloads</tt> directory.</li> <li>Obtain the 2 <tt>NeoOffice-2.2.2-*.torrent</tt> files from the <tt>mirrors.freesmug.org</tt> mirror maintainer and <tt>cvs add</tt> these 2 files in the <tt>www-test.neooffice.org</tt> website's <tt>/neojava/downloads</tt> directory.</li>
- <li>Manually edit all of the <tt>maindownload.php</tt> pages and uncomment the BitTorrent links.</li> 
<li>After you verify the that changes look correct, invoke the following command to commit your changes: <tt>cvs commit ; chmod -Rf ug+rw .htaccess *</tt></li> <li>After you verify the that changes look correct, invoke the following command to commit your changes: <tt>cvs commit ; chmod -Rf ug+rw .htaccess *</tt></li>
</ul> </ul>
</td> </td>
- <td></td><td>pluby</td><td></td>+ <td>10/08/2007</td><td>pluby</td><td>Done</td>
</tr> </tr>

Revision as of 01:02, 9 October 2007

This page is an attempt to document all of the tasks required to release NeoOffice 2.2.2. 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 assigned
Assigned but not yet due


Contents

Builds

In this release, there is no change in either the OpenOffice.org or ooo-build tag that we are using so this build is far simpler than the NeoOffice 2.2.1 build. However, we need to rebuild all of the installers to fix bundle the a latest Mac OS X 10.5 installer bug. Fortunately, we can provide a patch that upgrades a NeoOffice 2.2.1 installation.

TaskDue DateAssignedStatus

Verify that ooo-build does not have a newer tag than the OOO_BUILD_2_2_1 tag.

10/04/2007plubyDone

Verify that odf-converter does not have a newer tag than the word1.1-M1 tag.

10/04/2007plubyDone

Rebuild all custom NeoOffice and RetroOffice code using the existing NeoOffice 2.2.1 Patch 1 Test 16 builds. Perform a confirming checkout of the HEAD branch and set build to build with a new version and NeoOffice and RetroOffice trademarked product names.

This includes the following steps:

  • Do a cvs update -Ad 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=2.2.2
    PRODUCT_DIR_VERSION=2.2.2
    X11_PRODUCT_VERSION=2.2.2
    X11_PRODUCT_DIR_VERSION=2.2.2
    PRODUCT_PATCH_VERSION=Patch 0
    PRODUCT_DIR_PATCH_VERSION=Patch-0
    X11_PRODUCT_PATCH_VERSION=Patch 0
    X11_PRODUCT_DIR_PATCH_VERSION=Patch-0
    NEO_TAG:=-rNeoOffice-2_2_2
    X11_NEO_TAG:=-rRetroOffice-2_2_2
    
  • Delete all build.neo_* files so that all custom NeoOffice and RetroOffice code will be rebuilt.
  • Commit makefile changes and invoke make build.patch_package build.patch_package_X11 to rebuild all applicable code and installers.
10/05/2007plubyDone

Verify that none of the NeoOffice Intel build's executables or libraries link to any X11 libraries.

Note: to do this task, install your latest NeoOffice build and, in a terminal, execute the following commands:

sh
cd /Applications/NeoOffice.app/Contents/MacOS
for i in `find . -type f`; do echo $i ; otool -L $i 2>&1 | grep X11; done

If none of the binaries link to any X11 libraries, the above commands will only print a list of files. However, if you see any lines that look similar to the following, the file listed just before this type of line is linked to an X11 library and this must be correct before the NeoOffice binaries can be released.

/usr/X11R6/lib/libX11.6.dylib (compatibility version 6.2.0, current version 6.2.0)
10/05/2007plubyDone

Verify that none of the NeoOffice PowerPC build's executables or libraries link to any X11 libraries.

Note: Use the same steps as used for the matching Intel task.

10/05/2007plubyDone

Modify and test bin/installutils script to treat all NeoOffice 2.2.x installations as a match.

In this release, language pack resource files are compatible so we want to preserve them in they exist.

Note: I tested this code by building the installer, language packs, and patch installer and then doing the following steps:

  • Install the patch installer and verify that it does not upgrade my NeoOffice 2.2.1 Early Access installation but does upgrade my NeoOffice 2.2.1 installation.
  • Install a NeoOffice 2.2.2 language pack, change my machine's preferred language to match the installed language pack, run NeoOffice 2.2.2, and verify that the menus are not in English.
  • With the same preferred language set in the previous step, install NeoOffice 2.2.2, and verify that the menus are still not in English.
10/05/2007plubyDone

Tag the code in the HEAD branch with the NeoOffice-2_2_2 and RetroOffice-2_2_2 tags using the following:

  • Do a cvs update -Ad 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.
  • In the makefile, set the NEO_TAG macro to NEO_TAG:=-rNeoOffice-2_2_2 and X11_NEO_TAG macro to X11_NEO_TAG:=-rRetroOffice-2_2_2 and commit the makefile.
  • Tag all files in your workspace by invoking cvs tag NeoOffice-2_2_2 ; cvs tag RetroOffice-2_2_2.
  • Verify that the installer still builds by deleting the build.source_zip* files and invoking make NOLANGPACKS=true.
  • If there are any build errors, fix and commit them, retag the changed files by invoking cvs tag -F NeoOffice-2_2_2 ; cvs tag -F RetroOffice-2_2_2, and repeating the previous two steps.
10/05/2007plubyDone

Create releasable NeoOffice 2.2.2 and RetroOffice 2.2.2 builds 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 -d -rNeoOffice-2_2_2 and verify that none of the files are marked as updated, patched, modified, or have conflicts. If any such errors 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 update -Ad so that you can do bug fixing and release patches after you create your releasable build
  • Delete all build.neo_*, build.odf-converter*, and build.source_zip* files. This will force the installer to rebuild the odf-converter code and all of the NeoOffice custom code without causing any of the OpenOffice.org or ooo-build code to be rebuilt.
  • Invoke make build.patch_package build.patch_package_X11 to create the releasable installer, language packs, and patch installers.
10/05/2007plubyDone

Create releasable NeoOffice 2.2.2 and RetroOffice 2.2.2 builds for PowerPC.

Note: Use the same steps as used for the matching Intel task.

10/05/2007plubyDone

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-2.2.2 directory outside of the workspace
  • Copy all 58 install/*.dmg files from your releasable build into the empty NeoOffice-2.2.2 directory and chmod 444 *.dmg in that directory
  • Copy all patch_install/*.dmg files from your releasable build into the empty NeoOffice-2.2.2 directory and chmod 444 *.dmg in that directory

sftp all 58 files up to staging server and chmod 444 *.dmg all of the files on the staging server.

sftp the patch installer file up to staging server and chmod 444 *.dmg all of the files on the staging server.

diff the md5 *Intel.dmg | sort' output of the files on the server and in local NeoOffice-2.2.2 directory.

Repeat the above steps using RetroOffice-2.2.2 instead of NeoOffice-2.2.2 and install_X11/*.dmg instead of install/*.dmg.

Put the NeoOffice-2.2.2 and RetroOffice-2.2.2 folders in a new empty directory and create a CD master NeoRetroOffice-2.2.2.cdr file of the new directory using the following command:

hdiutil create -srcfolder /path/to/new/directory \
-format UDTO -ov -o /path/to/output/NeoRetroOffice-2.2.2.cdr
10/06/2007plubyDone

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

Note: Use the same steps as used for the matching Intel task (except diff using md5 *PowerPC.dmg | sort'.

10/06/2007plubyDone

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

  • 10.4.10
  • 10.5.0 developer seed 9A559
10/05/2007plubyDone

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

  • 10.3.9
  • 10.4.10
  • 10.5.0 developer seed 9A559
10/05/2007plubyDone

Mirrors

NeoOffice's rsync server is hosted on [1] and our volunteer mirrors obtain the NeoOffice binaries by nightly runs of the following command on their mirrors:

rsync -r --delete rsync://rsync.neooffice.org/neojavadownloads/ /path/to/NeoOffice/mirror/directory

At this time, we do not mirror RetroOffice binaries.

TaskDue DateAssignedStatus
Upload the 116 NeoOffice installer NeoOffice-2.2.2-*.dmg files to the jane.neooffice.org server's /neojava/downloads directory. 10/06/2007plubyDone
Upload the 116 RetroOffice installer RetroOffice-2.2.2-*.dmg files to the www.planamesa.org server's /retro/downloads directory. 10/06/2007plubyDone
Upload the 2 NeoOffice patch installer NeoOffice-2.2.2-Patch-0-*.dmg files to the jane.neooffice.org server's /neojava/downloads/patches directory. 10/06/2007plubyDone
Upload the 2 RetroOffice patch installer RetroOffice-2.2.2-Patch-0-*.dmg files to the jane.neooffice.org server's /retro/downloads/patches directory. 10/06/2007plubyDone

Make room for the new NeoOffice binaries by removing the NeoOffice 2.2.1 binaries from the www.planamesa.org mirror site.

Note: the following steps were used to complete this task:

  • Login to the www.neooffice.org server, cd to the its webroot directory, and invoke the following command: cvs update -Ad ; chmod -Rf ug+rw .htaccess *.
  • Comment out the www.planamesa.org server from the /neojava/mirrors.php file in the www.neooffice.org website's /neojava/mirrors.php file and invoke the following command to commit your changes: cvs commit ; chmod -Rf ug+rw .htaccess *.
  • Delete all NeoOffice-2.2.1-*.dmg files from the www.planamesa.org server.
10/05/2007plubyDone
3 business days before the release, copy the 116 NeoOffice installer NeoOffice-2.2.2-*.dmg files from the www.planamesa.org server's /neojava/downloads directory into the rsync.neooffice.org server's /neojava/downloads directory so that the files will be picked up by the mirrors in their next nightly run. 10/06/2007plubyDone
3 business days before the release, copy the 2 NeoOffice patch installer NeoOffice-2.2.2-Patch-0-*.dmg files from the jane.neooffice.org server's /neojava/downloads/patches directory into the rsync.neooffice.org server's /neojava/downloads/patches directory so that the files will be picked up by the mirrors in their next nightly run. 10/06/2007plubyDone
Copy the 116 NeoOffice installer NeoOffice-2.2.2-*.dmg files from the www.planamesa.org server's /neojava/downloads directory to the www.planamesa.net server's /neojava/downloads directory. 10/06/2007plubyDone
Copy the 116 RetroOffice installer RetroOffice-2.2.2-*.dmg files from the www.planamesa.com server's /retro/downloads directory to the www.planamesa.net server's /retro/downloads directory. 10/06/2007plubyDone

Website

TaskDue DateAssignedStatus

Create a tag for the www.neooffice.org website to avoid modifying production web pages while we modify the web pages in the test website. Steps:

  • Construct a local checkout of the website: cvs co www_htdocs
  • cd into the checkout directory and tag the checkout by invoking the following command: cvs tag NeoRetroOffice-2_2_1
  • Login to the www.neooffice.org server, cd to the its webroot directory, and set the tag by invoking the following command: cvs update -d -rNeoRetroOffice-2_2_1 ; chmod -Rf ug+rw .htaccess *
10/06/2007plubyDone

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

Note: I used the following steps to do this:

  • Update the version name, patch version, and file URLs by executing the following commands in the / directory of the web pages:
  • sh
    for i in `find neojava retro -name "*.php" -o -name "header.html" | grep -v 'index\.php'`; do
    sed 's#2\.2\.1#2.2.2#g' $i | \
    sed 's#OpenOffice.org 2\.2\.2#OpenOffice.org 2.2.1#g' | \
    sed 's#OpenOffice.org</a> 2\.2\.2#OpenOffice.org</a> 2.2.1#g' | \
    sed 's#Patch 1#Patch 0#g' | \
    sed 's#Patch-1#Patch-0#g' > $i.tmp
    
    mv $i.tmp $i
    done
    
  • Manually edit the /neojava/globals.php page and set the following variables to the following values:
  • $currentproductfamily[0] = 'NeoOffice 2.2.1';
    
  • Manually edit the /retro/globals.php page and set the following variables to the following values:
  • $currentproductfamily[0] = 'RetroOffice 2.2.1';
    
  • Manually edit all of the patch.php pages and replace 2.2.2 with 2.2.1 in the 5th and 6th occurrences from the end of the file.
  • Manually edit the news banner text in all of the header.html pages and insert a line that says "NeoOffice 2.2.1 users: Upgrade to NeoOffice 2.2.2 by downloading the latest patch".
  • Manually edit all of the index.php pages, copy the "27 August 2007" line in the "News" section to a new line above it, change in the new line any occurrences of "NeoOffice 2.2.1" to "NeoOffice 2.2.2", any occurrences of "RetroOffice 2.2.1" to "RetroOffice 2.2.2", and the date to "10 October 2007", and delete the sentence with the download link in the "27 August 2007" line.
  • After you verify the that changes look correct, invoke the following command to commit your changes: cvs commit ; chmod -Rf ug+rw .htaccess *
10/08/2007plubyDone
Comment out all of the non-patch mirrors in the www-test.neooffice.org website's /neojava/mirrors.php file and invoke the following command to commit your changes: cvs commit ; chmod -Rf ug+rw .htaccess *. 10/07/2007plubyDone
cvs remove the 2 obsolete NeoOffice-2.2.1-*.torrent files from the www-test.neooffice.org website's /neojava/downloads directory and invoke the following command to commit your changes: cvs commit ; chmod -Rf ug+rw .htaccess *. 10/08/2007plubyDone

Update the 116 NeoOffice 2.2.2 file sizes in all of the *download.php files in the /neojava directory of the www-test.neooffice.org server's web pages.

Note: I used the following steps to do this:

  • Login to the www-test.neooffice.org server, cd to the its webroot directory, and invoke the following command: cvs update -Ad ; chmod -Rf ug+rw .htaccess *
  • Get a file containing the new release's file names and the matching file sizes from the NeoOffice 2.2.1 release by executing the following command:
  • ls -l /directory/NeoOffice-2.2.1/binaries/NeoOffice-2.2.1-*.dmg | \
    awk '{print $9 " " $5}' | \
    sed 's#^.*NeoOffice-2.2.1#NeoOffice-2.2.2#' | \
    sort > /path/to/a/new/file
    
  • Get a file containing the new release's file names and the matching file sizes by executing the following commands:
  • ls -l /directory/NeoOffice-2.2.2/binaries/NeoOffice-2.2.2-*.dmg | \
    awk '{print $9 " " $5}' | \
    sort > /path/to/a/new/file
    
  • Create a chained list of sed commands by executing the following command:
  • join /file/from/first/step /file/from/second/step | \
    sed 's#^.*dmg ##' | \
    sed 's# #\##' | \
    sed 's#^#sed "s\##' | \
    sed 's#$#\#g" | \\#' > /path/to/a/new/file
    
  • Manually edit the file created in the last step and insert the following lines before the first sed command:
  • for i in `find . -name "*download.php"`; do
    cat $i | \
    
  • Manually edit the same file and insert the following lines after the last sed command:
  • cat > $i.tmp
    mv $i.tmp $i
    done
    
  • cd to the /neojava directory and execute the following command to update all of the file sizes:
  • sh /path/to/file/edited/in/last/step
    
  • After you verify the that changes look correct, invoke the following command to commit your changes: cvs commit ; chmod -Rf ug+rw .htaccess *
10/08/2007plubyDone

Update the 116 RetroOffice 2.2.2 file sizes in all of the *download.php files in the /retro directory of the www-test.neooffice.org server's web pages.

Note: I used the following steps to do this:

  • Login to the www-test.neooffice.org server, cd to the its webroot directory, and invoke the following command: cvs update -Ad ; chmod -Rf ug+rw .htaccess *
  • Get a file containing the new release's file names and the matching file sizes from the RetroOffice 2.2.1 release by executing the following command:
  • ls -l /directory/RetroOffice-2.2.2/binaries/RetroOffice-2.2.1-*.dmg | \
    awk '{print $9 " " $5}' | \
    sed 's#^.*RetroOffice-2.2.1#RetroOffice-2.2.2#' | \
    sort > /path/to/a/new/file
    
  • Get a file containing the new release's file names and the matching file sizes by executing the following commands:
  • ls -l /directory/RetroOffice-2.2.2/binaries/RetroOffice-2.2.2-*.dmg | \
    awk '{print $9 " " $5}' | \
    sort > /path/to/a/new/file
    
  • Create a chained list of sed commands by executing the following command:
  • join /file/from/first/step /file/from/second/step | \
    sed 's#^.*dmg ##' | \
    sed 's# #\##' | \
    sed 's#^#sed "s\##' | \
    sed 's#$#\#g" | \\#' > /path/to/a/new/file
    
  • Manually edit the file created in the last step and insert the following lines before the first sed command:
  • for i in `find . -name "*download.php"`; do
    cat $i | \
    
  • Manually edit the same file and insert the following lines after the last sed command:
  • cat > $i.tmp
    mv $i.tmp $i
    done
    
  • cd to the /retro directory and execute the following command to update all of the file sizes:
  • sh /path/to/file/edited/in/last/step
    
  • After you verify the that changes look correct, invoke the following command to commit your changes: cvs commit ; chmod -Rf ug+rw .htaccess *
10/08/2007plubyDone

Enable the BitTorrent links using the following steps:

  • Obtain the 2 NeoOffice-2.2.2-*.torrent files from the mirrors.freesmug.org mirror maintainer and cvs add these 2 files in the www-test.neooffice.org website's /neojava/downloads directory.
  • After you verify the that changes look correct, invoke the following command to commit your changes: cvs commit ; chmod -Rf ug+rw .htaccess *
10/08/2007plubyDone

Obtain each localized version of the NeoOffice 2.2.2 press release in HTML format, save them in the www-test.neooffice.org website's /neojava/press_releases directory using the following naming format so that the webserver's language detection will serve the closest matching file, cvs add the files, and invoke the following command to commit your changes: cvs commit ; chmod -Rf ug+rw .htaccess *:

  • English - Save as two files: NeoOffice_2.2.2.html.en and NeoOffice_2.2.2.html.html
  • Other languages - Save using the format NeoOffice_2.2.2.html.<two-digit-language-code> replacing <two-digit-language-code> with the standard language code (e.g. de for German, fr for French, etc.
pluby
When a mirror that has been commented out in the www-test.neooffice.org website's /neojava/mirrors.php file has mirrored the NeoOffice 2.2.2 binaries, uncomment and the mirror and invoke the following command to commit your changes: cvs commit ; chmod -Rf ug+rw .htaccess *. pluby

Release

Generally, we try to time the release when it is early morning of the release date in New Zealand which is the most populous country closest to the international date line. For this release, 10 October 2007 translates to anytime after 5:00 am on 9 October 2007 in California.

TaskDue DateAssignedStatus
Add "2.2.2" as a version in Bugzilla. pluby
Make the NeoOffice and RetroOffice 2.2.2 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: cvs update -Ad ; chmod -Rf ug+rw .htaccess *. pluby

Close all bugs with a status of "Resolved" by setting the following field values:

  • Set "Status" field to "Closed"
  • Set "Resolution" field to "Fixed"
  • Set "Target Version" field to "2.2.2"
  • Set "Closed in Version" field to "2.2.2"
08/26/2007sardissonDone

Close any bugs with a status of "Assigned" and resolution of "Fixed" (bugs fixed in the release build after the final Early Access patch) by setting the following field values:

  • Set "Status" field to "Closed"
  • Set "Resolution" field to "Fixed"
  • Set "Target Version" field to "2.2.2"
  • Set "Closed in Version" field to "2.2.2"
pluby
Post the press release as an article on trinity.neooffice.org. 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
Post a release announcement to the NeoJUpdate mailing list. pluby
Delete the 116 NeoOffice 2.2.1 NeoOffice-2.2.1-*.dmg files from the rsync.neooffice.org server's /neojava/downloads directory. pluby
Delete the 2 obsolete NeoOffice 2.2.1 NeoOffice-2.2.1-Patch-*.dmg patch installer files from the rsync.neooffice.org server's /neojava/downloads directory. pluby
After the files have been deleted from the rsync server, wait 48 hours and verify that these files have been deleted from the mirrors listed in the www.neooffice.org website's /neojava/mirrors.php file. Contact any mirror maintainers that still have these files to confirm that they are rsynching to the rsync server regularly. pluby

Synchronize the donation's database to PayPal's database to ensure that none of the donors' transactions are missing and to pick up any e-mail address changes made by donors during the Early Access period using the following steps:

  • Login to PayPal, click on the History tab, click on Download My History link, select Custom Date Range, enter the day before the start of the Early Access period as the "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 /neojava/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 donor transactions.
pluby
Personal tools