From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 335A2E00A1A; Fri, 19 Jun 2015 08:14:24 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low * trust * [209.85.212.169 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from mail-wi0-f169.google.com (mail-wi0-f169.google.com [209.85.212.169]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id DC766E009E1 for ; Fri, 19 Jun 2015 08:14:20 -0700 (PDT) Received: by wiga1 with SMTP id a1so22089342wig.0 for ; Fri, 19 Jun 2015 08:14:19 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=+9s2d6G6wds3QtX91Qir2yXEjhSMBMx6FMBhLk7Ess8=; b=O8GA4pJ4UuhO1jHTYAjGQD0mFH6IiU1AOW3/8JkOehyqLsAVSXueLvE/YbZIT28Mmf gx3rmJwbjKdPz9UEOG4ehxMJl/Z4d1PQ7oSeyebqBMyk9LsC2JqVBqsScn65C1KuxZ17 pGC7fSXr+X8MRZiF8mpZ9yotu0LtKLjRq3IPcg5UMbPkGVenCrcMftnc/duVR7SM9O8U RcJIb0kKNUEgGfhbfIVlb02UyC+QONAgYUTOy6gcwedu1PyDWBKy/rpkqPpMOa6X+kEr 7DLzeTynQk/UXlBx9KMBQxAqrRbcUh/dFzr76e/B9rSNy7xdIeELEyYW/khob6OKDint E53g== X-Gm-Message-State: ALoCoQkXKDhyvS11uZZJKwNRr7FTl/KEbevdFmo3ns6jll07dS2UKQT5pd7O6ZPLQsr5ZIbA8Jj8 X-Received: by 10.194.173.8 with SMTP id bg8mr25653361wjc.65.1434726859229; Fri, 19 Jun 2015 08:14:19 -0700 (PDT) Received: from [192.168.2.73] ([83.217.123.106]) by mx.google.com with ESMTPSA id hn7sm4150088wib.5.2015.06.19.08.14.18 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 19 Jun 2015 08:14:18 -0700 (PDT) Message-ID: <558431C9.1030004@intel.com> Date: Fri, 19 Jun 2015 16:14:17 +0100 From: Michael Wood User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: "Damian, Alexandru" References: <558059DB.9090409@intel.com> In-Reply-To: Cc: "toaster@yoctoproject.org" Subject: Re: [review-request] michaelw/toaster/orm-split-up X-BeenThere: toaster@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Web based interface for BitBake List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Jun 2015 15:14:24 -0000 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit OK, I've added a commit on this branch for step 1 And will file a bug/patch in the autobuilder to update the url. Michael On 19/06/15 12:38, Damian, Alexandru wrote: > Hi, > > There is a slight problem with this approach. > > The AB is using the "/orm/eventfile" URL for uploading bitbake > eventfiles from running builds. > This patch changes that to "/bldcollector/eventfile", breaking the > interface for AB; therefore it cannot be taken as it is. > > I would suggest a 3-step approach: > > - make both the old and new URL work simultaneously, and have that > deployed on the toaster-ab-server > - patch the AB to use the new URL > - once the patch is deployed to AB and verified to be correctly used > in uploading data, delete the old URL mapping. > > Cheers, > Alex > > > > On Tue, Jun 16, 2015 at 6:16 PM, Michael Wood > > wrote: > > This is a slightly reduced scope version of the refactoring of the > ORM that was discussed. The orm can continue to be a central place > for database abstraction and the bldcollector can take over the > function that was confusingly part of the orm application. > > This reduces the changes from potentially /most/ files in toaster > to a select few, as after looking at this the gain from changing > more of the application doesn't outweigh the risk for regressions > and potential disruption. > > commit e35930be7c9fc99d5244c28c4f37eaece1615606 > Author: Michael Wood > > Date: Tue Jun 16 16:00:26 2015 +0100 > > bitbake: toaster: split orm app into it's own module and app > > The orm application was also the django application to collect > the build > information. Splitting this module up into it's functional > parts. orm > for the data module and bldcollector for build collection data. > > [YOCTO #7706] > > Signed-off-by: Michael Wood > > > -- > _______________________________________________ > toaster mailing list > toaster@yoctoproject.org > https://lists.yoctoproject.org/listinfo/toaster > > > > > -- > Alex Damian > Yocto Project > SSG / OTC > > --------------------------------------------------------------------- > Intel Corporation (UK) Limited > Registered No. 1134945 (England) > Registered Office: Pipers Way, Swindon SN3 1RJ > VAT No: 860 2173 47 > > This e-mail and any attachments may contain confidential material for > the sole use of the intended recipient(s). Any review or distribution > by others is strictly prohibited. If you are not the intended > recipient, please contact the sender and delete all copies. >