All of lore.kernel.org
 help / color / mirror / Atom feed
* [bitbake][dunfell][1.46][PATCH 0/6] Patch review
@ 2020-06-02  0:39 Steve Sakoman
  2020-06-02  0:39 ` [bitbake][dunfell][1.46][PATCH 1/6] docs: delete reference to obsolete recipe-depends.dot Steve Sakoman
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Steve Sakoman @ 2020-06-02  0:39 UTC (permalink / raw)
  To: bitbake-devel

Please review this set of patches for the upcoming 3.1.1 release and have comments back
by end of day Wednesday.

The following changes since commit b94dec477a8d48ebceec91952ba290798c56c1f5:

  bitbake.conf: Drop unneeded variables from bitbake.conf (2020-04-24 14:31:30 +0100)

are available in the Git repository at:

  git://git.openembedded.org/bitbake-contrib stable/1.46-nut
  http://cgit.openembedded.org/bitbake-contrib/log/?h=stable/1.46-nut

Jacob Kroon (2):
  doc: Clarify how task dependencies relate to RDEPENDS
  doc: More explanation to tasks that recursively depend on themselves

Kai Kang (1):
  bitbake-user-manual-metadata.xml: fix a minor error

Robert P. J. Day (2):
  docs: delete reference to obsolete recipe-depends.dot
  user manual: properly tag content as <replaceable>

Tim Orling (1):
  toaster-requirements.txt: require Django 2.2

 .../bitbake-user-manual-execution.xml         |  4 ++--
 .../bitbake-user-manual-intro.xml             |  7 +------
 .../bitbake-user-manual-metadata.xml          | 19 ++++++++++++-------
 toaster-requirements.txt                      |  2 +-
 4 files changed, 16 insertions(+), 16 deletions(-)

-- 
2.17.1


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

* [bitbake][dunfell][1.46][PATCH 1/6] docs: delete reference to obsolete recipe-depends.dot
  2020-06-02  0:39 [bitbake][dunfell][1.46][PATCH 0/6] Patch review Steve Sakoman
@ 2020-06-02  0:39 ` Steve Sakoman
  2020-06-02  0:39 ` [bitbake][dunfell][1.46][PATCH 2/6] user manual: properly tag content as <replaceable> Steve Sakoman
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: Steve Sakoman @ 2020-06-02  0:39 UTC (permalink / raw)
  To: bitbake-devel

From: "Robert P. J. Day" <rpjday@crashcourse.ca>

Given that generation of recipe-depends.dot was removed:

  commit 4c484cc01e3eee7ab2ab0359fd680b4dbd31dc30
  Author: Chen Qi <Qi.Chen@windriver.com>
  Date:   Thu Aug 22 15:52:51 2019 +0800

      cooker.py: remove generation of recipe-depends.dot

      The information of recipe-depends.dot is misleading.

delete mention of it from the user manual.

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2effbb6e10b07dc12e4ecdf449ca29fc20968c59)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
---
 doc/bitbake-user-manual/bitbake-user-manual-intro.xml | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/doc/bitbake-user-manual/bitbake-user-manual-intro.xml b/doc/bitbake-user-manual/bitbake-user-manual-intro.xml
index f5526c05..995c2fa7 100644
--- a/doc/bitbake-user-manual/bitbake-user-manual-intro.xml
+++ b/doc/bitbake-user-manual/bitbake-user-manual-intro.xml
@@ -694,14 +694,9 @@
                 </para>
 
                 <para>
-                    When you generate a dependency graph, BitBake writes three files
+                    When you generate a dependency graph, BitBake writes two files
                     to the current working directory:
                     <itemizedlist>
-                        <listitem><para>
-                            <emphasis><filename>recipe-depends.dot</filename>:</emphasis>
-                            Shows dependencies between recipes (i.e. a collapsed version of
-                            <filename>task-depends.dot</filename>).
-                            </para></listitem>
                         <listitem><para>
                             <emphasis><filename>task-depends.dot</filename>:</emphasis>
                             Shows dependencies between tasks.
-- 
2.17.1


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

* [bitbake][dunfell][1.46][PATCH 2/6] user manual: properly tag content as <replaceable>
  2020-06-02  0:39 [bitbake][dunfell][1.46][PATCH 0/6] Patch review Steve Sakoman
  2020-06-02  0:39 ` [bitbake][dunfell][1.46][PATCH 1/6] docs: delete reference to obsolete recipe-depends.dot Steve Sakoman
