Ignore PEAR /get directory and restrict htaccess glob to root
[htmlpurifier-web.git] / release.txt
blobea9f9e03092d0c988731299a12795a8343476f0d
1 In order to perform a release, a few steps have to be taken:
2 [@] = Automated
4 == Pre-Procedures ==
6 [Prepare codebase for release]
7 # [@] Run tests/multitest.php, fix any errors
8 # [@] Run `php release1-update.php $VERSION` (bumps version numbers)
9     # [if necessary] Bump version numbers in TODO
10     # Write new WHATSNEW and FOCUS entry
11     # Commit as "Release x.y.z."
13 [Manage auxiliary branches]
14 if ( need to deprecate old branch ) {
15     # Obsolete old release series
16         - Add OBSOLETE file with text:
17     x.y branch was fully obsoleted by release of x.y.0. It is no longer supported.
18     Bug and security fixes will not be issued regardless of security.
19           ...and then info on backwards incompatible changes.
20         - Add line to NEWS:
21     x.y branch was fully obsoleted by release of x.y.0. It is no longer supported.
22 } elseif ( creating a new branch for sub-release ) {
23     # If branch doesn't exist yet, branch from the last tag
24     # Update switch2branch script, replacing version number
25     # Open log for trunk, then switch to branch
26     # Merge changes into branch, commit as "Merged r#s for x.y.z release into branch"
27         - Be sure to remove future items from NEWS
30 [Perform release]
31 # [@] `php release2-tag.php` (tags the releases)
32 # [@] Build the zip and tar.gz files:
33     - Run `./build.sh $VERSION` on the server, download with 'download.bat'
34     - Run build.bat on Windows computer, upload the files
35 # [@] Build the PEAR release using package_pear.bat (package.php and `pear package`)
36 # [@] Run sum-all.bat (generates sha1 checksums)
37 # [@] Run sign-all.bat, enter password when prompted (signs releases)
38 # Update the webpages:
39     - news.xhtml
40        . Write a news entry describing the release (see WHATSNEW)
41     - current.ent
42        . Bump version number and date
43     - Switch the external for live/
44     - Update .htaccess.in
45 # Update (svn update)
46 # Commit (svn commit)
48 == Post-procedures ==
50 # Regenerate API documentation (TODO: AUTOMATE)
51     - Run the compile_*.bat scripts (takes a while)
52     - Archive them into tars
53     - Upload to server
54     - Reload documents with ./reload-docs.sh
55 # Smoketest release by downloading packages, verify contents list, sha1 and sig
56 # Upload PEAR release at http://htmlpurifier.org/pear-server.php
57 # Regenerate configuration documentation
58     - Run http://htmlpurifier.org/live/configdoc/generate.php
59 # Update relevant feeder sites/lists
60     - [@] Run Freshmeat script update-freshmeat.bat (update-freshmeat.php username password)
61     - Announce mailing list <https://panel.dreamhost.com/?tree=mail.list&current_step=Index&next_step=ShowSend&address=admin&domain=htmlpurifier.org>
62         . Change version number in subject field
63         . Use: news item on webpage (add link to webpage as HTML Purifier),
64           download links (substitute in htmlpurifier.org), sha-1 sums.
65     - Hotscripts listing <http://www.hotscripts.com/account/index.html?section=listings&type=edit&listing_id=65309>
66         . Step 1-3: No changes
67         . Step 4: Bump version number in two fields
68 # Add new version items in NEWS for trunk