NeoOffice 3.0 Early Access Release Tasks

From NeoWiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 18:23, 3 January 2009 (edit)
( | contribs)
(Builds - Update completed tasks and delete "wizards" tasks as it is not needed in NeoOffice 3.x)
← Previous diff
Revision as of 00:58, 7 January 2009 (edit) (undo)
( | contribs)
(Builds - Update completed tasks)
Next diff →
Line 22: Line 22:
<tr> <tr>
<td><b>Task</b></td><td width="10%"><b>Date Completed</b></td><td width="10%"><b>Assigned</b></td><td width="10%"><b>Status</b></td> <td><b>Task</b></td><td width="10%"><b>Date Completed</b></td><td width="10%"><b>Assigned</b></td><td width="10%"><b>Status</b></td>
 + </tr>
 +
 + <tr>
 + <td>
 + <p>Verify that OpenOffice.org does not have a newer tag for version 3.0.x than the OOO300_m14 tag.</p>
 + </td>
 + <td>01/06/2009</td><td>pluby</td><td>Done</td>
</tr> </tr>
Line 31: Line 38:
</tr> </tr>
- <tr bgcolor="pink">+ <tr>
<td> <td>
- <p>Verify that odf-converter does not have a newer tag than the Release-1.1 tag. Note: 2.0 was released however it crashes when importing .xlsx to .ods and fails in all cases when importing .pptx to .odp so it is clearly too unstable to use in NeoOffice.</p>+ <p>Verify that Novell's patched odf-converter does not have a newer version than 2.5-2 in [http://download.go-oo.org/tstnvl/odf-converter/SOURCES/ Novell's odf-converter source repository].</p>
</td> </td>
- <td></td><td></td><td></td>+ <td>01/06/2009</td><td>pluby</td><td>Done</td>
</tr> </tr>
Line 106: Line 113:
</tr> </tr>
- <tr bgcolor="pink">+ <tr>
<td> <td>
<p>Verify that none of the NeoOffice Intel build's executables or libraries link to any X11 libraries.</p> <p>Verify that none of the NeoOffice Intel build's executables or libraries link to any X11 libraries.</p>
Line 112: Line 119:
<pre> <pre>
sh sh
-cd /Applications/NeoOffice.app/Contents/MacOS+cd /Applications/NeoOffice.app/Contents
for i in `find . -type f`; do echo $i ; otool -L $i 2>&1 | grep X11; done for i in `find . -type f`; do echo $i ; otool -L $i 2>&1 | grep X11; done
</pre> </pre>
Line 120: Line 127:
</pre> </pre>
</td> </td>
- <td></td><td></td><td></td>+ <td>01/06/2009</td><td>pluby</td><td>Done</td>
</tr> </tr>
- <tr bgcolor="pink">+ <tr>
<td> <td>
<p>Verify that none of the NeoOffice PowerPC build's executables or libraries link to any X11 libraries.</p> <p>Verify that none of the NeoOffice PowerPC build's executables or libraries link to any X11 libraries.</p>
<p>Note: Use the same steps as used for the matching Intel task.</p> <p>Note: Use the same steps as used for the matching Intel task.</p>
</td> </td>
- <td></td><td></td><td></td>+ <td>01/06/2009</td><td>pluby</td><td>Done</td>
</tr> </tr>
Line 197: Line 204:
<p>Verify that the releasable installers and one or more language packs install and run on Intel for the following Mac OS X versions:</p> <p>Verify that the releasable installers and one or more language packs install and run on Intel for the following Mac OS X versions:</p>
<ul> <ul>
- <li>10.4.10</li>+ <li>10.4.11</li>
- <li>10.5.3</li>+ <li>10.5.6</li>
</ul> </ul>
</td> </td>
Line 208: Line 215:
<p>Verify that the releasable installers and one or more language packs install and run on PowerPC for the following Mac OS X versions:</p> <p>Verify that the releasable installers and one or more language packs install and run on PowerPC for the following Mac OS X versions:</p>
<ul> <ul>
- <li>10.3.9</li>+ <li>10.4.11</li>
- <li>10.4.10</li>+ <li>10.5.6</li>
- <li>10.5.3</li>+
</ul> </ul>
</td> </td>

Revision as of 00:58, 7 January 2009

This page is an attempt to document all of the tasks required to release NeoOffice 3.0 Early Access. 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, a new OpenOffice.org tag was used. Also, new application and toolbar icons were added. Because of these changes, an upgrade patch would be excessive large so no upgrade patch will be released.

TaskDate CompletedAssignedStatus

Verify that OpenOffice.org does not have a newer tag for version 3.0.x than the OOO300_m14 tag.

01/06/2009plubyDone

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

01/03/2009plubyDone

Verify that Novell's patched odf-converter does not have a newer version than 2.5-2 in Novell's odf-converter source repository.

01/06/2009plubyDone

