Skip to content

RFC Tracking parsed configuration files

Joshua Lock bitbake-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3cooker: track conf files parsed outside of the usual bitbake.conf inclusionlib/bb/cooker.py+3 -00 replies
2/3cooker|event: notify if pre/post file in ConfigFilePathFound eventlib/bb/cooker.py lib/bb/event.py+8 -20 replies
3/3ui/crumbs/[hobeventhandler|configurator]: don't use unparsed fileslib/bb/ui/crumbs/configurator.py lib/bb/ui/crumbs/hobeventhandler.py+8 -60 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC PATCH 0/3] Tracking parsed configuration files

All,

This series attempts to address Yocto bug 1246: "Configuration changes could be saved to a file the cooker isn't using".

It's an ugly series and the issue will only present itself if users run the UI trough alternative ways. My main issue is that we can't easily track all loaded conf files at parseConfigurationFiles time so it feels a little brittle.

Thoughts? Comments?

Regards,
Joshua

Please review the following changes for suitability for inclusion. If you have any objections or suggestions for improvement, please respond to the patches. If you agree with the changes, please provide your Acked-by.

The following changes since commit 2650be190afc05f9472aca8b11af99205a342838:

ui/crumbs/tasklistmodel: fix loading a saved recipe (2011-07-26 09:42:28 -0700)

are available in the git repository at:
git://github.com/incandescant/bitbake configfiles
https://github.com/incandescant/bitbake/tree/configfiles

Joshua Lock (3):
cooker: track conf files parsed outside of the usual bitbake.conf
inclusion
cooker|event: notify if pre/post file in ConfigFilePathFound event ui/crumbs/[hobeventhandler|configurator]: don't use unparsed files

 lib/bb/cooker.py                    |   10 +++++++++-
 lib/bb/event.py                     |    3 ++-
 lib/bb/ui/crumbs/configurator.py    |    8 ++++----
 lib/bb/ui/crumbs/hobeventhandler.py |    6 ++++--
 4 files changed, 19 insertions(+), 8 deletions(-)
Signature · 1 line
1.7.6