Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id EB20BE00FB3; Sun, 14 Aug 2016 17:57:36 -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.146.13 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from mail1.windriver.com (mail1.windriver.com [147.11.146.13]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 8549BE00FAB for ; Sun, 14 Aug 2016 17:57:33 -0700 (PDT) Received: from ALA-HCB.corp.ad.wrs.com (ala-hcb.corp.ad.wrs.com [147.11.189.41]) by mail1.windriver.com (8.15.2/8.15.1) with ESMTPS id u7F0vVdE003817 (version=TLSv1 cipher=AES128-SHA bits=128 verify=FAIL) for ; Sun, 14 Aug 2016 17:57:32 -0700 (PDT) Received: from ala-dreyna-lx3.corp.ad.wrs.com (147.11.216.91) by ALA-HCB.corp.ad.wrs.com (147.11.189.41) with Microsoft SMTP Server (TLS) id 14.3.248.2; Sun, 14 Aug 2016 17:57:30 -0700 From: David Reyna To: Date: Sun, 14 Aug 2016 17:47:12 -0700 Message-ID: <1471222032-24017-1-git-send-email-david.reyna@windriver.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 X-Originating-IP: [147.11.216.91] Subject: [PATCH] toaster: update web urls for openembedded-core's special case 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: Mon, 15 Aug 2016 00:57:37 -0000 Content-Type: text/plain From: David Reyna The layer index update command has a special case for the updating 'openembedded-core' layer, and it was missing reading and updating the git web URL fields. [YOCTO #8037] Signed-off-by: David Reyna --- bitbake/lib/toaster/orm/management/commands/lsupdates.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bitbake/lib/toaster/orm/management/commands/lsupdates.py b/bitbake/lib/toaster/orm/management/commands/lsupdates.py index 89817c8..10870fb 100644 --- a/bitbake/lib/toaster/orm/management/commands/lsupdates.py +++ b/bitbake/lib/toaster/orm/management/commands/lsupdates.py @@ -165,6 +165,9 @@ class Command(NoArgsCommand): # layerindex oe_core_l.summary = li['summary'] oe_core_l.description = li['description'] + oe_core_l.vcs_web_url = li['vcs_web_url'] + oe_core_l.vcs_web_tree_base_url = li['vcs_web_tree_base_url'] + oe_core_l.vcs_web_file_base_url = li['vcs_web_file_base_url'] oe_core_l.save() li_layer_id_to_toaster_layer_id[li['id']] = oe_core_l.pk self.mini_progress("layers", i, total) -- 1.9.1