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 5B669D0FB for ; Mon, 29 Oct 2012 18:03:44 +0000 (UTC) Received: (qmail 81383 invoked by uid 500); 29 Oct 2012 18:03:44 -0000 Delivered-To: apmail-incubator-bloodhound-dev-archive@incubator.apache.org Received: (qmail 81324 invoked by uid 500); 29 Oct 2012 18:03:44 -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 81315 invoked by uid 99); 29 Oct 2012 18:03:44 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Oct 2012 18:03:44 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of olemis@gmail.com designates 209.85.220.175 as permitted sender) Received: from [209.85.220.175] (HELO mail-vc0-f175.google.com) (209.85.220.175) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Oct 2012 18:03:38 +0000 Received: by mail-vc0-f175.google.com with SMTP id p1so5517344vcq.6 for ; Mon, 29 Oct 2012 11:03:17 -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=u7KZMAR6l2/wwFFGappCvmPP3YkIyaLPhszvt/uJ5bA=; b=PpZ+6vDmxgEj4V3AqfhRAzUQzrvYcHJ4GyWKnAlCgfOmE3Dvij3rayPIwYrYldPhNh EGUSNfCwUsOdjlNYc/UrocXDz7yKuQfZjE8qzLPpNtnpbGaRk0BjDdY1mqcz6tBABroH MSzJy3X5KTIUdME1IULZ/WatJPBl843bKeCsWKnbDiiaPiXUmxDLeJTaaXFATX3oZDJL iKhaJURlV7Q3KqGh/YfUkTMm1KjMy0+Ro7O5UYL3lFVxfvCcbL6MER9RGLLaNRrHwxmr 87JnazdMj6yU/VBgu78w6qMi6NbYPg24zzdnsb7Qf6GHPk44aLA2/nEQu8uRtCCoto0g RX0g== MIME-Version: 1.0 Received: by 10.52.70.48 with SMTP id j16mr40177454vdu.1.1351533797360; Mon, 29 Oct 2012 11:03:17 -0700 (PDT) Received: by 10.58.156.71 with HTTP; Mon, 29 Oct 2012 11:03:17 -0700 (PDT) In-Reply-To: <508E57C9.5000809@wandisco.com> References: <508A4CAB.3070106@digiverse.si> <508E57C9.5000809@wandisco.com> Date: Mon, 29 Oct 2012 13:03:17 -0500 Message-ID: Subject: Re: Datamodel and data consistency From: Olemis Lang To: bloodhound-dev@incubator.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org On 10/29/12, Gary Martin wrote: > [...] > I don't want to be moving away from Trac [...] > +1 ... though I'd really like to see some gradual transition onto an ORM in the middle handling DB access e.g. like SqlAlchemyIntegration [1]_ . > It would certainly be difficult for plugin authors to support multiple > plugin models. > [...] > > To make that > work we would probably need to make sure that changes are generally > transparent and always easy to convert [...] > +1 > Going back to the problem with multiproduct, I'm happy to see us > swapping to using the immutable product prefix. I am not yet convinced > of the argument of providing an extra field for the convenience of > allowing us to easily make the prefix mutable. The prefix must not be mutable if it will be used to identify product resources . Notice that in Trac there are other relations outside DB schema , the most notorious being TracLinks . > Withholding the ability > to change the prefix will be simplifying for the users of the system so > that they do not have to get used to referring to tickets through a new > prefix on the whim of another user. While we could provide the ability > for the old prefix to continue to be usable for identifying the > appropriate resource under the new prefix, the potential confusion in > discussions of tickets just seems unwarranted. The workaround exists of > creating a new product and moving the tickets into it. > +1 . Changes to product prefix should be an admin task carried out using external scripts , trac-admin commands or alike ... > As for the question of notifications, I agree that we don't want > multiple emails associated with a a change of product but I think it > would be nice for resources that were associated at the time of the > change to be able to report that the event has happened. On the other > hand, the activity feed should really only show one event at any given > scope. At present batch modifications contribute a single event to the timeline . > I am not convinced that that the bulk modify apparatus is the > correct approach for this in the long term. > It looks handy to reuse existing batch modifications . .. [1] Trac SQLAlchemy Bridge (http://trac-hacks.org/wiki/TracSqlAlchemyBridgeIntegration) -- Regards, Olemis. Blog ES: http://simelo-es.blogspot.com/ Blog EN: http://simelo-en.blogspot.com/ Featured article: