<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>10071</bug_id>
          
          <creation_ts>2016-08-02 22:51:04 +0000</creation_ts>
          <short_desc>Suggested clarifications to [dirs] and [cleandirs]</short_desc>
          <delta_ts>2016-08-04 18:20:05 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>9</classification_id>
          <classification>Documentation</classification>
          <product>BitBake User Manual</product>
          <component>bitbake-manual</component>
          <version>2.2</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>04 August 2016: RESOLVED</status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.2 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>ulfalizer</reporter>
          <assigned_to name="Scott Rifenbark">srifenbark</assigned_to>
          <cc>sgw</cc>
    
    <cc>srifenbark</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Done (doc changes complete)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>64817</commentid>
    <comment_count>0</comment_count>
    <who name="">ulfalizer</who>
    <bug_when>2016-08-02 22:51:04 +0000</bug_when>
    <thetext>The &apos;dirs&apos; and &apos;cleandirs&apos; descriptions in 3.6. Variable Flags could be rewritten as follows to e.g. make it clearer how they deal with already existing directories:

  cleandirs: Empty directories that should be created before the task runs.
    Directories that already exist are removed and recreated to empty them.
  
  dirs: Directories that should be created before the task runs. Directories that
    already exist are left as is. The last directory listed is used as the
    current working directory for the task.


I&apos;d also change all the flags to include [] to make them easier to search for, e.g. &quot;[dirs]: Empty directories...&quot;, but that&apos;s probably more controversial. :)

Cheers,
Ulf</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64818</commentid>
    <comment_count>1</comment_count>
    <who name="">ulfalizer</who>
    <bug_when>2016-08-02 22:51:36 +0000</bug_when>
    <thetext>This is the last documentation patch in a while by the way. :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64862</commentid>
    <comment_count>2</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2016-08-04 00:46:50 +0000</bug_when>
    <thetext>Ulf, 

I made the text changes. See http://www.yoctoproject.org/docs/2.2/bitbake-user-manual/bitbake-user-manual.html#variable-flags.

Regarding the other suggestion.. I searched through the manual for anything related to &quot;flags&quot; and discovered some inconsistencies in how I present them in context.  Most of the time, I use a normal font and surround the flag with double quotes (e.g. The &quot;deptask&quot; varflag for tasks ...).  Other times, I format them in code text and have them in square brackets (e.g. ... use the [eventmask] flag for ...).  I even found a spot where I refer to two example flags in text where I format them as code but have neither quotes or brackets.  

I think I am going to scrub the manual and format them all in code style text and use the square brackets.  Done.

Scott</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64863</commentid>
    <comment_count>3</comment_count>
    <who name="">ulfalizer</who>
    <bug_when>2016-08-04 01:22:51 +0000</bug_when>
    <thetext>Sounds reasonable to me. Thanks for the changes!

Cheers,
Ulf</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64896</commentid>
    <comment_count>4</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2016-08-04 18:20:05 +0000</bug_when>
    <thetext>Setting to RESOLVED and putting the doc flag to &quot;done.&quot;

Scott</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>