toaster: update web urls for openembedded-core's special case
PATCH 1/1 toaster: update web urls for openembedded-core's special case
From: David Reyna <[email protected]>
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 <[email protected]>
Signed-off-by Michael Wood <[email protected]>
--- lib/toaster/orm/management/commands/lsupdates.py | 6 ++++++ 1 file changed, 6 insertions(+)
lib/toaster/orm/management/commands/lsupdates.py +6 -0
@@ -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)
Signature · 1 line
2.7.4