]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
toaster: use force_bytes to display non-ascii project names
authorSujith H <sujith.h@gmail.com>
Tue, 8 Mar 2016 18:09:02 +0000 (18:09 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 9 Mar 2016 22:42:45 +0000 (22:42 +0000)
commitb6141c4d170885d3bdf63074afcb1e41fde0a8f0
treefeba8e7902c7222bcf3ddd35a30a2a04360797ab
parentba011470df0ea8bd89f01c0b02ec4b3969e60ce7
toaster: use force_bytes to display non-ascii project names

When user enters a non-ascii character in the project
name of toaster, the build doesn't get triggered.
Use force_bytes to fix this.

Also deal with non-ascii project names when logging the
build request in runbuilds.

[YOCTO #9071]

Signed-off-by: Sujith H <sujith.h@gmail.com>
Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
lib/toaster/bldcontrol/management/commands/runbuilds.py
lib/toaster/bldcontrol/models.py
lib/toaster/orm/models.py