All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] user-manual-metadata: Clarify functionality of task flag 'dirs'.
@ 2015-11-19 12:56 Martin Samuelsson
  2016-01-14 13:53 ` Martin Samuelsson
  0 siblings, 1 reply; 4+ messages in thread
From: Martin Samuelsson @ 2015-11-19 12:56 UTC (permalink / raw)
  To: bitbake development advancement

Signed-off-by: Martin Samuelsson <martin.samuelsson@axis.com>
---
 doc/bitbake-user-manual/bitbake-user-manual-metadata.xml | 4 +++-
 1 file changed, 3 insertions(+), 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 1b9d800..1d8bb92 100644
--- a/doc/bitbake-user-manual/bitbake-user-manual-metadata.xml
+++ b/doc/bitbake-user-manual/bitbake-user-manual-metadata.xml
@@ -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
-- 
2.1.4



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

* Re: [PATCH] user-manual-metadata: Clarify functionality of task flag 'dirs'.
  2015-11-19 12:56 [PATCH] user-manual-metadata: Clarify functionality of task flag 'dirs' Martin Samuelsson
@ 2016-01-14 13:53 ` Martin Samuelsson
  2016-01-27 12:24   ` [PATCH v2] " Martin Samuelsson
  0 siblings, 1 reply; 4+ messages in thread
From: Martin Samuelsson @ 2016-01-14 13:53 UTC (permalink / raw)
  To: bitbake development advancement

Martin Samuelsson @ 2015-11-19 (Thursday), 13:56 (+0100)
>Signed-off-by: Martin Samuelsson <martin.samuelsson@axis.com>
>---
> doc/bitbake-user-manual/bitbake-user-manual-metadata.xml | 4 +++-
> 1 file changed, 3 insertions(+), 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 1b9d800..1d8bb92 100644
>--- a/doc/bitbake-user-manual/bitbake-user-manual-metadata.xml
>+++ b/doc/bitbake-user-manual/bitbake-user-manual-metadata.xml
>@@ -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
>-- 
>2.1.4

ping?
-- 
/martinsa


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

* Re: [PATCH v2] user-manual-metadata: Clarify functionality of task flag 'dirs'.
  2016-01-14 13:53 ` Martin Samuelsson
@ 2016-01-27 12:24   ` Martin Samuelsson
  2016-02-11 16:59     ` Joshua G Lock
  0 siblings, 1 reply; 4+ messages in thread
From: Martin Samuelsson @ 2016-01-27 12:24 UTC (permalink / raw)
  To: bitbake development advancement

Signed-off-by: Martin Samuelsson <martin.samuelsson@axis.com>
---
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(-)

diff --git a/doc/bitbake-user-manual/bitbake-user-manual-metadata.xml b/doc/bitbake-user-manual/bitbake-user-manual-metadata.xml
index 1b9d800..c242653 100644
--- a/doc/bitbake-user-manual/bitbake-user-manual-metadata.xml
+++ b/doc/bitbake-user-manual/bitbake-user-manual-metadata.xml
@@ -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
-- 
2.1.4



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

* Re: [PATCH v2] user-manual-metadata: Clarify functionality of task flag 'dirs'.
  2016-01-27 12:24   ` [PATCH v2] " Martin Samuelsson
@ 2016-02-11 16:59     ` Joshua G Lock
  0 siblings, 0 replies; 4+ messages in thread
From: Joshua G Lock @ 2016-02-11 16:59 UTC (permalink / raw)
  To: Martin Samuelsson, bitbake development advancement

Hi Martin,

On Wed, 2016-01-27 at 13:24 +0100, Martin Samuelsson wrote:
> Signed-off-by: Martin Samuelsson <martin.samuelsson@axis.com>
> ---
> 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


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

end of thread, other threads:[~2016-02-11 16:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-19 12:56 [PATCH] user-manual-metadata: Clarify functionality of task flag 'dirs' Martin Samuelsson
2016-01-14 13:53 ` Martin Samuelsson
2016-01-27 12:24   ` [PATCH v2] " Martin Samuelsson
2016-02-11 16:59     ` Joshua G Lock

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.