Skip to content

Fix writing events to file

Ed Bartosh bitbake-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5cooker: move EventLogWriteHandler to the top module levelbitbake/lib/bb/cooker.py+64 -620 replies
2/5cooker: encode event objects to base64bitbake/lib/bb/cooker.py+4 -10 replies
3/5cooker: don't remove event filebitbake/lib/bb/cooker.py+0 -60 replies
4/5cooker: replace EventLogWriteHandler with namedtuplebitbake/lib/bb/cooker.py+41 -450 replies
5/5cooker: clean up EvertWriterbitbake/lib/bb/cooker.py+13 -200 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/5] Fix writing events to file

Hi,

This patchset fixes "object is not JSON serializable" error caused by attempt to convert binary pickled event object to JSON when bitbake is called with -w command line option.

It also fixes error caused writing the same event to the file multiple times and refactoring of event writing functionality.

The following changes since commit 09d08340fe0fca6f551c33d2fdcafb72f52812d2:

Revert "cmake.bbclass: set the modules directory correctly" (2016-06-20 08:40:21 +0100)

are available in the git repository at:

git://git.yoctoproject.org/poky-contrib ed/bitbake/cooker-event-pickling-9803
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=ed/bitbake/cooker-event-pickling-9803

Ed Bartosh (5):
cooker: move EventLogWriteHandler to the top module level
cooker: encode event objects to base64
cooker: don't remove event file
cooker: replace EventLogWriteHandler with namedtuple
cooker: clean up EvertWriter

 bitbake/lib/bb/cooker.py | 114 +++++++++++++++++++++--------------------------
 1 file changed, 51 insertions(+), 63 deletions(-)

--
Regards,
Ed