Bug 5565

Summary: toaster packages change database tables and data collection hooks
Product: [Build System, Metadata & Runtime] Toaster Reporter: Alexandru Damian <alexandru.damian>
Component: toasterAssignee: Alexandru Damian <alexandru.damian>
Status: VERIFIED FIXED QA Contact: Mihail Stanciu <stanciux.mihail>
Severity: enhancement    
Priority: Medium CC: alexandru.damian, andreea.b.proca, belen.barros.pena, cristiana.voicu, jessica.zhang, stanciux.mihail
Version: 1.6   
Target Milestone: 1.6 M1   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)
Bug Depends on:    
Bug Blocks: 5225, 5269    

Description Alexandru Damian 2013-11-19 13:04:17 UTC
Build packages and Target packages tables have redundant information, since they collect data about the same packages.

All packages information must be stored in a single table. All dependency information will be collected in several cases - at build time, and once per each target. The dependency information will be stored in a single table.
Package file information will be stored in a single table.

The pkgdata collection currently runs at package build time. This must be extended to run also at _setscene time and at target creation time, if not available before hand. This will bring in more data about packages that are being used, helping with data completeness bug 5269.
Comment 1 Alexandru Damian 2013-11-26 18:25:12 UTC
review on poky-contrib:toaster/master edb12586c27ccddb054737ee6e081f663e2c60da
Comment 2 Alexandru Damian 2013-12-23 11:59:52 UTC
Merged in toaster/master
Comment 3 Mihail Stanciu 2014-07-25 12:32:51 UTC
Verified.