All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Toaster patches
@ 2015-08-12 10:32 Michael Wood
  2015-08-12 10:33 ` [PATCH 1/2] Fix typo in set up script output Michael Wood
  2015-08-17  7:49 ` [PATCH 0/2] Toaster patches Richard Purdie
  0 siblings, 2 replies; 4+ messages in thread
From: Michael Wood @ 2015-08-12 10:32 UTC (permalink / raw)
  To: bitbake-devel; +Cc: Belen Barros Pena

Reviewed by Michael Wood

The following changes since commit a8b723498c9a7106210db140452886894494b4d6:

  bitbake: cooker: Resolve file monitoring race issues when using memres bitbake (2015-08-03 07:36:25 +0100)

are available in the git repository at:

  git://git.yoctoproject.org/poky-contrib michaelw/submit/bbarrosp/misc
  http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=michaelw/submit/bbarrosp/misc

Alexandru DAMIAN (1):
  bitbake: toaster: fix invalid fields in the package details page

Belen Barros Pena (1):
  Fix typo in set up script output

 lib/toaster/bldcontrol/management/commands/checksettings.py           | 2 +-
 .../toastergui/templates/package_included_reverse_dependencies.html   | 2 +-
 lib/toaster/toastergui/templates/tablesort.html                       | 4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)

-- 
2.1.4



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

* [PATCH 1/2] Fix typo in set up script output
  2015-08-12 10:32 [PATCH 0/2] Toaster patches Michael Wood
@ 2015-08-12 10:33 ` Michael Wood
  2015-08-12 10:33   ` [PATCH 2/2] bitbake: toaster: fix invalid fields in the package details page Michael Wood
  2015-08-17  7:49 ` [PATCH 0/2] Toaster patches Richard Purdie
  1 sibling, 1 reply; 4+ messages in thread
From: Michael Wood @ 2015-08-12 10:33 UTC (permalink / raw)
  To: bitbake-devel

From: Belen Barros Pena <belen.barros.pena@intel.com>

Removing an spurious 'it' when setting the
build directory. Thanks to Scott Rifenbark for
finding the typo!

Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com>
Signed-off-by: Michael Wood <michael.g.wood@intel.com>
---
 lib/toaster/bldcontrol/management/commands/checksettings.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/toaster/bldcontrol/management/commands/checksettings.py b/lib/toaster/bldcontrol/management/commands/checksettings.py
index 3002e4c..9a508b4 100644
--- a/lib/toaster/bldcontrol/management/commands/checksettings.py
+++ b/lib/toaster/bldcontrol/management/commands/checksettings.py
@@ -133,7 +133,7 @@ class Command(NoArgsCommand):
                 def _update_builddir():
                     suggesteddir = self._get_suggested_builddir(be)
                     if len(suggesteddir) > 0:
-                        be.builddir = raw_input("Toaster needs to know where it your build directory is located.\n The build directory is where all the artifacts created by your builds will be stored. Toaster suggests \"%s\".\n Press Enter to select \"%s\" or type the full path to a different directory: " % (suggesteddir, suggesteddir))
+                        be.builddir = raw_input("Toaster needs to know where your build directory is located.\n The build directory is where all the artifacts created by your builds will be stored. Toaster suggests \"%s\".\n Press Enter to select \"%s\" or type the full path to a different directory: " % (suggesteddir, suggesteddir))
                     else:
                         be.builddir = raw_input("Toaster needs to know where is your build directory.\n The build directory is where all the artifacts created by your builds will be stored. Type the full path to the directory (for example: \" %s/build\")" % os.environ.get('HOME','/tmp/'))
                     if len(be.builddir) == 0 and len(suggesteddir) > 0:
-- 
2.1.4



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

* [PATCH 2/2] bitbake: toaster: fix invalid fields in the package details page
  2015-08-12 10:33 ` [PATCH 1/2] Fix typo in set up script output Michael Wood
