]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
toastergui: layer name correlation
authorAlexandru DAMIAN <alexandru.damian@intel.com>
Fri, 14 Nov 2014 17:07:06 +0000 (17:07 +0000)
committerAlexandru DAMIAN <alexandru.damian@intel.com>
Thu, 20 Nov 2014 15:43:57 +0000 (15:43 +0000)
commit4357200aed522ad56cfd84917f877645b83b6a70
treeb4f8f9bc554eb94799b5767a65f6efe9d6851de2
parent3f614295d688c33b690f63ff7eb28e6988707919
toastergui: layer name correlation

This patch modifies how layers are identified and matched.

Layers were primarely organized by the source of layer information,
and Releases were separated by both layer git branches and originating
source of layer information. This setup prevented mixing layers from
different sources for a certain release, which didn't match the way
people use Yocto Project / bitbake.

This patch brings name-based indentification, where layers with the
same name are assumed to be equivalent, in the sense of being able
to substitute one another. To facilitate this identification to
humans, layers are differentiated by GIT URI instead of layer sources,
which was a rather arbitrary abstraction.

Additional changes include modification to models in order accomodate
for the new data structure, and to config file loading to match
the new toasterconf.json layout.

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
bin/toaster
lib/toaster/bldcontrol/management/commands/checksettings.py
lib/toaster/bldcontrol/management/commands/loadconf.py
lib/toaster/orm/migrations/0017_auto__del_toastersettingdefaultlayer__add_releaselayersourcepriority__.py [new file with mode: 0644]
lib/toaster/orm/models.py
lib/toaster/orm/tests.py
lib/toaster/toastergui/static/js/projectapp.js
lib/toaster/toastergui/templates/layers.html
lib/toaster/toastergui/templates/project.html
lib/toaster/toastergui/views.py