Commit and test updated icon files in etc/package.

  • cd etc/package
  • Execute the following shell script:
    #!/bin/csh
    #
    # execute within etc/package directory
    
    setenv PKGDIR `pwd`
    
    pushd ~
    curl -C - -O http://homepage.mac.com/punto_mac/projects/neo/downloads/Akua_Final2008_Release.dmg
    popd
    
    setenv VOL `hdiutil mount ~/Akua_Final2008_Release.dmg | perl -ne 'if ( /(\/Volumes.*)$/ ) { print $1; }'`
    if ( "$VOL" != "" ) then
            mkdir "Akua Final2008 Release"
            pushd "$VOL"
            cp -rf * "$PKGDIR/Akua Final2008 Release"
            popd
            pushd "Akua Final2008 Release"
            find . -type f -name \.\* -print0 | xargs -0 -n 1 rm -f
            popd
    
            if ( -e AkuaIcons.zip ) then
                    rm AkuaIcons.zip
            endif
            zip -r AkuaIcons.zip "Akua Final2008 Release"
            hdiutil unmount "$VOL"
            rm -rf "Akua Final2008 Release"
    endif
    
  • Rebuild NeoOffice installers with new icon zip files and verify proper build.
  • Reinstall both builds and check that updated icons are available.
01/03/2009plubyDone

Rebuild all custom NeoOffice code using the existing NeoOffice 3.0 Early Access development 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_FAMILY=3.0
    PRODUCT_VERSION=3.0 Early Access
    PREVIOUS_PRODUCT_VERSION=3.0 Early Access
    PRODUCT_DIR_VERSION=3.0_Early_Access
    PRODUCT_PATCH_VERSION=Patch 0
    PRODUCT_DIR_PATCH_VERSION=Patch-0
    NEO_TAG:=-rNeoOffice-3.0_Early_Access
    
  • Delete all build.neo_* files so that all custom NeoOffice and RetroOffice code will be rebuilt.
  • Commit makefile changes and invoke make all to rebuild all applicable code and installers.
01/03/2009plubyDone

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
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)
01/06/2009plubyDone

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.

01/06/2009plubyDone

Tag the code in the HEAD branch with the NeoOffice-3.0 Early Access and RetroOffice-3.0 Early Access 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-3.0 Early Access and X11_NEO_TAG macro to X11_NEO_TAG:=-rRetroOffice-3.0 Early Access and commit the makefile.
  • Tag all files in your workspace by invoking cvs tag NeoOffice-3.0 Early Access ; cvs tag RetroOffice-3.0 Early Access.
  • If there are any build errors, fix and commit them, retag the changed files by invoking cvs tag -F NeoOffice-3.0 Early Access ; cvs tag -F RetroOffice-3.0 Early Access, and repeating the previous two steps.

Create releasable NeoOffice 3.0 Early Access and RetroOffice 3.0 Early Access 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-3.0 Early Access 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_* and build.odf-converter* 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 all to create the releasable installer and language packs.

