Bug 8218

Summary: Provide a way to update layer information from the Toaster GUI
Product: [Build System, Metadata & Runtime] Toaster Reporter: Belen Barros Pena <belen.barros.pena>
Component: toasterAssignee: Toaster default assignee <toaster>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: Medium CC: belen.barros.pena, david.reyna, jessica.zhang, jose.perez.carranza, stanciux.mihail
Version: 1.8   
Target Milestone: Future   
Hardware: x86   
OS: Multiple   
Whiteboard: GUI design pending
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Yes (doc changes required)

Description Belen Barros Pena 2015-08-27 13:08:06 UTC
Currently, layer information is imported from layer sources at set up time, and then the information can be updated with 

manage.py lsupdates

We should provide an easier way to update layer information: an option accessible from the GUI would be good.
Comment 1 Belen Barros Pena 2015-11-19 16:34:42 UTC
After some discussion, we decided the following:

* The information obtained through building a layer is likely to be more accurate than the information provided by the layer index

* The most useful outcome of updating your layer index information is the possibility of bringing in any new layers added to the layer index

So, when you update the layer index information, we will not touch anything if the layer already exists in the Toaster database, but we will add any new layers to the Toaster database. 

This is not perfect: if a recipe was added to an existing layer, I will not get that into Toaster (although the recipe will be added if I build the layer). But it seems a decent enough compromise.