Introduction

This page lists the numerous actions required to make an Apache OpenOffice release happen. Initially, it will cover a simple point release, without major user interface changes. It can be expanded later to cover more cases.

Goal

Describe the actions in detail, so that everybody should be able to take over and not specific project committers and members.

The actions are sorted in specific sections and not in chronological order. This should be done in the release schedule on a separate Wiki webpage.

Short legend

Initiating a Release

Release Manager

Developers

Anyone

Check out the source code

The SVN usage is described in some more details here: https://openoffice.apache.org/source.html. So, just "svn checkout" the relevant branch. Starting with 4.1.3 we have been using dedicated branches, so naming is now obvious (we had been reusing branches in precedence, like AOO410 was used for 4.1.0, 4.1.1 and 4.1.2). Branches are listed at https://svn.apache.org/viewvc/openoffice/branches/

$ svn checkout https://svn.apache.org/repos/asf/openoffice/branches/AOO416

Check versions

Note: we now have tools that will take care of this step automatically. If you can't find them, please e-mail the dev list and ask for information.

Make sure that the source files contain the correct version numbers (this should have been done when creating the new branch). In particular, check these files:

Build with release options

Use the scripts at https://svn.apache.org/viewvc/openoffice/devtools/build-scripts/. The 4.1.6 scripts are correct. 

Release Candidates

Even when the created build files are Release Candidates (RC), they still belong to the Dev area. Only final releases will be uploaded to SourceForge. See the mailing list post on dev@ for more information.

Files and folders structure

See https://archive.apache.org/dist/openoffice/4.1.6/ for an example. Note in particular that we have:

NOTE
The structure must not be changed since the scripting on the download pages assume it is identical to any former release.

Everything must come with hashes and signatures

https://www.apache.org/legal/release-policy.html#release-signing

All files need

Release scripts can be found at: https://svn.apache.org/viewvc/openoffice/devtools/release-scripts/

How is the source code obtained?

It is not obtained via SVN export as one could imagine. You get it in a source tree by running:

$ cd instsetoo_native/util
$ dmake aoo_srcrelease

Be sure to source the required env file first. If you get an error about not finding settings.mk, that's the problem. We still get the three formats (zip, gz, bz2). This will probably change with newer release branches than 4.1.x as discussed a long time ago, but for now we should still use the three of them.

How are packages uploaded?

