From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 4B9BAE00B66; Tue, 3 Jun 2014 06:27:01 -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=0.0 required=5.0 tests=none autolearn=ham version=3.3.1 X-Spam-HAM-Report: Received: from dan.rpsys.net (5751f4a1.skybroadband.com [87.81.244.161]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 9EDAFE00B0B for ; Tue, 3 Jun 2014 06:26:49 -0700 (PDT) Received: from localhost (dan.rpsys.net [127.0.0.1]) by dan.rpsys.net (8.14.4/8.14.4/Debian-2.1ubuntu4) with ESMTP id s53DQSCT024348; Tue, 3 Jun 2014 14:26:28 +0100 X-Virus-Scanned: Debian amavisd-new at dan.rpsys.net Received: from dan.rpsys.net ([127.0.0.1]) by localhost (dan.rpsys.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 9KNnh4-AtDGE; Tue, 3 Jun 2014 14:26:28 +0100 (BST) Received: from [192.168.3.10] (rpvlan0 [192.168.3.10]) (authenticated bits=0) by dan.rpsys.net (8.14.4/8.14.4/Debian-2.1ubuntu1) with ESMTP id s53DQOrH024344 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Tue, 3 Jun 2014 14:26:26 +0100 Message-ID: <1401801976.12440.91.camel@ted> From: Richard Purdie To: "Damian, Alexandru" Date: Tue, 03 Jun 2014 14:26:16 +0100 In-Reply-To: References: <011977994B5AE74ABA2BD08E983BAAABB5FFB6DB@ALA-MBB.corp.ad.wrs.com> X-Mailer: Evolution 3.8.4-0ubuntu1 Mime-Version: 1.0 Cc: "toaster@yoctoproject.org" Subject: Re: Can DATABASE_URL also be read from toaster.conf 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: Tue, 03 Jun 2014 13:27:01 -0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit On Tue, 2014-06-03 at 14:09 +0100, Damian, Alexandru wrote: > Hello, > > I'm sorry for the late reply - I'm not sure how I didn't see this mail > until now. > > > About having the DATABASE_URL in toaster.conf, I feel that this would > break the separation between core bitbake and Django environments - > toaster.conf is designed to be read and used by the bitbake core. > > As such, changing the value of this variable in toaster.conf will > invalidate task signatures and caches of tasks, even if the value > itself is irrelevant to the build task execution processes. This is > likely to confuse users and trigger problems with cache reuse. More > code would need to be added to bitbake to make this variable > transparent to the build process. Changing an incidental variable like this will trigger reparses and will invalidate some caches but the task signatures themselves wouldn't change due to it since they have no dependency on the variable. I make no comment on whether its a good/bad idea, just want to ensure we base the decisions on the right data. Cheers, Richard