[oe-commits] [bitbake] 01/10: toaster: update web urls for openembedded-core's special case
git at git.openembedded.org
git at git.openembedded.org
Tue Aug 16 15:13:33 UTC 2016
rpurdie pushed a commit to branch master-next
in repository bitbake.
commit ce2f990a366d2d939e93e01f67688f12740c5fee
Author: David Reyna <David.Reyna at windriver.com>
AuthorDate: Mon Aug 15 11:41:33 2016 +0100
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 at windriver.com>
Signed-off-by: Michael Wood <michael.g.wood at intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
lib/toaster/orm/management/commands/lsupdates.py | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/lib/toaster/orm/management/commands/lsupdates.py b/lib/toaster/orm/management/commands/lsupdates.py
index 89817c8..8ff120e 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)
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list