Skip to content

toaster: Make LogMessage a TextField so the length is not an issue in mysql

brian avery bitbake-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1toaster: orm Fix restrictive LogMessage message lengthlib/toaster/orm/migrations/0028_auto__chg_field_logmessage_message.py lib/toaster/orm/models.py+346 -12 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/1] toaster: Make LogMessage a TextField so the length is not an issue in mysql

Log messages can be quite log so use a TextField rather than a char field with max length of 240. mySQL is especially picky about field lengths and will cause an exception of the log is too long.

[YOCTO #8475]
-b

The following changes since commit fd49c611b7a52b233a9c030fb4946b9993369368:

cooker: preserve pre and post configs (2015-10-19 13:59:16 +0300)

are available in the git repository at:

git://git.yoctoproject.org/poky-contrib bavery/submit/michaelw/2015-10-14_LogMessage-textfield-for-length
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=bavery/submit/michaelw/2015-10-14_LogMessage-textfield-for-length

Michael Wood (1):
toaster: orm Fix restrictive LogMessage message length

 .../0028_auto__chg_field_logmessage_message.py     | 345 +++++++++++++++++++++
 lib/toaster/orm/models.py                          |   2 +-
 2 files changed, 346 insertions(+), 1 deletion(-)
 create mode 100644 bitbake/lib/toaster/orm/migrations/0028_auto__chg_field_logmessage_message.py

--
1.9.1