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 A2160D626 for ; Thu, 30 Aug 2012 02:09:38 +0000 (UTC) Received: (qmail 24003 invoked by uid 500); 30 Aug 2012 02:09:38 -0000 Delivered-To: apmail-incubator-ooo-dev-archive@incubator.apache.org Received: (qmail 23920 invoked by uid 500); 30 Aug 2012 02:09:38 -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 23912 invoked by uid 99); 30 Aug 2012 02:09:38 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Aug 2012 02:09:38 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of liushenf@gmail.com designates 74.125.82.175 as permitted sender) Received: from [74.125.82.175] (HELO mail-we0-f175.google.com) (74.125.82.175) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Aug 2012 02:09:30 +0000 Received: by weyr6 with SMTP id r6so704622wey.6 for ; Wed, 29 Aug 2012 19:09:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=VQEBUcO2GTeBv624Z8KBUn1DMCBJJTxs5NmA1kWYglE=; b=PQXky7VpppQ4zrcYSfAjKg7jMgkdATN+Cuy5PK0A8eq78oxovN2gEGLcfj2kJJt77P pXh0LHCWupEiHzFtzxzQhGA0myvbMjwX6eZzRO3WG0134YSM7vVMpuCS6r6XO4YQqz/D YMVejd1YAgNRUjhqwP90qEreXgNK/jpNnmAdrHG0ZI80ulg1IO8/rZyuaS0HMgFpsDVu K7v3kIwxKIyy7rLut/syyGuTL43MFkFxFvFmCzt63yCtBvBZsdhIDv/g4imeQG4ch0yk 2ts3vDDyKHpkNUKbJaz21oxvSKD1YwFhpI85IDSToqrp8a3qmX4D4M6tmpsb2KSrWa6u XD9Q== MIME-Version: 1.0 Received: by 10.180.94.38 with SMTP id cz6mr7755461wib.10.1346292549632; Wed, 29 Aug 2012 19:09:09 -0700 (PDT) Received: by 10.227.196.205 with HTTP; Wed, 29 Aug 2012 19:09:09 -0700 (PDT) In-Reply-To: References: <503E1EA0.80801@googlemail.com> <503E356D.2070307@googlemail.com> <503E5E71.5090606@gmail.com> Date: Thu, 30 Aug 2012 10:09:09 +0800 Message-ID: Subject: Re: 27MB odt file in svn From: Shenfeng Liu To: ooo-dev@incubator.apache.org Content-Type: multipart/alternative; boundary=f46d044271082f435e04c87229a0 --f46d044271082f435e04c87229a0 Content-Type: text/plain; charset=ISO-8859-1 +1 for test data and test script in a separated tree. Test documents should never be distributed together with product code. Only the sample documents in tutorials should. Another advantage for a separated QE tree is that a volunteer can download any AOO build and run the same test suite from the QE tree again and again, a easy way of regression and even automation. A complex situation maybe the UT by developer that calls internal functions. Sometimes developers like to write UT code together with the product code. But will a sample document be used in UT? - Simon 2012/8/30 Dave Fisher > > On Aug 29, 2012, at 11:24 AM, Kay Schenk wrote: > > > > > > > On 08/29/2012 10:51 AM, Rob Weir wrote: > >> On Wed, Aug 29, 2012 at 11:29 AM, Andre Fischer > wrote: > >>> On 29.08.2012 16:02, Rob Weir wrote: > >>>> > >>>> On Wed, Aug 29, 2012 at 9:52 AM, Andre Fischer > wrote: > >>>>> > >>>>> Hi, > >>>>> > >>>>> I just saw that we have now two new binary files in the test/ module. > >>>>> > >>>>> main/test/testgui/data/svt/complex.ods has a size of 9 424 385 Bytes > and > >>>>> main/test/testgui/data/svt/complex.odt has a size of 27 175 936 > Bytes. > >>>>> > >>>>> I wonder if SVN is really the best place for files that large. > >>>>> > >>>>> I also don't think that these files should be part of the source > release. > >>>>> But what else would have to be removed that depends on these files? > >>>>> > >>>>> Any thoughts? > >>>>> > >>>> > >>>> Something to keep in mind is that we'll probably end up with a large > >>>> number of test documents, 200+ MB. Not all of them will be large. > >>>> But if we want to have good test coverage then we'll need test > >>>> documents to cover all areas, for ODF, MS Binaries and OOXML. So this > >>>> will grow, over time, to a large test set. > >>>> > >>>> This leads to four questions: > >>>> > >>>> 1) Should we be testing large/complex documents? > >>>> > >>>> I think the answer is "yes". > >>> > >>> > >>> Agreed. > >>> > >>> > >>>> > >>>> 2) Should such test documents be in SVN? > >>>> > >>>> I think they should. > >>> > >>> > >>> Agreed. > >>> > >>> > >>>> > >>>> 3) Should these documents be in the same source tree with the rest of > >>>> the code that is downloaded by default for a build? > >>>> > >>>> Maybe not. Unless they are needed for a smoke test that should be run > >>>> by every developer. But if not, maybe they should be stored in its > >>>> own tree, like ooo/test/trunk or something like that. > >>>> > >>>> 4) Should these documents be included in the source distribution? > >>>> > >>>> Probably depends on the answer to question 3. Maybe, maybe not. Or > >>>> maybe we have a separate source distribution artifact only for > >>>> test-related files? > >>> > >>> > >>> > >>> My personal opinion is no. I believe that the use case for > downloading and > >>> building the source release is different from the use case for cloning > the > >>> SVN repository. I would expect the source release to be used for > building > >>> AOO, maybe do a simple test to verify that building was successful, > and then > >>> delete the source code. > >>> > >> > >> OK. That is a useful distinction: building versus developing. > > I think Building versus QA - both are developing. > > >> > >>> If I want to start developing then I would choose SVN. Complex tests > would > >>> help me to avoid new errors. > >>> > >>> I don't see the need for complex tests when my goal is not developing. > Lack > >>> of trust that we did not run the tests on the released code? > >>> > >>> But, of course I can be wrong (and often are :-). > >>> > >> > >> If we follow that logic, then we might still store the test data and > >> test code in SVN, but in its own tree, e.g., /ooo/test/trunk. > >> > >> This also preserves the option of us having a "test source" artifact > >> in a future release, if we wanted. > >> > >> -Rob > > > > +1, this seems like a good compromise > > > > I don' think the "test" cases should be in the same tree as source. > > Agreed. > > > > > No use overloading developers who simply want to build and make > modifications. > > Source is required as an Open Source release. (we should all understand > that.) > > QA / test is "optional" but quite important. It should be separate and we > can include a "QA" package as one of our convenience binaries during a > release. > > Regards, > Dave > > > > > > >> > >>> -Andre > >>> > >>>> > >>>> -Rob > >>>> > >>>> > >>>>> Regards, > >>>>> Andre > >>> > >>> > > > > -- > > ------------------------------------------------------------------------ > > MzK > > > > "As a child my family's menu consisted of two choices: > > take it or leave it. " > > -- Buddy Hackett > > --f46d044271082f435e04c87229a0--