Return-Path: X-Original-To: apmail-incubator-bloodhound-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-bloodhound-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 95496EB9E for ; Wed, 9 Jan 2013 10:51:13 +0000 (UTC) Received: (qmail 60351 invoked by uid 500); 9 Jan 2013 10:51:13 -0000 Delivered-To: apmail-incubator-bloodhound-dev-archive@incubator.apache.org Received: (qmail 60269 invoked by uid 500); 9 Jan 2013 10:51:12 -0000 Mailing-List: contact bloodhound-dev-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-dev@incubator.apache.org Received: (qmail 60246 invoked by uid 99); 9 Jan 2013 10:51:12 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Jan 2013 10:51:12 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [209.85.215.46] (HELO mail-la0-f46.google.com) (209.85.215.46) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Jan 2013 10:51:05 +0000 Received: by mail-la0-f46.google.com with SMTP id fq13so1647785lab.5 for ; Wed, 09 Jan 2013 02:50:43 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding :x-gm-message-state; bh=BJRJExQy6qX83u3eoZwG1VIH8SpPPQXJvB4kWGcUCh4=; b=jwfjEOWVZVhYF2bf7VMCJ1rQxXIx7saPTF62Kf4w0IiL6hdRbvXx94P3U8aD1bE2wx /nBZiAS8iOCBxr8ikGUIFLOF93umRCFMYezreHCCfL7GeAzVb46NY4XC7O2mETEjILnI ulqXTPjVI9Aw9EKiYSg4Y9auE68r3IHuk92zQS02MsLsvy8zDXJG0UuQGNry9NB89Dmz JLiPxJeRccZ9/8pVJuABX18+sYpf9plvFMFEFJ8JWf5JzH7cDnr3ovjKWTkwJq5rbaX6 Q0LEpFLFi6lK2KXld5EiU9BUx5MPBA7NJVHACGZBnIXyVgStDW9hK1lueRCEBoDu2deb PA6A== X-Received: by 10.112.51.175 with SMTP id l15mr26806422lbo.5.1357728643311; Wed, 09 Jan 2013 02:50:43 -0800 (PST) Received: from masinca.digiverse.si ([77.234.149.122]) by mx.google.com with ESMTPS id iw6sm5787953lab.2.2013.01.09.02.50.41 (version=SSLv3 cipher=OTHER); Wed, 09 Jan 2013 02:50:42 -0800 (PST) Message-ID: <50ED4B83.7050208@digiverse.si> Date: Wed, 09 Jan 2013 11:50:43 +0100 From: Jure Zitnik User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: bloodhound-dev@incubator.apache.org Subject: Re: [Apache Bloodhound] #115: Product-specific settings References: <055.55b84508f6fcc1a8cc545a03456faa21@incubator.apache.org> <070.15b8ebe71bafa7ae651d57d105b756d7@incubator.apache.org> <50D42A23.20005@digiverse.si> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Gm-Message-State: ALoCoQk2VaSQATH5EYk9O7foDzyDc749USdn9bWcki+DEnGJv8SfQXwyrz9B1rAxpSZz0SRvcPYZ X-Virus-Checked: Checked by ClamAV on apache.org On 1/8/13 9:07 AM, Olemis Lang wrote: > On 12/21/12, Jure Zitnik wrote: >> On 12/20/12 10:26 PM, Olemis Lang wrote: >>> On 12/19/12, Apache Bloodhound >>> wrote: >>>> I'll be developing this in [https://bitbucket.org/olemis/bloodhound-mq >>>> my >>>> patch queue @ Bitbucket] in [https://bitbucket.org/olemis/bloodhound- >>>> mq/commits/all/tip/branch(%22t115_product_env%22) branch >>>> t115_product_env] >>>> >>> Today I have submitted new versions of these patches (in branch >>> t115_product_env ) aimed at running tests for Trac environments >>> against product environments . >> Great, will take a look. > it's done now , so enjoy ! > ;) I commited patches in r1430768. I started integrating ProductEnvironment with the database proxy (#288), environment factory (#322) and global hooks (#323). A question re ProductEnvironment class - is there a specific reason for that class not being derived directly from trac.env.Environment? I'm asking this as I was planning on replacing (monkey patching) trac.env.Environment with our implementation of the environment. This way we have control over database connection in all environments (global and per product). Making that (our env) a base class for ProductEnvironment would make things more consistent. Also, I was thinking of renaming ProductEnvironment.env to ProductEnvironment.parent or ProductEnvironment.global (as set forth in BEP-0003). What's your take on this, do you have any objections? >> any chance of rebasing those patches >> against the multiproduct branch (bep_0003_multiproduct)? > of course . IMO they should work with no or little modifications ... > especially depending on base version (common ancestor) of > bep_0003_multiproduct with respect to trunk . Do you merge changes in > trunk relatively often ? Thanks for the rebase. Until yesterday the trunk merge frequency was rather low but is set to increase ;) > so it is the other way round . What's the next step for multi-product > support ? What shall I do ? Next step for the multi-product is the integration I'm working on at the moment (mentioned above). Depending on how this goes we'll see where to head next ... there are already number of tickets re UI changes related to multi-product (324-329) so that'd be the most obvious way. Cheers, Jure