From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 4312DE00992; Tue, 14 Apr 2015 07:23:00 -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.182 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from mail-wi0-f182.google.com (mail-wi0-f182.google.com [209.85.212.182]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id D7628E00965 for ; Tue, 14 Apr 2015 07:22:54 -0700 (PDT) Received: by wiax7 with SMTP id x7so89837675wia.0 for ; Tue, 14 Apr 2015 07:22:53 -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 :subject:content-type:content-transfer-encoding; bh=0XE5J3fKgo5KCniRKpC0hPCQO8TQR6ZJ0JFex/EOn1A=; b=OLlcDiPcN19ziQeg3YiT152VfmfFlQiVZ/6QPYsBAo8rAz/Sa19mBxF6V/E6Hl/6zF M+g1bW4MXX0k9tUsQ1Qp9JgDyfGxnsD3EEMPjRLDnV0ZTMb/XOpEocxf6rkVwsknIPwe Y+d+M50MECTTica+DkFtMxrQlTYhoC4MQD41/k8MxXbY+ycFIfePfoTR5OjB4abQSQxi 1St/nJUO8jXBNiv+lnFVbyX/zJOCR084m/UK4Ba4s2xMTf8Cog2m+j+4UllhpQbyAWkH TNwnI9Uinlkj9dJMwoZUSJ28Vl/HzCfjBKGo0ocygGxsOo3jyK3cIKWo/s+ezdmgYuV8 tvuw== X-Gm-Message-State: ALoCoQk7fbJILe5t1U4k5rJkQeDQAqcjLDACLQcBbbKBOh8TiSFnUHmzP+wjjqDD5xZUkzyzwhKH X-Received: by 10.194.22.40 with SMTP id a8mr2729482wjf.134.1429021373101; Tue, 14 Apr 2015 07:22:53 -0700 (PDT) Received: from [192.168.2.119] ([83.217.123.106]) by mx.google.com with ESMTPSA id ez19sm17439086wid.19.2015.04.14.07.22.51 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 14 Apr 2015 07:22:52 -0700 (PDT) Message-ID: <552D22BB.3060607@intel.com> Date: Tue, 14 Apr 2015 15:22:51 +0100 From: Michael Wood User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: "toaster@yoctoproject.org" Subject: [review-request] michaelw/toaster-frontend-cleanups 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, 14 Apr 2015 14:23:00 -0000 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit poky-contrib michaelw/toaster-frontend-cleanups commit 310409d14c1af131ac39121936a3bb66741c39dc Author: Michael Wood Date: Tue Apr 14 15:12:35 2015 +0100 bitbake: toaster: Create and use a single common layer add/remove mechanism This adds a common add/remove layer mechanism that will also handle showing the modal dialog if there are dependencies for the layer which also need adding. To help bring consistency this also adds a layer added/removed alert utility function to generate the alert message. This touches all places where layers can be added or removed to port them to this new common mechanism. Signed-off-by: Michael Wood commit c1c7a3435dcb70d82c2f9c710140c038cc9d205b Author: Michael Wood Date: Fri Apr 10 18:15:03 2015 +0100 bitbake: toaster: Move project context variables to common scope We have a bunch of context data which are used in multiple pages so it makes more sense to have this in a single place libtoaster.ctx that's accessible from each page rather than request it from every page. Signed-off-by: Michael Wood