Skip to contentSkip to conversation

user-manual-metadata: Clarify functionality of task flag 'dirs'.

PATCH In review Martin Samuelsson 2 participants 4 messages Nov 19, 2015 – Feb 11, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 user-manual-metadata: Clarify functionality of task flag 'dirs'.

---
doc/bitbake-user-manual/bitbake-user-manual-metadata.xml | 4 +++-

1 file changed, 3 insertions(+), 1 deletion(-)
doc/bitbake-user-manual/bitbake-user-manual-metadata.xml +3 -1
index 1b9d800..1d8bb92 100644
@@ -1233,7 +1233,9 @@
                    section for more information.
                    </para></listitem>
                <listitem><para><emphasis>dirs:</emphasis>
-                    Directories that should be created before the task runs.
+                    Directories that should be created before the task runs. The
+                    last directory listed will be used as the work directory for the
+                    task.
                    </para></listitem>
                <listitem><para><emphasis>lockfiles:</emphasis>
                     Specifies one or more lockfiles to lock while the task
Signature · 1 line
2.1.4
#1 lore raw

Martin Samuelsson @ 2015-11-19 (Thursday), 13:56 (+0100)

Quoted 22 lines

---
doc/bitbake-user-manual/bitbake-user-manual-metadata.xml | 4 +++-

1 file changed, 3 insertions(+), 1 deletion(-)
doc/bitbake-user-manual/bitbake-user-manual-metadata.xml +3 -1
index 1b9d800..1d8bb92 100644
@@ -1233,7 +1233,9 @@
                    section for more information.
                    </para></listitem>
                <listitem><para><emphasis>dirs:</emphasis>
-                    Directories that should be created before the task runs.
+                    Directories that should be created before the task runs. The
+                    last directory listed will be used as the work directory for the
+                    task.
                    </para></listitem>
                <listitem><para><emphasis>lockfiles:</emphasis>
                     Specifies one or more lockfiles to lock while the task
Signature · 1 line
2.1.4

ping?

Signature · 1 line
/martinsa
#2 lore raw

---
I've seen no response to this. With this being my first attempt at making a contribution to bitbake, I would appreciate any feedback. Is something e.g. problematic with the patch?

Please note that in the current state of documentation the two flags 'dirs' and 'cleandirs' are very similar in their description. Yet the flags are not all that similar. It is easy to get (and I got) the impression that they are functionally interchangeable with exception from that 'cleandirs' creates clean directories. The fact that 'dirs' points out the work dir to be used, while 'cleandirs' does not, is quite unexpected and should be important enough to be explicitly stated.

Bonus in this patch version. Typo fix in description of cleandirs.

doc/bitbake-user-manual/bitbake-user-manual-metadata.xml | 6 ++++--

1 file changed, 4 insertions(+), 2 deletions(-)
doc/bitbake-user-manual/bitbake-user-manual-metadata.xml +4 -2
index 1b9d800..c242653 100644
@@ -1214,7 +1214,7 @@
            functionality of the task:
            <itemizedlist>
                <listitem><para><emphasis>cleandirs:</emphasis>
-                    Empty directories that should created before the task runs.
+                    Empty directories that should be created before the task runs.
                    </para></listitem>
                <listitem><para><emphasis>depends:</emphasis>
                    Controls inter-task dependencies.
@@ -1233,7 +1233,9 @@
                    section for more information.
                    </para></listitem>
                <listitem><para><emphasis>dirs:</emphasis>
-                    Directories that should be created before the task runs.
+                    Directories that should be created before the task runs. The
+                    last directory listed will be used as the work directory for the
+                    task.
                    </para></listitem>
                <listitem><para><emphasis>lockfiles:</emphasis>
                     Specifies one or more lockfiles to lock while the task
Signature · 1 line
2.1.4
#3 lore raw

Hi Martin,

Quoted 7 lines · Martin Samuelsson

---
I've seen no response to this. With this being my first attempt at making a
contribution to bitbake, I would appreciate any feedback. Is something e.g.
problematic with the patch?

v1 of this patch was merged: http://git.openembedded.org/bitbake/commit
/?id=2fbd9e4e44f6b491cccca81fd34586fcfdeea3d3

Apologies for the lack of feedback. Unfortunately bitbake and its affiliated projects (notably OE-Core) receive a high volume of patches and it's not possible to reply to every one. It's usually safe to assume that a patch which doesn't get a response is likely to be merged at some point.

Thanks for your contribution.

Joshua