Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:29857 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 33367 invoked by uid 1010); 29 May 2007 03:26:26 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 33352 invoked from network); 29 May 2007 03:26:26 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 29 May 2007 03:26:26 -0000 Authentication-Results: pb1.pair.com smtp.mail=steph@zend.com; spf=permerror; sender-id=softfail Authentication-Results: pb1.pair.com header.from=steph@zend.com; sender-id=softfail Received-SPF: error (pb1.pair.com: domain zend.com from 64.97.136.131 cause and error) X-PHP-List-Original-Sender: steph@zend.com X-Host-Fingerprint: 64.97.136.131 smtpout0131.sc1.he.tucows.com Solaris 8 (1) Received: from [64.97.136.131] ([64.97.136.131:62517] helo=n082.sc1.he.tucows.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A7/5B-20188-F5D9B564 for ; Mon, 28 May 2007 23:26:26 -0400 Received: from foxbox (82.47.220.57) by n082.sc1.he.tucows.com (7.2.069.1) (authenticated as steph.fox) id 4630CFCB0026E7A0; Tue, 29 May 2007 03:26:20 +0000 Message-ID: <08e901c7a1a1$192c78e0$39dc2f52@foxbox> Reply-To: "Steph Fox" To: "Wez Furlong" Cc: "internals" References: <4e89b4260705280856t47429e54ofcc182e02a6627e5@mail.gmail.com> <00e801c7a150$d1e15690$39dc2f52@foxbox> <4e89b4260705281205y50baab0k5ea109876c3c2231@mail.gmail.com> Date: Tue, 29 May 2007 04:26:07 +0100 Organization: Zend Technologies MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Subject: Re: [PHP-DEV] better changeset tracking From: steph@zend.com ("Steph Fox") Hi Wez, >I think the key is in forcing every commit to reference a ticket; that > way you can't "lose" a changeset by forgetting to put a bug number in > there. Going back on-list... It's a good idea in principle, but I can foresee some problems with it. Many (most?) of the unnumbered fixes Ilia's been making have been alterations to internal string or memory function calls. Generally those are either performance or security changes, replicated throughout the code base and starting with a single 'blast' aimed at upgrading everything, followed by lots of smaller catch-up fixes over the next several weeks. This kind of thing isn't really worthy of a bug report, unless you have an entirely new concept of what a bug might be and allow for change types like 'maintenance', 'security' or 'performance' via the bug database somehow. The nearest we've come to that recently is MOPB - everyone marked those fixes as such - and occasionally coverity. If the bug db allows it it might make sense to put an initial function change as a 'maintenance' report with some explanation and a number, e.g.: helly Sat Feb 24 18:20:46 2007 UTC Modified files: (Branch: PHP_5_2) /php-src/main snprintf.c snprintf.h Log: - Add [v]slprintf to overcome the returnvalues issue of snprintf would get a fuller explanation on the report, and every subsequent "snprintf() -> slprintf()" commit would reference that maintenance report number. Fine, but what to do about "malloc() -> pemalloc()"? Would all 'maintenance' fixes require a test script? Wouldn't the need to check for a maintenance number put devs off making a simple one-line fix? Branch-specific fixes are generally (but not always) marked as such at present. People tend to mention it in the 5_2 branch but not in 4_4. - Steph