Bug 5565 - toaster packages change database tables and data collection hooks
Summary: toaster packages change database tables and data collection hooks
Status: VERIFIED FIXED
Alias: None
Product: Toaster
Classification: Build System, Metadata & Runtime
Component: toaster (show other bugs)
Version: 1.6
Hardware: x86 Multiple
: Medium enhancement
Target Milestone: 1.6 M1
Assignee: Alexandru Damian
QA Contact: Mihail Stanciu
URL:
Whiteboard:
Depends on:
Blocks: 5225 5269
  Show dependency tree
 
Reported: 2013-11-19 13:04 UTC by Alexandru Damian
Modified: 2014-07-25 12:32 UTC (History)
6 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.