@ 2020-06-02  0:39 ` Steve Sakoman
  2020-06-02  0:39 ` [bitbake][dunfell][1.46][PATCH 3/6] doc: Clarify how task dependencies relate to RDEPENDS Steve Sakoman
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: Steve Sakoman @ 2020-06-02  0:39 UTC (permalink / raw)
  To: bitbake-devel

From: "Robert P. J. Day" <rpjday@crashcourse.ca>

Tag a couple fields as replaceable to be consistent with rest of
manual.

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 647c13d4ae746a1bb9bd76ff318477dadb4d292f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
---
 doc/bitbake-user-manual/bitbake-user-manual-execution.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/doc/bitbake-user-manual/bitbake-user-manual-execution.xml b/doc/bitbake-user-manual/bitbake-user-manual-execution.xml
index 6c5234ed..e4251dff 100644
--- a/doc/bitbake-user-manual/bitbake-user-manual-execution.xml
+++ b/doc/bitbake-user-manual/bitbake-user-manual-execution.xml
@@ -618,12 +618,12 @@
         <para>
             Tasks can be either a shell task or a Python task.
             For shell tasks, BitBake writes a shell script to
-            <filename>${</filename><link linkend='var-bb-T'><filename>T</filename></link><filename>}/run.do_taskname.pid</filename>
+            <filename>${</filename><link linkend='var-bb-T'><filename>T</filename></link><filename>}/run.do_taskname.<replaceable>pid</replaceable></filename>
             and then executes the script.
             The generated shell script contains all the exported variables,
             and the shell functions with all variables expanded.
             Output from the shell script goes to the file
-            <filename>${T}/log.do_taskname.pid</filename>.
+            <filename>${T}/log.do_taskname.<replaceable>pid</replaceable></filename>.
             Looking at the expanded shell functions in the run file and
             the output in the log files is a useful debugging technique.
         </para>
-- 
2.17.1


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

* [bitbake][dunfell][1.46][PATCH 3/6] doc: Clarify how task dependencies relate to RDEPENDS
  2020-06-02  0:39 [bitbake][dunfell][1.46][PATCH 0/6] Patch review Steve Sakoman
  2020-06-02  0:39 ` [bitbake][dunfell][1.46][PATCH 1/6] docs: delete reference to obsolete recipe-depends.dot Steve Sakoman
  2020-06-02  0:39 ` [bitbake][dunfell][1.46][PATCH 2/6] user manual: properly tag content as <replaceable> Steve Sakoman
@ 2020-06-02  0:39 ` Steve Sakoman
  2020-06-02  0:39 ` [bitbake][dunfell][1.46][PATCH 4/6] doc: More explanation to tasks that recursively depend on themselves Steve Sakoman
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: Steve Sakoman @ 2020-06-02  0:39 UTC (permalink / raw)
  To: bitbake-devel

From: Jacob Kroon <jacob.kroon@gmail.com>

Clarify that BitBake knows how to map entries defined in the runtime
dependency namespace back to build-time dependencies (recipes) in
which tasks are defined.

Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit caf422435ad64aacbdab8a94da3115599dd0938b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
---
 doc/bitbake-user-manual/bitbake-user-manual-metadata.xml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/doc/bitbake-user-manual/bitbake-user-manual-metadata.xml b/doc/bitbake-user-manual/bitbake-user-manual-metadata.xml
