diff options
| author | Alexandru DAMIAN <alexandru.damian@intel.com> | 2014-11-14 17:07:06 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-11-21 11:49:23 +0000 |
| commit | 0b6859cdf3a4b66bb8b94361681a5b6b362f93ae (patch) | |
| tree | 37bf5c650e99b023bd0e0605b63a53cc0ebd0b72 /bitbake/lib/toaster/toastergui/templates/project.html | |
| parent | 5b0616ad7d7c3734f1818a56b631a2d254271678 (diff) | |
| download | poky-0b6859cdf3a4b66bb8b94361681a5b6b362f93ae.tar.gz | |
bitbake: 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.
(Bitbake rev: 4357200aed522ad56cfd84917f877645b83b6a70)
Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/toastergui/templates/project.html')
| -rw-r--r-- | bitbake/lib/toaster/toastergui/templates/project.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/project.html b/bitbake/lib/toaster/toastergui/templates/project.html index 4e8a7e29aa..e1ef824779 100644 --- a/bitbake/lib/toaster/toastergui/templates/project.html +++ b/bitbake/lib/toaster/toastergui/templates/project.html | |||
| @@ -236,9 +236,9 @@ vim: expandtab tabstop=2 | |||
| 236 | <p><a href="{% url 'layers' %}">View all layers</a> | <a href="{% url 'importlayer' %}">Import layer</a></p> | 236 | <p><a href="{% url 'layers' %}">View all layers</a> | <a href="{% url 'importlayer' %}">Import layer</a></p> |
| 237 | <ul class="unstyled configuration-list"> | 237 | <ul class="unstyled configuration-list"> |
| 238 | <li ng-repeat="l in layers track by l.id" class="animate-repeat"> | 238 | <li ng-repeat="l in layers track by l.id" class="animate-repeat"> |
| 239 | <a href="{[l.layerdetailurl]}" target="_#" class="layer-info" data-toggle="tooltip" tooltip="{[l.branch.layersource]} | {[l.branch.name]}">{[l.name]} </a> | 239 | <a href="{[l.layerdetailurl]}" target="_#" class="layer-info" data-toggle="tooltip" tooltip="{[l.giturl]} | {[l.branch.name]}">{[l.name]}</a> |
| 240 | <i class="icon-trash" ng-click="layerDel(l.id)" tooltip="Delete"></i> | 240 | <i class="icon-trash" ng-click="layerDel(l.id)" tooltip="Delete"></i> |
| 241 | </li> | 241 | </li> |
| 242 | </ul> | 242 | </ul> |
| 243 | </div> | 243 | </div> |
| 244 | 244 | ||
