2007-11-22 16:59:05 +08:00
|
|
|
=======================
|
|
|
|
PHP Release Process
|
|
|
|
=======================
|
|
|
|
|
2008-08-07 03:42:01 +08:00
|
|
|
General notes and tips
|
2008-08-07 05:49:47 +08:00
|
|
|
----------------------
|
2008-08-07 03:35:20 +08:00
|
|
|
|
|
|
|
1. Do not release on Fridays, Saturdays or Sundays
|
|
|
|
because the sysadmins can not upgrade stuff then.
|
|
|
|
|
2013-12-13 20:16:54 +08:00
|
|
|
2. Package two days before a release. So if the release is to be on Thursday,
|
|
|
|
package on Tuesday. Think about timezones as well.
|
2008-08-07 03:35:20 +08:00
|
|
|
|
2014-05-10 04:28:39 +08:00
|
|
|
3. Ensure that the tests on Travis CI are green.
|
|
|
|
See: https://travis-ci.org/php/php-src/builds
|
|
|
|
It is recommended to do so a couple of days before the packaging day, to
|
|
|
|
have enough time to investigate failures, communicate with the authors and
|
|
|
|
commit the fixes.
|
|
|
|
The RM for the branch is also responsible for keeping the CI green on
|
2016-01-28 22:20:35 +08:00
|
|
|
ongoing basis between the releases. Check the CI status for your branch
|
2014-05-10 04:28:39 +08:00
|
|
|
periodically and resolve the failures ASAP. See more in:
|
|
|
|
https://wiki.php.net/rfc/travis_ci
|
|
|
|
|
|
|
|
4. Ensure that Windows builds will work before packaging
|
|
|
|
|
|
|
|
5. Follow all steps to the letter. When unclear ask previous RM's (David/Julien/
|
2013-12-13 20:16:54 +08:00
|
|
|
Johannes/Stas/Derick/Ilia) before proceeding. Ideally make sure that for the
|
|
|
|
first releases one of the previous RM's is around to answer questions. For the
|
|
|
|
steps related to the php/QA/bug websites try to have someone from the webmaster
|
|
|
|
team (Bjori) on hand.
|
2008-08-07 03:35:20 +08:00
|
|
|
|
2014-05-10 04:28:39 +08:00
|
|
|
6. Verify the tags to be extra sure everything was tagged properly.
|
2008-08-07 05:49:47 +08:00
|
|
|
|
2015-12-05 15:25:43 +08:00
|
|
|
7. Moving extensions from/to PECL requires write access to the destination.
|
2018-10-13 20:16:33 +08:00
|
|
|
Most developers should have this.
|
2008-08-31 18:35:06 +08:00
|
|
|
|
|
|
|
Moving extensions from php-src to PECL
|
2011-12-15 00:32:50 +08:00
|
|
|
- Checkout the pecl directory, most likely you want a sparse-root checkout
|
|
|
|
svn co --depth=empty https://svn.php.net/repository/pecl
|
2018-05-15 05:50:42 +08:00
|
|
|
- Create a directory for the extension incl. branch and tag structure,
|
2011-12-15 00:32:50 +08:00
|
|
|
no trunk at this point and commit this to svn
|
|
|
|
cd pecl; mkdir foo foo/tags foo/branches; svn add foo; svn commit
|
|
|
|
- Move the extension from php-src to the new location
|
|
|
|
svn mv https://svn.php.net/repository/php/php-src/trunk/ext/foo \
|
|
|
|
https://svn.php.net/repository/pecl/foo/trunk
|
2008-08-31 18:35:06 +08:00
|
|
|
|
|
|
|
If the extension is still usable or not dead, in cooperation with the extension
|
|
|
|
maintainers if any:
|
|
|
|
- create the pecl.php.net/foo package and its content, license, maintainer
|
|
|
|
- create the package.xml, commit
|
|
|
|
- release the package
|
|
|
|
|
2018-05-15 05:50:42 +08:00
|
|
|
For Moving extensions from PECL to php-src the svn mv has to be done the other
|
2011-12-15 00:32:50 +08:00
|
|
|
way round.
|
2008-08-31 16:32:32 +08:00
|
|
|
|
2008-08-07 03:35:20 +08:00
|
|
|
Rolling a non stable release (alpha/beta/RC)
|
2008-08-07 05:49:47 +08:00
|
|
|
--------------------------------------------
|
2007-11-22 16:59:05 +08:00
|
|
|
|
2011-12-15 00:32:50 +08:00
|
|
|
1. Check windows snapshot builder logs (http://windows.php.net/downloads/snaps/ the last revision)
|
2007-11-22 16:59:05 +08:00
|
|
|
|
2014-05-10 04:28:39 +08:00
|
|
|
2. Check the tests at https://travis-ci.org/php/php-src/builds
|
|
|
|
|
|
|
|
3. run the "scripts/dev/credits" script in php-src and commit the changes in the
|
2011-12-15 00:32:50 +08:00
|
|
|
credits files in ext/standard.
|
|
|
|
|
2014-05-10 04:28:39 +08:00
|
|
|
4. Checkout the release branch for this release (e.g., PHP-5.4.2) from the main branch.
|
2007-11-22 16:59:05 +08:00
|
|
|
|
2015-11-12 04:08:15 +08:00
|
|
|
5. Bump the version numbers in ``main/php_version.h``, ``configure.ac`` and possibly ``NEWS``.
|
2013-12-13 20:16:54 +08:00
|
|
|
Do not use abbreviations for alpha and beta. Do not use dashes, you should
|
|
|
|
``#define PHP_VERSION "5.4.22RC1"`` and not ``#define PHP_VERSION "5.4.22-RC1"``
|
2007-11-22 16:59:05 +08:00
|
|
|
|
2014-05-10 04:28:39 +08:00
|
|
|
6. Compile and make test, with and without ZTS, using the right Bison version
|
2013-12-13 20:16:54 +08:00
|
|
|
(for example, for 5.5, Bison 2.4.1 is used)
|
2007-11-22 16:59:05 +08:00
|
|
|
|
2014-05-10 04:28:39 +08:00
|
|
|
7. Check ./sapi/cli/php -v output for version matching.
|
2007-11-22 16:59:05 +08:00
|
|
|
|
2014-05-10 04:28:39 +08:00
|
|
|
8. If all is right, commit the changes to the release branch with ``git commit -a``.
|
2007-11-22 16:59:05 +08:00
|
|
|
|
2014-05-10 04:28:39 +08:00
|
|
|
9. Tag the repository release branch with the version, e.g.:
|
2013-12-13 20:16:54 +08:00
|
|
|
``git tag -u YOURKEYID php-5.4.2RC2``
|
2007-11-22 16:59:05 +08:00
|
|
|
|
2015-11-12 04:08:15 +08:00
|
|
|
10. Bump the version numbers in ``main/php_version.h``, ``configure.ac`` and ``NEWS``
|
2013-12-13 20:16:54 +08:00
|
|
|
in the *main* branch (PHP-5.4 for example) to prepare for the **next** version.
|
|
|
|
F.e. if the RC is "5.4.1RC1" then the new one should be "5.4.2-dev" - regardless if we get
|
|
|
|
a new RC or not. This is to make sure ``version_compare()`` can correctly work.
|
|
|
|
Commit the changes to the main branch.
|
|
|
|
|
2014-05-10 04:28:39 +08:00
|
|
|
11. Push the changes to the main repo, the tag, the main branch and the release branch :
|
2013-12-13 20:16:54 +08:00
|
|
|
``git push --tags origin HEAD``
|
|
|
|
``git push origin {main branch}``
|
|
|
|
``git push origin {release branch}``
|
2007-11-22 16:59:05 +08:00
|
|
|
|
2014-05-10 04:28:39 +08:00
|
|
|
12. run: ``PHPROOT=. ./makedist 5.4.2RC2``, this will export the tree, create configure
|
2013-12-13 20:16:54 +08:00
|
|
|
and build three tarballs (gz, bz2 and xz).
|
2007-11-22 16:59:05 +08:00
|
|
|
|
2017-01-10 00:20:48 +08:00
|
|
|
13. run ``scripts/dev/gen_verify_stub <version> [identity]``, this will sign the tarballs
|
|
|
|
and output verification information to be included in announcement email
|
|
|
|
|
|
|
|
14. Copy those tarballs (scp, rsync) to downloads.php.net, in your homedir there should be a
|
2017-04-15 07:43:01 +08:00
|
|
|
directory "public_html/". Copy them into there, so that the system can generate
|
|
|
|
MD5 sums. If you do not have this directory, create it.
|
2007-11-22 16:59:05 +08:00
|
|
|
|
2017-04-15 07:43:01 +08:00
|
|
|
15. Now the RC can be found on http://downloads.php.net/~yourname,
|
|
|
|
f.e. http://downloads.php.net/~derick/
|
2007-11-22 16:59:05 +08:00
|
|
|
|
2017-06-07 00:45:20 +08:00
|
|
|
16. Once the release has been tagged, contact the release-managers@ distribution list
|
2017-06-07 21:01:04 +08:00
|
|
|
so that Windows binaries can be created. Once those are made, they can be found at
|
|
|
|
http://windows.php.net/download
|
2007-11-22 16:59:05 +08:00
|
|
|
|
2008-09-04 01:08:05 +08:00
|
|
|
Getting the non stable release (alpha/beta/RC) announced
|
|
|
|
--------------------------------------------------------
|
2007-11-22 16:59:05 +08:00
|
|
|
|
2017-03-31 00:52:22 +08:00
|
|
|
1. Update ``qa.git/include/release-qa.php`` with the appropriate information.
|
2011-05-31 07:26:33 +08:00
|
|
|
See the documentation within release-qa.php for more information, but all releases
|
|
|
|
and RCs are configured here. Only $QA_RELEASES needs to be edited.
|
2007-11-22 16:59:05 +08:00
|
|
|
|
2011-05-31 07:26:33 +08:00
|
|
|
Example: When rolling an RC, set the 'rc' with appropriate information for the
|
|
|
|
given version.
|
2007-11-22 16:59:05 +08:00
|
|
|
|
2017-03-31 00:52:22 +08:00
|
|
|
Note: Remember to update the MD5 and sha256 checksum information.
|
2007-11-22 16:59:05 +08:00
|
|
|
|
2017-03-31 00:52:22 +08:00
|
|
|
2. Update ``web/php.git/include/version.inc`` (x=major version number)
|
2007-11-22 16:59:05 +08:00
|
|
|
|
2013-12-13 20:16:54 +08:00
|
|
|
a. ``$PHP_x_RC`` = "5.4.0RC1" (should be set to "false" before)
|
2007-11-22 16:59:05 +08:00
|
|
|
|
|
|
|
b. ``$PHP_x_RC_DATE`` = "06 September 2007"
|
|
|
|
|
2018-10-13 20:16:33 +08:00
|
|
|
3. Add a short notice to phpweb stating that there is a new release, and
|
2017-06-09 01:27:36 +08:00
|
|
|
highlight the major important things (security fixes) and when it is important
|
|
|
|
to upgrade.
|
|
|
|
|
|
|
|
a. Call php bin/createNewsEntry in your local phpweb checkout
|
2017-07-06 18:34:00 +08:00
|
|
|
Use category "releases" for all stable releases.
|
|
|
|
Use category "frontpage" for X.Y.0 non-stable releases only (news only).
|
2017-06-09 01:27:36 +08:00
|
|
|
|
|
|
|
b. Add the content for the news entry. Be sure to include the text:
|
|
|
|
"THIS IS A DEVELOPMENT PREVIEW - DO NOT USE IT IN PRODUCTION!"
|
|
|
|
|
|
|
|
4. Commit and push changes to qa and web
|
2007-11-22 16:59:05 +08:00
|
|
|
|
2017-03-31 00:52:22 +08:00
|
|
|
*Wait for web and qa sites to update with new information before sending announce*
|
|
|
|
|
2018-10-13 20:16:33 +08:00
|
|
|
5. Send **separate** emails **To** ``internals@lists.php.net`` and ``php-general@lists.php.net``
|
2017-03-31 00:52:22 +08:00
|
|
|
lists pointing out "the location of the release" and "the possible release date of
|
|
|
|
either the next RC, or the final release". Include in this information the verification
|
|
|
|
information output by ``gen_verify_stub``.
|
|
|
|
|
2018-06-28 18:36:25 +08:00
|
|
|
6. Send **separate** emails (see example here http://news.php.net/php.pear.qa/5201) **To**
|
2017-03-31 00:52:22 +08:00
|
|
|
``php-qa@lists.php.net`` and ``primary-qa-tester@lists.php.net``.
|
2018-07-06 02:42:46 +08:00
|
|
|
These emails are to notify the selected projects about a new release so that they
|
2017-03-31 00:52:22 +08:00
|
|
|
can make sure their projects keep working. Make sure that you have been setup
|
|
|
|
as a moderator for ``primary-qa-tester@lists.php.net`` by having someone (Hannes, Dan,
|
|
|
|
Derick) run the following commands for you:
|
|
|
|
|
|
|
|
``ssh lists.php.net``
|
|
|
|
|
|
|
|
``sudo -u ezmlm ezmlm-sub ~ezmlm/primary-qa-tester/mod moderator-email-address``
|
2007-11-22 16:59:05 +08:00
|
|
|
|
2008-08-07 03:35:20 +08:00
|
|
|
Rolling a stable release
|
2008-08-07 05:49:47 +08:00
|
|
|
------------------------
|
2007-11-22 16:59:05 +08:00
|
|
|
|
2013-12-13 20:16:54 +08:00
|
|
|
1. Checkout your release branch, you should have created when releasing previous RC
|
2015-11-12 04:08:15 +08:00
|
|
|
and bump the version numbers in ``main/php_version.h``, ``configure.ac`` and possibly ``NEWS``.
|
2007-11-22 16:59:05 +08:00
|
|
|
|
2014-02-14 20:51:10 +08:00
|
|
|
2. If a CVE commit needs to be merged to the release, then have it committed to
|
2013-12-13 20:16:54 +08:00
|
|
|
the base branches and merged upwards as usual (f.e commit the CVE fix to 5.3,
|
|
|
|
merge to 5.4, 5.5 etc...). Then you can cherry-pick it in your release branch.
|
|
|
|
Don't forget to update NEWS manually in an extra commit then.
|
2007-11-22 16:59:05 +08:00
|
|
|
|
2014-05-10 04:28:39 +08:00
|
|
|
3. Commit those changes. Ensure the tests at https://travis-ci.org/php/php-src/builds are
|
|
|
|
still passing.
|
2007-11-22 16:59:05 +08:00
|
|
|
|
2013-12-13 20:16:54 +08:00
|
|
|
4. run the "scripts/dev/credits" script in php-src and commit the changes in the
|
2008-11-05 07:00:57 +08:00
|
|
|
credits files in ext/standard.
|
|
|
|
|
2013-12-13 20:16:54 +08:00
|
|
|
5. Compile and make test, with and without ZTS, using the right Bison version
|
|
|
|
(for example, for 5.5, Bison 2.4.1 is used)
|
2007-11-22 16:59:05 +08:00
|
|
|
|
2013-12-13 20:16:54 +08:00
|
|
|
6. Check ./sapi/cli/php -v output for version matching.
|
2007-11-22 16:59:05 +08:00
|
|
|
|
2014-05-10 04:28:39 +08:00
|
|
|
7. tag the repository with the version f.e. "``git tag -u YOURKEYID -s php-5.4.1``"
|
2007-11-22 16:59:05 +08:00
|
|
|
|
2013-12-13 20:16:54 +08:00
|
|
|
8. Push the tag f.e. "``git push origin php-5.4.1``"
|
2007-11-22 16:59:05 +08:00
|
|
|
|
2013-12-13 20:16:54 +08:00
|
|
|
9. run: ``PHPROOT=. ./makedist php 5.4.1``, this will export the tag, create configure
|
|
|
|
and build three tarballs (gz, bz2 and xz).
|
2017-11-27 19:14:35 +08:00
|
|
|
Check if the pear files are updated (phar).
|
2018-05-15 05:50:42 +08:00
|
|
|
On some systems the behavior of GNU tar can default to produce POSIX compliant archives
|
2017-11-27 19:14:35 +08:00
|
|
|
with PAX headers. As not every application is compatible with that format, creation of
|
|
|
|
archives with PAX headers should be avoided. When packaging on such a system, the GNU tar
|
|
|
|
can be influenced by defining the environment variable TAR_OPTIONS='--format=gnu'.
|
2007-11-22 16:59:05 +08:00
|
|
|
|
2013-12-13 20:16:54 +08:00
|
|
|
10. Generate the GPG signature files for the archives.
|
|
|
|
``gpg -u YOUREMAIL --armor --detach-sign php-X.Y.Z.tar.xxx``
|
2007-11-22 16:59:05 +08:00
|
|
|
|
2013-12-13 20:16:54 +08:00
|
|
|
11. Commit and push all the tarballs and signature files to web/php-distributions.git,
|
2018-10-13 20:16:33 +08:00
|
|
|
then update the git submodule reference in web/php.git:
|
2013-12-13 20:16:54 +08:00
|
|
|
``git submodule init;
|
2013-03-15 16:40:28 +08:00
|
|
|
git submodule update;
|
|
|
|
cd distributions;
|
2017-11-28 21:16:33 +08:00
|
|
|
git fetch;
|
|
|
|
git pull --rebase origin master;
|
2013-03-15 16:40:28 +08:00
|
|
|
cd ..;
|
|
|
|
git commit distributions;
|
2013-12-13 20:16:54 +08:00
|
|
|
git push;``
|
|
|
|
This is to fetch the last commit id from php-distributions.git and commit this
|
|
|
|
last commit id to web/php.git, then, mirrors will now sync
|
2007-11-22 16:59:05 +08:00
|
|
|
|
2017-01-18 04:33:25 +08:00
|
|
|
12. Once the release has been tagged, contact release managers, windows builders, and package maintainers
|
|
|
|
so that they can build releases. Do not send this announcement to any public lists.
|
2007-11-22 16:59:05 +08:00
|
|
|
|
2008-08-07 03:35:20 +08:00
|
|
|
Getting the stable release announced
|
2008-08-07 05:49:47 +08:00
|
|
|
------------------------------------
|
2007-11-22 16:59:05 +08:00
|
|
|
|
2015-01-23 04:27:38 +08:00
|
|
|
1. Update phpweb/include/releases.inc with the old release info
|
|
|
|
(updates the download archives)
|
2007-11-22 16:59:05 +08:00
|
|
|
|
2015-01-23 04:27:38 +08:00
|
|
|
a. You can run ``php bin/bumpRelease 5`` if you are making a release for the
|
|
|
|
highest branch, otherwise you have to do this manually, see point 1.b
|
2007-11-22 16:59:05 +08:00
|
|
|
|
2012-09-14 02:19:23 +08:00
|
|
|
b. In case multiple PHP minor versions are in active development you have
|
|
|
|
to manually copy the old information to include/releases.inc
|
|
|
|
|
2007-11-22 16:59:05 +08:00
|
|
|
2. Edit ``phpweb/include/version.inc`` and change (X=major release number):
|
|
|
|
|
|
|
|
a. ``$PHP_X_VERSION`` to the correct version
|
|
|
|
|
|
|
|
b. ``$PHP_X_DATE`` to the release date
|
|
|
|
|
|
|
|
c. ``$PHP_X_MD5`` array and update all the md5 sums
|
|
|
|
|
2015-04-18 01:05:32 +08:00
|
|
|
d. ``$PHP_X_SHA256`` array and update all the SHA256 sums
|
2007-11-22 16:59:05 +08:00
|
|
|
|
2015-04-18 01:05:32 +08:00
|
|
|
e. set ``$PHP_X_RC`` to false!
|
|
|
|
|
|
|
|
f. Make sure there are no outdated "notes" or edited "date" keys in the
|
2008-03-02 06:47:33 +08:00
|
|
|
``$RELEASES[X][$PHP_X_VERSION]["source"]`` array
|
2007-11-22 16:59:05 +08:00
|
|
|
|
2015-04-18 01:05:32 +08:00
|
|
|
g. if the windows builds aren't ready yet prefix the "windows" key with a dot (".windows")
|
2007-11-22 16:59:05 +08:00
|
|
|
|
2015-01-23 04:27:38 +08:00
|
|
|
3. Create the release file (releases/x_y_z.php)
|
|
|
|
Usually we use the same content as for point 6, but included in php template
|
|
|
|
instead of the release xml.
|
2013-12-13 20:16:54 +08:00
|
|
|
|
|
|
|
4. Update php-qa/include/release-qa.php and add the next version as an QARELEASE
|
|
|
|
(prepare for next RC)
|
|
|
|
|
|
|
|
5. Update the ChangeLog file for the given major version
|
2012-09-14 02:19:23 +08:00
|
|
|
f.e. ``ChangeLog-5.php`` from the NEWS file
|
2007-11-22 16:59:05 +08:00
|
|
|
|
|
|
|
a. go over the list and put every element on one line
|
|
|
|
|
|
|
|
b. check for &, < and > and escape them if necessary
|
|
|
|
|
|
|
|
c. remove all the names at the ends of lines
|
|
|
|
|
|
|
|
d. for marking up, you can do the following (with VI):
|
|
|
|
|
|
|
|
I. ``s/^- /<li>/``
|
|
|
|
|
|
|
|
II. ``s/$/<\/li>/``
|
|
|
|
|
|
|
|
III. ``s/Fixed bug #\([0-9]\+\)/<?php bugfix(\1); ?>/``
|
|
|
|
|
2009-06-30 22:24:25 +08:00
|
|
|
IV. ``s/Fixed PECL bug #\([0-9]\+\)/<?php peclbugfix(\1); ?>/``
|
|
|
|
|
|
|
|
V. ``s/FR #\([0-9]\+\)/FR <?php bugl(\1); ?>/``
|
2018-10-13 20:16:33 +08:00
|
|
|
|
2013-12-13 20:16:54 +08:00
|
|
|
e. You may want to try php-web/bin/news2html to automate this task
|
2009-06-30 22:24:25 +08:00
|
|
|
|
2013-12-13 20:16:54 +08:00
|
|
|
6. Add a short notice to phpweb stating that there is a new release, and
|
2008-03-02 06:47:33 +08:00
|
|
|
highlight the major important things (security fixes) and when it is important
|
|
|
|
to upgrade.
|
2007-11-22 16:59:05 +08:00
|
|
|
|
2008-08-07 03:35:20 +08:00
|
|
|
a. Call php bin/createNewsEntry in your local phpweb checkout
|
2007-11-22 16:59:05 +08:00
|
|
|
|
2008-08-07 03:35:20 +08:00
|
|
|
b. Add the content for the news entry
|
|
|
|
|
2013-12-13 20:16:54 +08:00
|
|
|
7. **Check mirrors have been synced before announcing or pushing news**
|
|
|
|
Try, f.e. http://www.php.net/get/php-5.5.1.tar.bz2/from/a/mirror
|
|
|
|
Try several mirrors, mirrors may update slowly (may take an hour)
|
|
|
|
|
|
|
|
8. Commit all the changes to their respective git repos
|
2007-11-22 16:59:05 +08:00
|
|
|
|
2015-06-25 22:39:02 +08:00
|
|
|
9. Please note down the sha256 and the PGP signature (.asc). These *must* be
|
2015-06-24 10:33:37 +08:00
|
|
|
included in the release mail.
|
|
|
|
10. Wait an hour or two, then send a mail to php-announce@lists.php.net,
|
2008-03-02 06:47:33 +08:00
|
|
|
php-general@lists.php.net and internals@lists.php.net with a text similar to
|
|
|
|
http://news.php.net/php.internals/17222.
|
2016-01-28 22:20:35 +08:00
|
|
|
Please make sure that the mail to php-announce@ is its own completely separate email.
|
|
|
|
This is to make sure that replies to the announcement on php-general@ or internals@
|
2015-04-18 01:05:32 +08:00
|
|
|
will not accidentally hit the php-announce@ mailinglist.
|
2007-11-22 16:59:05 +08:00
|
|
|
|
2009-04-08 16:39:10 +08:00
|
|
|
Re-releasing the same version (or -pl)
|
2009-06-30 19:37:24 +08:00
|
|
|
--------------------------------------
|
2009-04-08 16:39:10 +08:00
|
|
|
|
|
|
|
1. Commit the new binaries to ``phpweb/distributions/``
|
|
|
|
|
|
|
|
2. Edit ``phpweb/include/version.inc`` and change (X=major release number):
|
|
|
|
|
|
|
|
a. If only releasing for one OS, make sure you edit only those variables
|
|
|
|
|
|
|
|
b. ``$PHP_X_VERSION`` to the correct version
|
|
|
|
|
|
|
|
c. ``$PHP_X_DATE`` to the release date
|
|
|
|
|
|
|
|
d. ``$PHP_X_MD5`` array and update all the md5 sums
|
|
|
|
|
2015-04-18 01:05:32 +08:00
|
|
|
e. ``$PHP_X_SHA256`` array and update all the SHA256 sums
|
|
|
|
|
|
|
|
f. Make sure there are no outdated "notes" or edited "date" keys in the
|
2009-04-08 16:39:10 +08:00
|
|
|
``$RELEASES[X][$PHP_X_VERSION]["source"]`` array
|
|
|
|
|
|
|
|
3. Add a short notice to phpweb stating that there is a new release, and
|
|
|
|
highlight the major important things (security fixes) and when it is important
|
|
|
|
to upgrade.
|
|
|
|
|
|
|
|
a. Call php bin/createNewsEntry in your local phpweb checkout
|
|
|
|
|
|
|
|
b. Add the content for the news entry
|
|
|
|
|
|
|
|
4. Commit all the changes (``include/version.inc``, ``archive/archive.xml``,
|
|
|
|
``archive/entries/YYYY-MM-DD-N.xml``)
|
|
|
|
|
|
|
|
5. Wait an hour or two, then send a mail to php-announce@lists.php.net,
|
|
|
|
php-general@lists.php.net and internals@lists.php.net with a text similar to
|
|
|
|
the news entry.
|
2016-01-28 22:20:35 +08:00
|
|
|
Please make sure that the mail to php-announce@ is its own completely separate email.
|
|
|
|
This is to make sure that replies to the announcement on php-general@ or internals@
|
2015-04-18 01:05:32 +08:00
|
|
|
will not accidentally hit the php-announce@ mailinglist.
|
2017-04-24 03:20:41 +08:00
|
|
|
|
2017-07-19 06:26:48 +08:00
|
|
|
Forking a new release branch
|
|
|
|
----------------------------
|
|
|
|
|
|
|
|
1. One week prior to cutting X.Y.0beta1, warn internals@ that your version's branch
|
|
|
|
is about to be cut, and that PHP-X.Y will be moving into feature freeze.
|
|
|
|
Try to be specific about when the branch will be cut.
|
|
|
|
Example: http://news.php.net/php.internals/99864
|
|
|
|
|
|
|
|
2. Just prior to cutting X.Y.0beta1, create the new branch locally.
|
|
|
|
Add a commit on master after the branch point clearing the NEWS file, and updating
|
|
|
|
main/php_versions.h and Zend/zend.h to update versions.
|
|
|
|
Example: https://github.com/php/php-src/commit/5230541ef59e0637d5522293a7d099bf18ce6af3
|
|
|
|
Push the new branch and the commit just added to master.
|
|
|
|
|
|
|
|
3. Immediately notify internals@ of the branch cut and advise the new merging order:
|
|
|
|
Example: http://news.php.net/php.internals/99903
|
|
|
|
|
|
|
|
4. Update php-web:git.php and wiki.php.net/vcs/gitworkflow to reflect the new branch:
|
|
|
|
Example: https://github.com/php/web-php/commit/74bcad4c770d95f21b7fbeeedbd76d943bb83f23
|
|
|
|
|
|
|
|
5. Notify nlopess@ to add PHP_X_Y tag to gcov.php.net
|
|
|
|
|
2017-04-24 03:20:41 +08:00
|
|
|
New Release Manager Checklist
|
|
|
|
-----------------------------
|
|
|
|
|
2017-06-07 00:45:20 +08:00
|
|
|
1. Email systems@ to get setup for access to downloads.php.net and to be added to the
|
|
|
|
release-managers@ distribution list.
|
2017-04-24 03:20:41 +08:00
|
|
|
|
|
|
|
2. Create a GPG key for your @php.net address and publish it by editing `include/gpg-keys.inc`
|
2017-04-29 01:15:32 +08:00
|
|
|
in the `web-php` repository, adding the output of `gpg --fingerprint "$USER@php.net"`. Let
|
2017-06-06 07:33:38 +08:00
|
|
|
one or more of the previous RMs sign your key. Publish your public key to pgp.mit.edu with:
|
|
|
|
`gpg --keyserver pgp.mit.edu --send-keys $KEYID`
|
2017-04-29 01:15:32 +08:00
|
|
|
|
2018-10-13 20:16:33 +08:00
|
|
|
3. Request karma to edit main/php_version.h. Possibly karma for other restricted parts of
|
2017-04-29 01:15:32 +08:00
|
|
|
php-src might come in question.
|
|
|
|
|
|
|
|
4. Request karma for web/qa.git and web/php.git for publishing release announcements.
|
|
|
|
|
|
|
|
5. Request moderation access to announce@php.net and primary-qa-tester@lists.php.net lists, to
|
|
|
|
be able to moderate your release announcements. All the announcements should be sent from
|
|
|
|
the @php.net alias.
|