index 10b58835..95a8b95b 100644
--- a/doc/bitbake-user-manual/bitbake-user-manual-metadata.xml
+++ b/doc/bitbake-user-manual/bitbake-user-manual-metadata.xml
@@ -2526,6 +2526,9 @@
                 In the previous example, the <filename>do_packagedata</filename>
                 task of each item in <filename>RDEPENDS</filename> must have
                 completed before <filename>do_package_qa</filename> can execute.
+                Although <filename>RDEPENDS</filename> contains entries from the
+                runtime dependency namespace, BitBake knows how to map them back
+                to the build-time dependency namespace, in which the tasks are defined.
             </para>
         </section>
 
-- 
2.17.1


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

* [bitbake][dunfell][1.46][PATCH 4/6] doc: More explanation to tasks that recursively depend on themselves
  2020-06-02  0:39 [bitbake][dunfell][1.46][PATCH 0/6] Patch review Steve Sakoman
                   ` (2 preceding siblings ...)
  2020-06-02  0:39 ` [bitbake][dunfell][1.46][PATCH 3/6] doc: Clarify how task dependencies relate to RDEPENDS Steve Sakoman
@ 2020-06-02  0:39 ` Steve Sakoman
  2020-06-02  0:39 ` [bitbake][dunfell][1.46][PATCH 5/6] bitbake-user-manual-metadata.xml: fix a minor error Steve Sakoman
  2020-06-02  0:39 ` [bitbake][dunfell][1.46][PATCH 6/6] toaster-requirements.txt: require Django 2.2 Steve Sakoman
  5 siblings, 0 replies; 7+ messages in thread
From: Steve Sakoman @ 2020-06-02  0:39 UTC (permalink / raw)
  To: bitbake-devel

From: Jacob Kroon <jacob.kroon@gmail.com>

Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c92a266c8e452833f2a590721aa1c2bd6fbeb2e0)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
---
 .../bitbake-user-manual-metadata.xml               | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

diff --git a/doc/bitbake-user-manual/bitbake-user-manual-metadata.xml b/doc/bitbake-user-manual/bitbake-user-manual-metadata.xml
index 95a8b95b..069a0ec8 100644
--- a/doc/bitbake-user-manual/bitbake-user-manual-metadata.xml
+++ b/doc/bitbake-user-manual/bitbake-user-manual-metadata.xml
@@ -2565,15 +2565,17 @@
             </para>
 
             <para>
-                You might want to not only have BitBake look for
-                dependencies of those tasks, but also have BitBake look
-                for build-time and runtime dependencies of the dependent
-                tasks as well.
-                If that is the case, you need to reference the task name
-                itself in the task list:
+                BitBake allows a task to recursively depend on itself by
+                referencing itself in the task list:
                 <literallayout class='monospaced'>
      do_a[recrdeptask] = "do_a do_b"
                 </literallayout>
+                In the same way as before, this means that the <filename>do_a</filename>
+                and <filename>do_b</filename> tasks of the current recipe and all
+                recipes reachable (by way of dependencies) from the recipe
+                must run before the <filename>do_a</filename> task can run. In this
+                case BitBake will ignore the current recipe's <filename>do_a</filename>
+                task circular dependency on itself.
             </para>
         </section>
 
-- 
2.17.1


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

* [bitbake][dunfell][1.46][PATCH 5/6] bitbake-user-manual-metadata.xml: fix a minor error
  2020-06-02  0:39 [bitbake][dunfell][1.46][PATCH 0/6] Patch review Steve Sakoman
                   ` (3 preceding siblings ...)
  2020-06-02  0:39 ` [bitbake][dunfell][1.46][PATCH 4/6] doc: More explanation to tasks that recursively depend on themselves Steve Sakoman
@ 2020-06-02  0:39 ` Steve Sakoman
  2020-06-02  0:39 ` [bitbake][dunfell][1.46][PATCH 6/6] toaster-requirements.txt: require Django 2.2 Steve Sakoman
  5 siblings, 0 replies; 7+ messages in thread
From: Steve Sakoman @ 2020-06-02  0:39 UTC (permalink / raw)
  To: bitbake-devel

From: Kai Kang <kai.kang@windriver.com>

In the '_remove' example in bitbake-user-manual-metadata.xml, there is
no 'jkl' in the original value of FOO2. So remove it from result.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 06b5cf0ab6c6e518ac780d081fab5546334c5c7d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
---
 doc/bitbake-user-manual/bitbake-user-manual-metadata.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/bitbake-user-manual/bitbake-user-manual-metadata.xml b/doc/bitbake-user-manual/bitbake-user-manual-metadata.xml
index 069a0ec8..0ca53216 100644
--- a/doc/bitbake-user-manual/bitbake-user-manual-metadata.xml
+++ b/doc/bitbake-user-manual/bitbake-user-manual-metadata.xml
@@ -432,7 +432,7 @@
                 The variable <filename>FOO</filename> becomes
                 "&nbsp;&nbsp;789&nbsp;123456&nbsp;&nbsp;&nbsp;&nbsp;"
                 and <filename>FOO2</filename> becomes
-                "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;jkl&nbsp;&nbsp;abcdef&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;".
+                "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;abcdef&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;".
             </para>
 
             <para>
-- 
2.17.1


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

* [bitbake][dunfell][1.46][PATCH 6/6] toaster-requirements.txt: require Django 2.2
  2020-06-02  0:39 [bitbake][dunfell][1.46][PATCH 0/6] Patch review Steve Sakoman
                   ` (4 preceding siblings ...)
  2020-06-02  0:39 ` [bitbake][dunfell][1.46][PATCH 5/6] bitbake-user-manual-metadata.xml: fix a minor error Steve Sakoman
@ 2020-06-02  0:39 ` Steve Sakoman
  5 siblings, 0 replies; 7+ messages in thread
