Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 0D5B5E00C45; Fri, 7 Oct 2016 11:20:57 -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=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at http://www.dnswl.org/, * medium trust * [147.11.1.11 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from mail.windriver.com (mail.windriver.com [147.11.1.11]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 4C8DEE00C29 for ; Fri, 7 Oct 2016 11:20:53 -0700 (PDT) Received: from ALA-HCA.corp.ad.wrs.com (ala-hca.corp.ad.wrs.com [147.11.189.40]) by mail.windriver.com (8.15.2/8.15.1) with ESMTPS id u97IKqSI021960 (version=TLSv1 cipher=AES128-SHA bits=128 verify=FAIL); Fri, 7 Oct 2016 11:20:52 -0700 (PDT) Received: from soho-mhatle-m.local (172.25.36.226) by ALA-HCA.corp.ad.wrs.com (147.11.189.50) with Microsoft SMTP Server id 14.3.294.0; Fri, 7 Oct 2016 11:20:51 -0700 To: "Liam R. Howlett" , References: <1475855841-30009-1-git-send-email-Liam.Howlett@WindRiver.com> From: Mark Hatle Organization: Wind River Systems Message-ID: <16da8ce7-7355-fe97-7abe-20cd3a64e2c7@windriver.com> Date: Fri, 7 Oct 2016 13:20:50 -0500 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <1475855841-30009-1-git-send-email-Liam.Howlett@WindRiver.com> Cc: paul.eggleton@linux.intel.com Subject: Re: [layerindex-web][PATCH v2 00/12] Add Distro, dependency and recommends detection, and import_project X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Oct 2016 18:20:57 -0000 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 8bit FYI, I have made sure these are re-based on top of paule/django18 and pushed to: git://git.yoctoproject.org/layerindex-web mhatle/django18 BTW for me upgrading from paule/django18 to this version. I only had to run 'manage.py syncdb'. This created the new database and added the missing field for the recommend. I then ran update.py --forcereload and everything showed up as expected. --Mark On 10/7/16 10:57 AM, Liam R. Howlett wrote: > This set of patches adds a number of features to the layerindex code: > - Adds the ability to set the actual-branch to import_layer. > - Adds distro to the database and web interface. > - Adds collection & version information to layerbranch. > - Uses layer name and collection name to determine dependencies and > recommends. > - Adds import_project to simplify pulling all layers and openembedded-core > into a layer index. > > Liam R. Howlett (11): > import_layer: Add --actual-branch option > layerindex/tools/import_layer.py: Sanitize layer name. > layerindex/tools/import_layer.py: Avoid failing if there is any layer > to add. > layerindex/utils: Update runcmd to decode binary strings to strings. > layerindex: Add distro to web interface and model. > layerindex/tools/import_project: Add import_project > layerindex/recipeparse.py: refactor setup_tinfoil, > checkout_layer_branch, parse_layer_conf to utils.py > layerindex: Detect dependencies from layer.conf files > layerindex: Add collection and version to layerbranch > layerindexer: Add layer recommends support > recipeparse: remove unnecessary else statement. > > Mark Hatle (1): > layerindex/update_layer.py: Preserve the recipedependency files > > layerindex/admin.py | 11 +++ > layerindex/bulkchange.py | 4 +- > layerindex/layerconfparse.py | 50 +++++++++++ > layerindex/models.py | 23 +++++ > layerindex/recipeparse.py | 53 +++-------- > layerindex/restviews.py | 10 ++- > layerindex/tools/import_classic.py | 2 + > layerindex/tools/import_layer.py | 47 +++++++++- > layerindex/tools/import_project.py | 180 +++++++++++++++++++++++++++++++++++++ > layerindex/update.py | 42 ++++++++- > layerindex/update_layer.py | 87 ++++++++++++++++-- > layerindex/urls.py | 3 + > layerindex/urls_branch.py | 6 +- > layerindex/utils.py | 159 +++++++++++++++++++++++++++++++- > layerindex/views.py | 29 +++++- > templates/layerindex/detail.html | 55 +++++++++--- > templates/layerindex/distros.html | 76 ++++++++++++++++ > templates/layerindex/layers.html | 1 + > templates/layerindex/machines.html | 1 + > templates/layerindex/recipes.html | 1 + > 20 files changed, 767 insertions(+), 73 deletions(-) > create mode 100644 layerindex/layerconfparse.py > create mode 100755 layerindex/tools/import_project.py > create mode 100644 templates/layerindex/distros.html >