Return-Path: X-Original-To: apmail-incubator-bloodhound-commits-archive@minotaur.apache.org Delivered-To: apmail-incubator-bloodhound-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id BBD12EDD7 for ; Mon, 14 Jan 2013 14:58:10 +0000 (UTC) Received: (qmail 11348 invoked by uid 500); 14 Jan 2013 14:58:10 -0000 Delivered-To: apmail-incubator-bloodhound-commits-archive@incubator.apache.org Received: (qmail 11313 invoked by uid 500); 14 Jan 2013 14:58:09 -0000 Mailing-List: contact bloodhound-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: bloodhound-dev@incubator.apache.org Delivered-To: mailing list bloodhound-commits@incubator.apache.org Received: (qmail 11283 invoked by uid 99); 14 Jan 2013 14:58:08 -0000 Received: from bloodhound-vm.apache.org (HELO bloodhound-vm) (140.211.11.32) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Jan 2013 14:58:08 +0000 Received: from bloodhound-vm.apache.org (localhost [127.0.0.1]) by bloodhound-vm (Postfix) with ESMTP id BC488800C2; Mon, 14 Jan 2013 14:58:07 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit From: "Apache Bloodhound" X-Trac-Version: 1.0 Cc: bloodhound-commits@incubator.apache.org Auto-Submitted: auto-generated X-Mailer: Trac 1.0, by Edgewall Software X-Trac-Project: Apache Bloodhound Date: Mon, 14 Jan 2013 14:58:06 -0000 Reply-To: bloodhound-dev@incubator.apache.org X-URL: https://issues.apache.org/bloodhound/ Subject: Re: [Apache Bloodhound] #115: Product-specific settings X-Trac-Ticket-URL: https://issues.apache.org/bloodhound/ticket/115#comment:8 Message-ID: <070.c3473d6147ba2cbe9e7f157e30c98a4a@incubator.apache.org> References: <055.55b84508f6fcc1a8cc545a03456faa21@incubator.apache.org> X-Trac-Ticket-ID: 115 In-Reply-To: <055.55b84508f6fcc1a8cc545a03456faa21@incubator.apache.org> #115: Product-specific settings -------------------------+------------------------------------------------- Reporter: olemis | Owner: gjm Type: | Status: review enhancement | Milestone: Priority: major | Version: Component: | Keywords: multiproduct environment multiproduct | configuration database bep-0003 db-upgrade Resolution: | model -------------------------+------------------------------------------------- Comment (by jure): Replying to [comment:7 olemis]: > [attachment:t115_r1431447_product_envs_bep3_p1.diff Attached patch] implements a number of enhancements aimed at complying with bep:0003 specification . This includes : > > - Type checking in product env initializer This tests parent against trac.env.Environment. After the hooks are in place the proper type of the parent environment should be multiproduct.env.Environment. > I also spent some time to build [https://bitbucket.org/olemis /bloodhound- mq/src/t115_bep3_product_env/t115/t115_r1431447_product_envs_bep3_p1.diff?at=t115_bep3_product_env another patch] rebasing product environments solution against `bep_0003_,multiproduct` branch . > Great, will try to commit the patch today as tests are passing after r1432924 (see below). > {{{ > #!sh > > $ python setup.py test -m tests.env > [...] > Testing env.get_known_users ... ERROR > Testing env.get_version ... ERROR > test_attr_forward_parent (tests.env.ProductEnvApiTestCase) ... ok > test_typecheck (tests.env.ProductEnvApiTestCase) ... ERROR > > [...] > > ---------------------------------------------------------------------- > Ran 4 tests in 7.610s > > FAILED (errors=3) > > }}} > > ... so even if solution works it is not quite ready to be committed in that branch yet . Tests are now passing after r1432924 ... there was code in Product.insert that would auto populate product tables (components, milestones, versions, etc.) upon product insertion. This should actually be performed by a higher level logic (admin interface for example). -- Ticket URL: Apache Bloodhound The Apache Bloodhound (incubating) issue tracker