summaryrefslogtreecommitdiffstats
path: root/lib/toaster
diff options
context:
space:
mode:
authorDavid Reyna <David.Reyna@windriver.com>2016-08-15 11:41:33 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-08-16 15:04:33 +0100
commitce2f990a366d2d939e93e01f67688f12740c5fee (patch)
tree6a407db302440136f33ee733988d0d80053c98c8 /lib/toaster
parent0a9b5d7d9655dbb09d458fc6e330e932f0f9dab6 (diff)
downloadbitbake-contrib-ce2f990a366d2d939e93e01f67688f12740c5fee.tar.gz
toaster: update web urls for openembedded-core's special case
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 <david.reyna@windriver.com> Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/toaster')
-rw-r--r--lib/toaster/orm/management/commands/lsupdates.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/toaster/orm/management/commands/lsupdates.py b/lib/toaster/orm/management/commands/lsupdates.py
index 89817c8cf..8ff120e0b 100644
--- a/lib/toaster/orm/management/commands/lsupdates.py
+++ b/lib/toaster/orm/management/commands/lsupdates.py
@@ -165,6 +165,12 @@ 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)