diff options
author | Michael Wood <michael.g.wood@intel.com> | 2014-11-28 20:12:18 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-12-18 10:24:07 +0000 |
commit | 1605cd37dbfcd75043f57dd527e0bfc0a79e1e78 (patch) | |
tree | 505bf86cdde6993010c5a153d153b3206ab98cf2 /bitbake/lib/toaster/toastergui/static/js/projectapp.js | |
parent | 13141af70813d84b27e41d7a6e5792c748b3ae90 (diff) | |
download | poky-1605cd37dbfcd75043f57dd527e0bfc0a79e1e78.tar.gz |
bitbake: toaster: Add import layer feature.
This feature allows users to import layers from git into their current
project and associate it with the release of the current project and the
dependencies for the newly imported layer with existing layers.
It will also resolve the child dependencies of the dependencies added.
[YOCTO #6595]
(Bitbake rev: 017f5c746e894f9d87d927c848386459ea332378)
Signed-off-by: Michael Wood <michael.g.wood@intel.com>
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/static/js/projectapp.js')
-rw-r--r-- | bitbake/lib/toaster/toastergui/static/js/projectapp.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/toastergui/static/js/projectapp.js b/bitbake/lib/toaster/toastergui/static/js/projectapp.js index e9b07c7848..8e3499a94c 100644 --- a/bitbake/lib/toaster/toastergui/static/js/projectapp.js +++ b/bitbake/lib/toaster/toastergui/static/js/projectapp.js | |||
@@ -571,6 +571,12 @@ projectApp.controller('prjCtrl', function($scope, $modal, $http, $interval, $loc | |||
571 | "\">select targets</a> you want to build.", "alert-success"); | 571 | "\">select targets</a> you want to build.", "alert-success"); |
572 | }); | 572 | }); |
573 | 573 | ||
574 | _cmdExecuteWithParam("/layerimported", function (layer) { | ||
575 | $scope.displayAlert($scope.zone2alerts, | ||
576 | "You have imported <strong>" + layer + | ||
577 | "</strong> and added it to your project.", "alert-success"); | ||
578 | }); | ||
579 | |||
574 | _cmdExecuteWithParam("/targetbuild=", function (targets) { | 580 | _cmdExecuteWithParam("/targetbuild=", function (targets) { |
575 | var oldTargetName = $scope.targetName; | 581 | var oldTargetName = $scope.targetName; |
576 | $scope.targetName = targets.split(",").join(" "); | 582 | $scope.targetName = targets.split(",").join(" "); |