]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
toaster: Amend regex for MySQL database URLs
authorElliot Smith <elliot.smith@intel.com>
Thu, 10 Dec 2015 03:56:37 +0000 (19:56 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 14 Dec 2015 23:12:44 +0000 (23:12 +0000)
commit89386aab888f806d5aa4a8083c06566e48d9445b
tree94627f6461b913a7bb874cd92a315d0a81cc718f
parent7bca51277314f7c0b6ee0e0d470327dfd60d37fe
toaster: Amend regex for MySQL database URLs

The database URL detection doesn't admit a MySQL URL without a port.

As this is a common case (e.g. you would set the HOST to a mysql.sock
path if pointing at a local MySQL server, with no port setting),
amend the regex so it will correctly recognise paths, as well
as HOST:PORT URLs.

Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Signed-off-by: brian avery <avery.brian@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
lib/toaster/toastermain/settings.py