Return-Path: X-Original-To: apmail-incubator-ooo-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-ooo-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7F5F5C955 for ; Sun, 13 May 2012 01:24:33 +0000 (UTC) Received: (qmail 54771 invoked by uid 500); 13 May 2012 01:24:33 -0000 Delivered-To: apmail-incubator-ooo-dev-archive@incubator.apache.org Received: (qmail 54581 invoked by uid 500); 13 May 2012 01:24:33 -0000 Mailing-List: contact ooo-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ooo-dev@incubator.apache.org Delivered-To: mailing list ooo-dev@incubator.apache.org Received: (qmail 54572 invoked by uid 99); 13 May 2012 01:24:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 13 May 2012 01:24:32 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [98.138.90.73] (HELO nm10.bullet.mail.ne1.yahoo.com) (98.138.90.73) by apache.org (qpsmtpd/0.29) with SMTP; Sun, 13 May 2012 01:24:24 +0000 Received: from [98.138.90.51] by nm10.bullet.mail.ne1.yahoo.com with NNFMP; 13 May 2012 01:24:02 -0000 Received: from [98.138.84.38] by tm4.bullet.mail.ne1.yahoo.com with NNFMP; 13 May 2012 01:24:02 -0000 Received: from [127.0.0.1] by smtp106.mail.ne1.yahoo.com with NNFMP; 13 May 2012 01:24:02 -0000 X-Yahoo-Newman-Id: 924589.81096.bm@smtp106.mail.ne1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: MeD2oZoVM1lIv1bIaFRRD0ZH6ekbNxnCrehix.XBYctB0UW TG0uNPgPHra7ZbRrbXh7u7cWG7wIhYgdiflqZdZwol.Czf7ULSvIHA6pOQcy _bCshcmLFaTXcTWVb3DMqcVNN5PjnMJ1K97QnTQXosuGNywiMJglLJrYav0T K1JAm0DfsZH9qUhLWog7kJtH5_2RuQO4L1OuPGFrsBT3vNdrosEUlPLuJD4Y g6FIkK5M_N6QOJkN0AhcGZsNFrb2x73q5LQz5jdpqB.5MGDrIvVDnDlnoZ5k kdvxVKwc1FeTINGRrMeFgncj38JLpRTb9X.NG8xeSKShXoElxiKZrEtx4_Hx 98I4mmwh1JXo53zE_N4NGyhA9myxcxXekENL6OzXUKY3JILFqUGpGBfC4Mpt shZb8Q.UI90TRfuFpYFA8MJsRhw-- X-Yahoo-SMTP: xcjD0guswBAZaPPIbxpWwLcp9Unf Received: from [192.168.10.103] (pfg@200.118.157.7 with plain) by smtp106.mail.ne1.yahoo.com with SMTP; 12 May 2012 18:24:02 -0700 PDT Message-ID: <4FAF0D30.6000503@apache.org> Date: Sat, 12 May 2012 20:24:00 -0500 From: Pedro Giffuni User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:10.0.3) Gecko/20120328 Thunderbird/10.0.3 MIME-Version: 1.0 To: ooo-dev@incubator.apache.org Subject: Re: [Heads up][code] Apache Lucene updated to version 2.9.4 References: <4FAEAAC1.2050302@apache.org> <20120512211031.GB12208@localhost> In-Reply-To: <20120512211031.GB12208@localhost> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi Ariel; On 05/12/12 16:10, Ariel Constenla-Haile wrote: > Hi Pedro, > ... > IMO when updating external dependencies, the tests should not only include > the fact that it can be built on all the platforms we support, but > mainly regressions tests that test if the functionality of the code that > dependes on these external dependencies is still working. > > The steps would be: > > 1. make sure it builds > 2. identify the code that depends on the dependency > 3. test that the functionality still works. > > This is valid also for the apache commons update you did recently. With Java code there are always two particular things: 1) In theory Java code is platform independent, so even though I can't test every platform, having it work in UNIX is a really good sign. 2) One might think the usual "if it ain't broken don't fix it" philosophy will keep things stable ... but it doesn't: even if we would like to keep the actual working code set in stone, the Java VM does get updated and previously working code stops working or doesn't even build anymore. Andrew Rist reported a broken case of a linux buildbot with openjdk7, and he requested the Apache commons update. Indeed, as you are aware, I am not perfect and you were hit with many of my early commits that caused breakage (even when I had all of them reviewed by someone else that knew the code better than me). To respond your points, which are perfectly reasonable, in the case of these last two big changes: 1) The code builds on FreeBSD-amd64, which is my dev. platform. 2) The code has been in use for a while on FreeBSD and/or Debian Linux for a while. I was very careful to choose only compatible updates. 3) I did my best to check the specific functionality that may be affected: it is unlikely I can catch all the use-cases but doing such changes early in development will help detect any remaining issue. This said, we are reaching a level where updating this low-hanging fruit is not becoming viable anymore. Updating commons-lang to version 3.1 or Lucene to 3.5 would involve a *lot* of work but I guess it will get done when it's mandatory to use Java5+. I know my limitations and I can't really help beyond the updates I am doing but I am sure this is pretty useful for now. Pedro.