]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
toaster: Remove DATABASE_URL being passed around as an environment var
authorMichael Wood <michael.g.wood@intel.com>
Thu, 19 May 2016 12:59:28 +0000 (13:59 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 20 May 2016 09:07:09 +0000 (10:07 +0100)
commit973c740404ca6a09feea250d3433075995067fe0
tree9c8af3b3ce1753454082b144031fbb254f60badc
parent62c74eb38f44d98b40427edf56e40785b076a938
toaster: Remove DATABASE_URL being passed around as an environment var

We don't need to pass the DATABASE_URL around and read it back if we
setup the django framework in the correct way.
We make the default sqlite database path a full path so that the
database isn't being assumed to be in CWD.

Also add some more useful comments on the database settings.

This is preparation work to migrate the build tests and be able to
trigger builds on differently configured databases.

Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bin/toaster
lib/bb/ui/buildinfohelper.py
lib/toaster/toastermain/management/commands/get-dburl.py [deleted file]
lib/toaster/toastermain/settings.py