Create releasable NeoOffice 3.0 Early Access and RetroOffice 3.0 Early Access builds for PowerPC.

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

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.0 Early Access directory outside of the workspace
  • Copy all 58 install/*.dmg files from your releasable build into the empty NeoOffice-3.0 Early Access 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.

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

Put the NeoOffice-3.0 Early Access and RetroOffice-3.0 Early Access folders in a new empty directory and create a CD master NeoRetroOffice-3.0 Early Access.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-3.0 Early Access.cdr

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.

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.11
  • 10.5.6

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

  • 10.4.11
  • 10.5.6

Mirrors

NeoOffice's rsync server is hosted on rsync.neooffice.org 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.

TaskDate CompletedAssignedStatus
Upload the 114 NeoOffice installer NeoOffice-3.0 Early Access-*.dmg files to the jane.neooffice.org server's /neojava/downloads directory.
Upload the 114 RetroOffice installer RetroOffice-3.0 Early Access-*.dmg files to the www.planamesa.org server's /retro/downloads directory.

Make room for the new NeoOffice binaries by removing the NeoOffice 2.2.5 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 ; chmod -Rf ug+rw .htaccess *.
  • Comment out the www.planamesa.org server from the /neojava/includes/mirrors.php file in the www.neooffice.org website's /neojava/includes/mirrors.php file and invoke the following command to commit your changes: cvs commit ; chmod -Rf ug+rw .htaccess *.
  • Delete all NeoOffice-2.2.5-*.dmg files from the www.planamesa.org server.
Copy the 114 NeoOffice installer NeoOffice-3.0 Early Access-*.dmg files from the rsync.neooffice.org server's /neojava/downloads directory into the www.planamesa.org server's /neojava/downloads directory.
Copy the 114 NeoOffice installer NeoOffice-3.0 Early Access-*.dmg files from the rsync.neooffice.org server's /neojava/downloads directory to the www.planamesa.net server's /neojava/downloads directory.
Copy the 114 RetroOffice installer RetroOffice-3.0 Early Access-*.dmg files from the www.planamesa.com server's /retro/downloads directory to the www.planamesa.net server's /retro/downloads directory.

Website

TaskDate CompletedAssignedStatus

Create a branch 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 -b NeoRetroOffice-2.2.5_branch
  • 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.5 ; chmod -Rf ug+rw .htaccess *

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"`; do
    sed 's#2\.2\.5#3.0 Early Access#g' $i | \
    sed 's#NeoOffice-2.2.5#NeoOffice-3.0 Early Access#g' | \
    sed 's#Patch 6#Patch 0#g' | \
    sed 's#Patch-6#Patch-0#g'  $i.tmp
    mv $i.tmp $i
    done
    
  • Manually edit the /neojava/includes/globals.php page and set the following variables to the following values and delete all but the zero'th element:
  • $currentproductfamily[0] = '';
    
  • Manually edit the /retro/includes/globals.php page and set the following variables to the following values and delete all but the zero'th element:
  • $currentproductfamily[0] = '';
    
  • Manually edit the news banner text in all of the header.html pages in the /neojava directory, comment out the "Milan event videos are now online" line and replace it with a NeoOffice 3.0 Early Access announcement.
  • After you verify that the changes look correct, invoke the following command to commit your changes: cvs commit ; chmod -Rf ug+rw .htaccess *
cvs remove the 2 obsolete NeoOffice-2.2.5-*.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 *.

Update the 114 NeoOffice 3.0 Early Access 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.5 release by executing the following command:
  • cd /directory/NeoOffice-2.2.5/binaries ; ls -l NeoOffice-2.2.5-*.dmg | \
    awk '{print $9 " " $5}' | \
    sed 's#^.*NeoOffice-2.2.5#NeoOffice-3.0 Early Access#' | \
    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:
  • cd /directory/NeoOffice-3.0 Early Access/binaries ; ls -l NeoOffice-3.0 Early Access-*.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 *

Update the 114 RetroOffice 3.0 Early Access 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.5 release by executing the following command:
  • cd /directory/RetroOffice-2.2.5/binaries ; ls -l RetroOffice-2.2.5-*.dmg | \
    awk '{print $9 " " $5}' | \
    sed 's#^.*RetroOffice-2.2.5#RetroOffice-3.0 Early Access#' | \
    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:
  • cd /directory/RetroOffice-3.0 Early Access/binaries ; ls -l RetroOffice-3.0 Early Access-*.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 *

Enable the BitTorrent links using the following steps:

  • Obtain the 2 NeoOffice-3.0 Early Access-*.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 *

Obtain each localized version of the NeoOffice 3.0 Early Access 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.5.html.en and NeoOffice_2.2.5.html.html
  • Other languages - Save using the format NeoOffice_2.2.5.html.<two-digit-language-code> replacing <two-digit-language-code> with the standard language code (e.g. de for German, fr for French, etc.
When a mirror that has been commented out in the www-test.neooffice.org website's /neojava/includes/mirrors.php file has mirrored the NeoOffice 3.0 Early Access binaries, uncomment and the mirror and invoke the following command to commit your changes: cvs commit ; chmod -Rf ug+rw .htaccess *.

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. So for this release, 15 January 2009 translates to afternoon on 14 January 2009 in California.

TaskDate CompletedAssignedStatus
Add "3.0 Early Access" as a version in Bugzilla.
Make the NeoOffice and RetroOffice 3.0 Early Access 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 *.
On the neowiki.neooffice.org main page, replace all occurrences of 2.2.5 that are related to NeoOffice or RetroOffice with 3.0 Early Access. Do not change any that are related to OpenOffice.org since there is no OpenOffice.org 3.0 Early Access release. pluby
On the page, remove any test patch text and links.
Replace the NeoOffice 2.2.5 MD5 checksums page with the NeoOffice 3.0 Early Access MD5 checksums and replace the RetroOffice 2.2.5 MD5 checksums page with the RetroOffice 3.0 Early Access MD5 checksums.

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 "3.0 EA"
  • Set "Closed in Version" field to "3.0 EA"

Close any bugs with a status of "Assigned" or "Reopened" 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 "3.0 EA"
  • Set "Closed in Version" field to "3.0 EA"
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.
Post a release announcement to the NeoJUpdate mailing list.
Post a release announcement to the Trinity forum topic so that the news is included in the RSS feed.
Delete the 114 NeoOffice 2.2.5 NeoOffice-2.2.5-*.dmg files from the rsync.neooffice.org and www.planamesa.net servers' /neojava/downloads directory.
Delete the 114 RetroOffice 2.2.5 RetroOffice-2.2.5-*.dmg files from the www.planamesa.com and www.planamesa.net servers' /retro/downloads directory.
Delete the 2 obsolete NeoOffice 2.2.5 NeoOffice-2.2.5-Patch-*.dmg patch installer files from the rsync.neooffice.org server's /neojava/downloads directory.
Delete the 2 obsolete RetroOffice 2.2.5 RetroOffice-2.2.5-Patch-*.dmg patch installer files from the jane.neooffice.org server's /retro/downloads directory.
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/include/mirrors.php file. Contact any mirror maintainers that still have these files to confirm that they are rsynching to the rsync server regularly.

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 /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.
Personal tools