@ 2015-08-12 10:33   ` Michael Wood
  0 siblings, 0 replies; 4+ messages in thread
From: Michael Wood @ 2015-08-12 10:33 UTC (permalink / raw)
  To: bitbake-devel; +Cc: Belen Barros Pena

From: Alexandru DAMIAN <alexandru.damian@intel.com>

This patch safeguards referencing invalid fields in the
project details template, and fixes errors thrown in the
page.

[YOCTO #7992]

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Belen Barros Pena <belen.barros.pena@linux.intel.com>
---
 .../toastergui/templates/package_included_reverse_dependencies.html   | 2 +-
 lib/toaster/toastergui/templates/tablesort.html                       | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/lib/toaster/toastergui/templates/package_included_reverse_dependencies.html b/lib/toaster/toastergui/templates/package_included_reverse_dependencies.html
index 4ba472f..5cc8b47 100644
--- a/lib/toaster/toastergui/templates/package_included_reverse_dependencies.html
+++ b/lib/toaster/toastergui/templates/package_included_reverse_dependencies.html
@@ -23,7 +23,7 @@
             {% include "tablesort.html" %}
                 <tbody>
 					{% for reverse_dep in objects %}
-                        <tr {{reverse_dep.size|format_vpackage_rowclass}} >
+                        <tr {% if reverse_dep.size %}{{reverse_dep.size|format_vpackage_rowclass}}{%endif%} >
                         {% if reverse_dep.size != -1 %}
                             <td>
                                 <a href="{% url 'package_included_detail' build.id target.id reverse_dep.package_id %}">
diff --git a/lib/toaster/toastergui/templates/tablesort.html b/lib/toaster/toastergui/templates/tablesort.html
index bf311b6..3624742 100644
--- a/lib/toaster/toastergui/templates/tablesort.html
+++ b/lib/toaster/toastergui/templates/tablesort.html
@@ -5,7 +5,7 @@
     <thead>
         <tr>
             {% for tc in tablecols %}
-            <th class="{{tc.dclass}} {{tc.clclass}}">
+            <th class="{%if tc.dclass%}{{tc.dclass}}{%endif%} {%if tc.clclass%}{{tc.clclass}}{%endif%}">
                 {%if tc.qhelp%}<i class="icon-question-sign get-help" title="{{tc.qhelp}}"></i>{%endif%}
                 {{tc.name}}
             </th>
@@ -18,7 +18,7 @@
         <!-- Table header row; generated from "tablecols" entry in the context dict -->
         <tr>
             {% for tc in tablecols %}
-            <th class="{{tc.dclass}} {{tc.clclass}}">
+            <th class="{%if tc.dclass%}{{tc.dclass}}{%endif%} {%if tc.clclass%}{{tc.clclass}}{%endif%}">
                 {%if tc.qhelp%}<i class="icon-question-sign get-help" title="{{tc.qhelp}}"></i>{%endif%}
                 {%if tc.orderfield%}
                     <a {%if tc.ordericon%} class="sorted" {%endif%}
-- 
2.1.4



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

* Re: [PATCH 0/2] Toaster patches
  2015-08-12 10:32 [PATCH 0/2] Toaster patches Michael Wood
  2015-08-12 10:33 ` [PATCH 1/2] Fix typo in set up script output Michael Wood
@ 2015-08-17  7:49 ` Richard Purdie
  1 sibling, 0 replies; 4+ messages in thread
From: Richard Purdie @ 2015-08-17  7:49 UTC (permalink / raw)
  To: Michael Wood; +Cc: bitbake-devel, Belen Barros Pena

On Wed, 2015-08-12 at 11:32 +0100, Michael Wood wrote:
> Reviewed by Michael Wood
> 
> The following changes since commit a8b723498c9a7106210db140452886894494b4d6:
> 
>   bitbake: cooker: Resolve file monitoring race issues when using memres bitbake (2015-08-03 07:36:25 +0100)
> 
> are available in the git repository at:
> 
>   git://git.yoctoproject.org/poky-contrib michaelw/submit/bbarrosp/misc
>   http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=michaelw/submit/bbarrosp/misc
> 
> Alexandru DAMIAN (1):
>   bitbake: toaster: fix invalid fields in the package details page
> 
> Belen Barros Pena (1):
>   Fix typo in set up script output

I merged these however I would note that the prefixes in the shortlogs
are becoming a little inconsistent with the recent toaster patches. I
added in a toaster: and removed a bitbake: in this case.

Cheers,

Richard



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

end of thread, other threads:[~2015-08-17  7:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-12 10:32 [PATCH 0/2] Toaster patches Michael Wood
2015-08-12 10:33 ` [PATCH 1/2] Fix typo in set up script output Michael Wood
2015-08-12 10:33   ` [PATCH 2/2] bitbake: toaster: fix invalid fields in the package details page Michael Wood
2015-08-17  7:49 ` [PATCH 0/2] Toaster patches Richard Purdie

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.