It is going to be a huge SVN commit to the dev area (https://dist.apache.org/repos/dist/dev/openoffice/). Experience from a couple years ago:

Subsequent RCs

When going from, for example, RC1 to RC2, be sure to bump the build numbers in main/solenv/inc/minor.mk :

RSCREVISION
BUILD
LAST_MINOR


QA

Planning

Document the planning details

Do the binaries builds

Building the software

Release Vote

Before uploading to any non-development location, the release must pass a vote. Almost all users depend on the binary builds, so those must be tested as extensively as possible. Anyone can do testing, and cast an advisory vote. Non-binding, advisory votes and their comments can and should influence the Release Manager's final decision on whether to turn a release candidate into a release.

PMC members can cast a binding vote, but each PMC member casting a binding +1 vote must have personally built from source and tested on a computer controlled by the PMC member. ASF rules require at least three binding +1 votes for a release. See http://www.apache.org/legal/release-policy.html#release-approval for the full requirements.

Uploads

Communication

Pre-Announcement

Notifying or not?

Do we want to notify the world that a new release is cooking:

If yes, write first status update and call for volunteers on dev@ mailing list and on the AOO Blog: https://blogs.apache.org/ooo/

Release Notes

Requires a Confluence account that can edit OpenOffice pages. Create a page for the release as a child of Releases. Select that page, click "Create" in the Confluence menu bar, and create a blank page. Copy the planning for a previous release. Under that page, create a release notes page that can also start as a copy of prior release notes. Edit to reflect reality.

TODO

Create templates for the release planning and release notes pages.

A template for the Release Notes has been available since 2016-08-03.

ASF Press Release

Coordinate with the ASF VP, Marketing & Publicity

Currently Sally Khudairi is responsible for press releases and general publicity help. Write a mail to press@apache.org and ask for help. Then she will answer with further steps.

Where to do the announcements?

English Release Notes : AOO <version> Release Notes

English Press Release : https://blogs.apache.org/foundation/

English Press Release to the AOO Blog : https://blogs.apache.org/ooo/

Announce mail : Write to announce@ (every mail needs to be moderated, so don't expect to arrive immediately)

Translations

The following documents  should be made available for translation, and :

IMPORTANT

Give translators a heads-up of 48 hours before the release should happen. This should enable a parallel press release.

Changes to Webpages

Main download webpage

https://www.openoffice.org/download/index.html

TBD

Main homepage

https://www.openoffice.org/index.html

Version in the header link

TBD

Blog & News

TBD

Localized download webpages

IMPORTANT

Every language has its own website area that needs to be updated.

Example:

https://www.openoffice.org/xx/download/index.html

Of course the languages depend on the release. The most important languages - with its ISO codes are the following (ordered by download popularity):

en-US, fr, de, it, es, ja, ru, pl, nl, zh-TW, cs, zh-CN, el, pt, da, no

Do not forget the template files with code "xx".

TBD

Localized homepages

https://www.openoffice.org/xx/index.html

Project's homepage

Homepage

https://openoffice.apache.org/index.html

TBD

Download webpage

https://openoffice.apache.org/downloads.html

TBD

Apache's project data (DOAP RDF data)

https://projects.apache.org/project.html?openoffice

Update the data of the following file: https://github.com/apache/openoffice-project/blob/main/content/doap_openoffice.rdf

This file is located on the project website, which is self-publishing. Just make sure you do the changes in one commit.

IMPORTANT

The new data is not shown after it was published. There is a delay due to a cron job that runs maybe every 24h.

Apache Committee Report Helper

https://reporter.apache.org/addrelease.html?openoffice

Add the new release with exact version number and full date.

Statistics webpage

In order to get also the downloads for the new release counted the following changes have to be done:

https://www.openoffice.org/stats/downloads.html

IMPORTANT

The webpage itself does not need to be changed. The download numbers are taken from https://svn.apache.org/repos/asf/openoffice/ooo-site/trunk/content/stats/aoo-downloads.txt
The file just needs to be updated with new numbers. As soon as the file is then committed and the website published, the new download numbers are shown in the chart.

Please see https://svn.apache.org/repos/asf/openoffice/devtools/aoo-stats/README.txt for instructions how to get new download numbers.

Tasks after the release is public

Create new SVN tag

IMPORTANT

Do not create any SVN tag as long as the release is not officially announced and public available. Otherwise the created build files cannot be published when a late show stopper will be found. This must be avoided in any case.

When to do

The best time to do it is when the press announcement is published and the installed files are available on the download webpage.

What to do

  1. Double-check what version was built (for 4.1.6 it is revision 1844436, you find it even in the About Box). Of course, if this happens during the release process, the Release Manager knows it.

  2. Find the relevant branch in https://svn.apache.org/viewvc/openoffice/branches/ (in this case it is AOO416 and revision number is indeed 1844436) and check it is aligned (it is, since the two revisions match).
  3. SVN will copy the branch to the tag. You can do it locally but it is much more efficient to do it remotely. So, from anywhere on a machine with SVN access, just run:
$ svn copy https://svn.apache.org/repos/asf/openoffice/branches/AOO416 https://svn.apache.org/repos/asf/openoffice/tags/AOO416 -m "AOO revision \
1844436 from branch AOO416 was voted to be released as Apache OpenOffice 4.1.6 on November, 18th, 2018"

Committed revision 1844437.

This results in the new tag appearing at https://svn.apache.org/viewvc/openoffice/tags/.

Bugzilla

Prerequisite

This requires admin privileges on Bugzilla

What has to be changed?

IMPORTANT

Add new revision to available list.

Apache Project Checker

After the new release is published and announced, the Release Manager should have a look at the project checker to make sure that there are no problems:

https://checker.apache.org/projs/openoffice.html

What has to be checked?

In general, all data listed on the webpage should make sense and does not point to a problem.

When to do this?

It depends on the following:

All together, doing this after the release is announced should be enough.

Delete the previous release

OpenOffice is using a lot of space for each release. To keep it at a minimum it was agreed with the Infrastructure team to delete the previous release when the new one is published and no problems arose in a short time frame.

What has to be done?

Make sure that on https://dist.apache.org/repos/dist/release/openoffice/ is only the new release. Delete the older release

Example:

svn delete https://dist.apache.org/repos/dist/release/openoffice/4.1.5

When to do this?

Also here, doing this after the release is announced should be enough.

Update Notifications

Change update script so users are notified of new version when they start AOO:

https://svn.apache.org/repos/asf/openoffice/devtools/genUpdateFeed/

IMPORTANT

Usually done 1 - 3 weeks after the formal announcement to avoid a high traffic load on the SourceForge mirror servers which must be avoided.