From: Steve Sakoman @ 2020-06-02  0:39 UTC (permalink / raw)
  To: bitbake-devel

From: Tim Orling <timothy.t.orling@linux.intel.com>

In commit 9730f95686b2ac72cf1fa513c555f7c7787e2667
Django 2.2 was enabled.

Django 1.11 was EOL on April 1, 2020

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ee15e78c6f9b59c221b1e43973ee4db20c5b443b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
---
 toaster-requirements.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/toaster-requirements.txt b/toaster-requirements.txt
index a682b085..735b6145 100644
--- a/toaster-requirements.txt
+++ b/toaster-requirements.txt
@@ -1,3 +1,3 @@
-Django>1.8,<1.12
+Django>2.2,<2.3
 beautifulsoup4>=4.4.0
 pytz
-- 
2.17.1


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

end of thread, other threads:[~2020-06-02  0:40 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-02  0:39 [bitbake][dunfell][1.46][PATCH 0/6] Patch review Steve Sakoman
2020-06-02  0:39 ` [bitbake][dunfell][1.46][PATCH 1/6] docs: delete reference to obsolete recipe-depends.dot Steve Sakoman
2020-06-02  0:39 ` [bitbake][dunfell][1.46][PATCH 2/6] user manual: properly tag content as <replaceable> Steve Sakoman
2020-06-02  0:39 ` [bitbake][dunfell][1.46][PATCH 3/6] doc: Clarify how task dependencies relate to RDEPENDS Steve Sakoman
2020-06-02  0:39 ` [bitbake][dunfell][1.46][PATCH 4/6] doc: More explanation to tasks that recursively depend on themselves Steve Sakoman
2020-06-02  0:39 ` [bitbake][dunfell][1.46][PATCH 5/6] bitbake-user-manual-metadata.xml: fix a minor error Steve Sakoman
2020-06-02  0:39 ` [bitbake][dunfell][1.46][PATCH 6/6] toaster-requirements.txt: require Django 2.2 Steve Sakoman

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.