]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
toaster: implement API to get full list of deps
authorEd Bartosh <ed.bartosh@linux.intel.com>
Fri, 2 Oct 2015 18:05:12 +0000 (11:05 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 12 Oct 2015 13:37:49 +0000 (14:37 +0100)
commit7d853a3054a9ae3d18eb6f5bc13ba27d2795c31a
treeb8a4c5a2d76341a9b44c18f52f5b2b29bf622cd5
parent9c40b3b6377ab8f5d6ac9b8e00585b71de00bf74
toaster: implement API to get full list of deps

Implemented Layer_Version.get_alldeps API to recursively get
full list of dependencies for the layer. Dependencies that are
already in the project are filtered out from the result.
Result list of Layer_Version objects is sorted by layer name
for UI to look consistent.

This API is going to be used to show amount and list of
dependencies for the layer in the list of compatible layers
for the project.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: brian avery <avery.brian@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
lib/toaster/orm/models.py