Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:45442 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 4140 invoked from network); 31 Aug 2009 12:09:28 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 31 Aug 2009 12:09:28 -0000 Authentication-Results: pb1.pair.com smtp.mail=patrick.allaert@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=patrick.allaert@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.218.226 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: patrick.allaert@gmail.com X-Host-Fingerprint: 209.85.218.226 mail-bw0-f226.google.com Received: from [209.85.218.226] ([209.85.218.226:59787] helo=mail-bw0-f226.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 81/02-27662-07DBB9A4 for ; Mon, 31 Aug 2009 08:09:22 -0400 Received: by bwz26 with SMTP id 26so2640252bwz.23 for ; Mon, 31 Aug 2009 05:09:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=nM/P6KsQXtmvQ/9Un4T7BIZYosTVUY6N11tLm0SlRmo=; b=WV0F1kj+Xyd0qxQfzweO+mga4JxG82FD/6eA4HnMzQXIXZgD2c8PtngUCjkePMe53a GBnbJj5bdwVjN/ch4k18riQw+6QNEn1OkXYpgJkwHx9FD4Eq41rKYmbZMipVk+qQdTId XlN1BPj4LQX9gqad9QssfKjfEjS5iedtWX/uM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=SKdFWOw0S9qJyNOGHDiT9TwsvpXb39LbcUw4QB+Kqd28rzVrSWvIQHRrFErXb8IOiE of8tIdob5OSpEJzDe072MUsSSEbmb1+vhgOrm+H5fXaSwGEIK2zdzQ6ydIVI2jOv37bS yr+0uJCyR+HCsxvtg+ymJdkT+nHx6B29Ii7j4= MIME-Version: 1.0 Received: by 10.103.125.38 with SMTP id c38mr2132426mun.119.1251720556669; Mon, 31 Aug 2009 05:09:16 -0700 (PDT) In-Reply-To: <1251556428.22693.20.camel@guybrush> References: <1251556428.22693.20.camel@guybrush> Date: Mon, 31 Aug 2009 14:09:16 +0200 Message-ID: To: =?UTF-8?Q?Johannes_Schl=C3=BCter?= Cc: internals@lists.php.net Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] Really going to 5.3.1RC1 From: patrick.allaert@gmail.com (Patrick ALLAERT) Hi Johannes, 2009/8/29 Johannes Schl=C3=BCter : [snip] > I'm not toooo used to subversion therefore I'd like some comments about > this procedure: > > 1) Monday evening branch of a release branch owned by me > =C2=A0 $ svn cp branches/PHP_5_3 branches/php_5_3_1 > =C2=A0 Question A: using php as in our tags or PHP as in our branches? I would suggest keeping "PHP" for a branch because it will be used as is, it can be renamed with "php" while doing the svn copy|move to tags. More details after. > =C2=A0 Question B: can svn merge be used to get changes from PHP_5_3 or i= s a > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 manual merge better? The merge tracking is an interesting option, I would greatly recommend using it. You can easily use the "-c" option to merge a specific revision number. > 2) Tuesday: Change the version > =C2=A0 $ vi branches/php_5_3_1/main/php_version.h etc. > 3) making the branch a tag > =C2=A0 $ svn mv branches/php_5_3_1 tags/php_5_3_1 I would suggest a copy rather than a move because you may have to create different tags (RC1, RC2,...) from this branch. $ svn copy branches/PHP_5_3_1 tags/php_5_3_1RC1 > 4) merge the tag into the PHP_5_3 branch > =C2=A0 $ cd branches/PHP_5_3 && svn merge ../tags/php_5_3_1 > =C2=A0 The idea would be that the release appears in the > =C2=A0 branch's history and nothing is being lost There is no such merge needed, svn keeps track of copies and merges. From svn clients, it is perfectly possible to generate a graph with copies (tags) made from that branch. > =C2=A0 Question: Does that make any sense? IMHO, No. > 5) Change the version to RC2-dev > =C2=A0 $ vi branches/PHP_5_3/main/php_version.h etc. This should be made in branches/PHP_5_3_1, before the tag is created. > Feedback on this procedure and svn usage welcome. If this doesn't work > out the procedure can be changed for the next release and I guess a RC > is a better test than a "proper" release. > > johannes To summarize, I would recommend the following steps: 0=C2=B0 Creating the 5.3.1 branch $ svn cp branches/PHP_5_3 branches/PHP_5_3_1 $ vi branches/PHP_5_3_1/main/php_version.h etc. // Filling next tag information, e.g. 5.3.1RC1 $ svn ci 1=C2=B0 Creating the 5.3.1RC(\d) tag $ svn copy branches/PHP_5_3_1 tags/php_5_3_1RC1 2=C2=B0 Lifetime of PHP_5_3_1: a) Patching PHP_5_3_1 $ svn merge -c xxxxx branches/PHP_5_3 branches/PHP_5_3_1 b) Fixing next version info $ vi branches/PHP_5_3_1/main/php_version.h etc. // Filling next tag information, e.g. 5.3.1RC2, 5.3.1... 3=C2=B0 Goto 1=C2=B0 unless tagging the final release 4=C2=B0 Tagging final release: $ svn copy branches/PHP_5_3_1 tags/php_5_3_1 (optionally, branches/PHP_5_3_1 could be removed, but shouldn't be "moved" as it would make a weird graph for merges/copies tracking) Notes: Developers commit should be made to branches/PHP_5_3 *only* Release manager(s) only commit "svn merge" operations to branches/PHP_5_3_1 Tags are strictly read-only copies created with "php" Branches are always created using "PHP" Does this sounds good for you? --=20 Patrick Allaert --- http://code.google.com/p/peclapm/ - Alternative PHP Monitor