All of lore.kernel.org
 help / color / mirror / Atom feed
* [review-request][PATCH] bitbake: toastergui: Consider task name when restarting a build
@ 2015-05-05 12:06 Ed Bartosh
  2015-05-07 10:33 ` Damian, Alexandru
  0 siblings, 1 reply; 2+ messages in thread
From: Ed Bartosh @ 2015-05-05 12:06 UTC (permalink / raw)
  To: toaster

'Run again' button now restarts the build using target:task if task
was specified for the build.

[YOCTO #7442]

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
---
 bitbake/lib/toaster/toastergui/static/js/projectapp.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bitbake/lib/toaster/toastergui/static/js/projectapp.js b/bitbake/lib/toaster/toastergui/static/js/projectapp.js
index d52ba73..3625958 100644
--- a/bitbake/lib/toaster/toastergui/static/js/projectapp.js
+++ b/bitbake/lib/toaster/toastergui/static/js/projectapp.js
@@ -357,7 +357,7 @@ projectApp.controller('prjCtrl', function($scope, $modal, $http, $interval, $loc
     };
 
     $scope.buildExistingTarget = function(targets) {
-         $scope.buildTargetList(targets.map(function(v){return v.target;}));
+         $scope.buildTargetList(targets.map(function(v){return ((v.task) ? v.target + ":" + v.task : v.target);}));
     };
 
     $scope.buildTargetList = function(targetlist) {
-- 
2.1.4



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [review-request][PATCH] bitbake: toastergui: Consider task name when restarting a build
  2015-05-05 12:06 [review-request][PATCH] bitbake: toastergui: Consider task name when restarting a build Ed Bartosh
@ 2015-05-07 10:33 ` Damian, Alexandru
  0 siblings, 0 replies; 2+ messages in thread
From: Damian, Alexandru @ 2015-05-07 10:33 UTC (permalink / raw)
  To: Ed Bartosh; +Cc: toaster@yoctoproject.org

[-- Attachment #1: Type: text/plain, Size: 1416 bytes --]

Taken for submission,

Thank you,
Alex

On Tue, May 5, 2015 at 1:06 PM, Ed Bartosh <ed.bartosh@linux.intel.com>
wrote:

> 'Run again' button now restarts the build using target:task if task
> was specified for the build.
>
> [YOCTO #7442]
>
> Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
> ---
>  bitbake/lib/toaster/toastergui/static/js/projectapp.js | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/bitbake/lib/toaster/toastergui/static/js/projectapp.js
> b/bitbake/lib/toaster/toastergui/static/js/projectapp.js
> index d52ba73..3625958 100644
> --- a/bitbake/lib/toaster/toastergui/static/js/projectapp.js
> +++ b/bitbake/lib/toaster/toastergui/static/js/projectapp.js
> @@ -357,7 +357,7 @@ projectApp.controller('prjCtrl', function($scope,
> $modal, $http, $interval, $loc
>      };
>
>      $scope.buildExistingTarget = function(targets) {
> -         $scope.buildTargetList(targets.map(function(v){return
> v.target;}));
> +         $scope.buildTargetList(targets.map(function(v){return ((v.task)
> ? v.target + ":" + v.task : v.target);}));
>      };
>
>      $scope.buildTargetList = function(targetlist) {
> --
> 2.1.4
>
> --
> _______________________________________________
> toaster mailing list
> toaster@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/toaster
>



-- 
Alex Damian
Yocto Project
SSG / OTC

[-- Attachment #2: Type: text/html, Size: 2439 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-05-07 10:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-05 12:06 [review-request][PATCH] bitbake: toastergui: Consider task name when restarting a build Ed Bartosh
2015-05-07 10:33 ` Damian, Alexandru

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.