All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] doc: bitbake-user-manual: ref-variables: order alphabetically the glossary sources
@ 2021-07-26 15:35 Quentin Schulz
  2021-07-26 15:35 ` [PATCH 2/2] doc: bitbake-user-manual: ref-variables: force glossary output to be alphabetically sorted Quentin Schulz
  2021-07-26 16:02 ` [docs] [PATCH 1/2] doc: bitbake-user-manual: ref-variables: order alphabetically the glossary sources Michael Opdenacker
  0 siblings, 2 replies; 4+ messages in thread
From: Quentin Schulz @ 2021-07-26 15:35 UTC (permalink / raw)
  Cc: docs, Quentin Schulz, Quentin Schulz

This reorders a few entry so that they are alphabetically sorted.

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Quentin Schulz <foss@0leil.net>
---
 .../bitbake-user-manual-ref-variables.rst     | 54 +++++++++----------
 1 file changed, 27 insertions(+), 27 deletions(-)

diff --git a/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst b/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst
index 57a759f1..7b5bbc28 100644
--- a/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst
+++ b/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst
@@ -231,23 +231,23 @@ overview of their function and contents.
       based on the interval occur each time a respective interval is
       reached beyond the initial warning (i.e. 1 Gbytes and 100 Kbytes).
 
-   :term:`BB_ENV_WHITELIST`
-      Specifies the internal whitelist of variables to allow through from
-      the external environment into BitBake's datastore. If the value of
-      this variable is not specified (which is the default), the following
-      list is used: :term:`BBPATH`, :term:`BB_PRESERVE_ENV`,
-      :term:`BB_ENV_WHITELIST`, and :term:`BB_ENV_EXTRAWHITE`.
+   :term:`BB_ENV_EXTRAWHITE`
+      Specifies an additional set of variables to allow through (whitelist)
+      from the external environment into BitBake's datastore. This list of
+      variables are on top of the internal list set in
+      :term:`BB_ENV_WHITELIST`.
 
       .. note::
 
          You must set this variable in the external environment in order
          for it to work.
 
-   :term:`BB_ENV_EXTRAWHITE`
-      Specifies an additional set of variables to allow through (whitelist)
-      from the external environment into BitBake's datastore. This list of
-      variables are on top of the internal list set in
-      :term:`BB_ENV_WHITELIST`.
+   :term:`BB_ENV_WHITELIST`
+      Specifies the internal whitelist of variables to allow through from
+      the external environment into BitBake's datastore. If the value of
+      this variable is not specified (which is the default), the following
+      list is used: :term:`BBPATH`, :term:`BB_PRESERVE_ENV`,
+      :term:`BB_ENV_WHITELIST`, and :term:`BB_ENV_EXTRAWHITE`.
 
       .. note::
 
@@ -276,18 +276,6 @@ overview of their function and contents.
 
          BB_GENERATE_MIRROR_TARBALLS = "1"
 
-   :term:`BB_HASHCONFIG_WHITELIST`
-      Lists variables that are excluded from base configuration checksum,
-      which is used to determine if the cache can be reused.
-
-      One of the ways BitBake determines whether to re-parse the main
-      metadata is through checksums of the variables in the datastore of
-      the base configuration data. There are variables that you typically
-      want to exclude when checking whether or not to re-parse and thus
-      rebuild the cache. As an example, you would usually exclude ``TIME``
-      and ``DATE`` because these variables are always changing. If you did
-      not exclude them, BitBake would never reuse the cache.
-
    :term:`BB_HASHBASE_WHITELIST`
       Lists variables that are excluded from checksum and dependency data.
       Variables that are excluded can therefore change without affecting
@@ -309,6 +297,18 @@ overview of their function and contents.
       However, the more accurate the data returned, the more efficient the
       build will be.
 
+   :term:`BB_HASHCONFIG_WHITELIST`
+      Lists variables that are excluded from base configuration checksum,
+      which is used to determine if the cache can be reused.
+
+      One of the ways BitBake determines whether to re-parse the main
+      metadata is through checksums of the variables in the datastore of
+      the base configuration data. There are variables that you typically
+      want to exclude when checking whether or not to re-parse and thus
+      rebuild the cache. As an example, you would usually exclude ``TIME``
+      and ``DATE`` because these variables are always changing. If you did
+      not exclude them, BitBake would never reuse the cache.
+
    :term:`BB_HASHSERVE`
       Specifies the Hash Equivalence server to use.
 
@@ -357,15 +357,15 @@ overview of their function and contents.
       running builds when not connected to the Internet, and when operating
       in certain kinds of firewall environments.
 
+   :term:`BB_NUMBER_PARSE_THREADS`
+      Sets the number of threads BitBake uses when parsing. By default, the
+      number of threads is equal to the number of cores on the system.
+
    :term:`BB_NUMBER_THREADS`
       The maximum number of tasks BitBake should run in parallel at any one
       time. If your host development system supports multiple cores, a good
       rule of thumb is to set this variable to twice the number of cores.
 
-   :term:`BB_NUMBER_PARSE_THREADS`
-      Sets the number of threads BitBake uses when parsing. By default, the
-      number of threads is equal to the number of cores on the system.
-
    :term:`BB_ORIGENV`
       Contains a copy of the original external environment in which BitBake
       was run. The copy is taken before any whitelisted variable values are
-- 
2.31.1


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

* [PATCH 2/2] doc: bitbake-user-manual: ref-variables: force glossary output to be alphabetically sorted
  2021-07-26 15:35 [PATCH 1/2] doc: bitbake-user-manual: ref-variables: order alphabetically the glossary sources Quentin Schulz
@ 2021-07-26 15:35 ` Quentin Schulz
  2021-07-26 16:02 ` [docs] [PATCH 1/2] doc: bitbake-user-manual: ref-variables: order alphabetically the glossary sources Michael Opdenacker
  1 sibling, 0 replies; 4+ messages in thread
From: Quentin Schulz @ 2021-07-26 15:35 UTC (permalink / raw)
  Cc: docs, Quentin Schulz, Quentin Schulz

Even though, care should be taken to have the terms in the glossary
sources alphabetically ordered, it is possible some terms might be in
the wrong place.

This makes sure that whatever the order of terms in the glossary
sources, the generated medium is correctly sorted.

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Quentin Schulz <foss@0leil.net>
---
 doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst | 1 +
 1 file changed, 1 insertion(+)

diff --git a/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst b/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst
index 7b5bbc28..797e2a00 100644
--- a/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst
+++ b/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst
@@ -24,6 +24,7 @@ overview of their function and contents.
       described here in this glossary.
 
 .. glossary::
+   :sorted:
 
    :term:`ASSUME_PROVIDED`
       Lists recipe names (:term:`PN` values) BitBake does not
-- 
2.31.1


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

* Re: [docs] [PATCH 1/2] doc: bitbake-user-manual: ref-variables: order alphabetically the glossary sources
  2021-07-26 15:35 [PATCH 1/2] doc: bitbake-user-manual: ref-variables: order alphabetically the glossary sources Quentin Schulz
  2021-07-26 15:35 ` [PATCH 2/2] doc: bitbake-user-manual: ref-variables: force glossary output to be alphabetically sorted Quentin Schulz
@ 2021-07-26 16:02 ` Michael Opdenacker
  2021-07-26 21:35   ` Richard Purdie
  1 sibling, 1 reply; 4+ messages in thread
From: Michael Opdenacker @ 2021-07-26 16:02 UTC (permalink / raw)
  To: Quentin Schulz; +Cc: docs, Quentin Schulz, BitBake developer list

Hi Quentin,

Thanks for the patch. Oops, you forgot to CC the "bitbake-devel" mailing
list (done now). That's where Richard is supposed to take the BitBake
documentation patches from.

On 7/26/21 5:35 PM, Quentin Schulz wrote:
> This reorders a few entry so that they are alphabetically sorted.
>
> Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
> Signed-off-by: Quentin Schulz <foss@0leil.net>
> ---
>  .../bitbake-user-manual-ref-variables.rst     | 54 +++++++++----------
>  1 file changed, 27 insertions(+), 27 deletions(-)
>
> diff --git a/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst b/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst
> index 57a759f1..7b5bbc28 100644
> --- a/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst
> +++ b/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst
> @@ -231,23 +231,23 @@ overview of their function and contents.
>        based on the interval occur each time a respective interval is
>        reached beyond the initial warning (i.e. 1 Gbytes and 100 Kbytes).
>  
> -   :term:`BB_ENV_WHITELIST`
> -      Specifies the internal whitelist of variables to allow through from
> -      the external environment into BitBake's datastore. If the value of
> -      this variable is not specified (which is the default), the following
> -      list is used: :term:`BBPATH`, :term:`BB_PRESERVE_ENV`,
> -      :term:`BB_ENV_WHITELIST`, and :term:`BB_ENV_EXTRAWHITE`.
> +   :term:`BB_ENV_EXTRAWHITE`
> +      Specifies an additional set of variables to allow through (whitelist)
> +      from the external environment into BitBake's datastore. This list of
> +      variables are on top of the internal list set in
> +      :term:`BB_ENV_WHITELIST`.
>  
>        .. note::
>  
>           You must set this variable in the external environment in order
>           for it to work.
>  
> -   :term:`BB_ENV_EXTRAWHITE`
> -      Specifies an additional set of variables to allow through (whitelist)
> -      from the external environment into BitBake's datastore. This list of
> -      variables are on top of the internal list set in
> -      :term:`BB_ENV_WHITELIST`.
> +   :term:`BB_ENV_WHITELIST`
> +      Specifies the internal whitelist of variables to allow through from
> +      the external environment into BitBake's datastore. If the value of
> +      this variable is not specified (which is the default), the following
> +      list is used: :term:`BBPATH`, :term:`BB_PRESERVE_ENV`,
> +      :term:`BB_ENV_WHITELIST`, and :term:`BB_ENV_EXTRAWHITE`.
>  
>        .. note::
>  
> @@ -276,18 +276,6 @@ overview of their function and contents.
>  
>           BB_GENERATE_MIRROR_TARBALLS = "1"
>  
> -   :term:`BB_HASHCONFIG_WHITELIST`
> -      Lists variables that are excluded from base configuration checksum,
> -      which is used to determine if the cache can be reused.
> -
> -      One of the ways BitBake determines whether to re-parse the main
> -      metadata is through checksums of the variables in the datastore of
> -      the base configuration data. There are variables that you typically
> -      want to exclude when checking whether or not to re-parse and thus
> -      rebuild the cache. As an example, you would usually exclude ``TIME``
> -      and ``DATE`` because these variables are always changing. If you did
> -      not exclude them, BitBake would never reuse the cache.
> -
>     :term:`BB_HASHBASE_WHITELIST`
>        Lists variables that are excluded from checksum and dependency data.
>        Variables that are excluded can therefore change without affecting
> @@ -309,6 +297,18 @@ overview of their function and contents.
>        However, the more accurate the data returned, the more efficient the
>        build will be.
>  
> +   :term:`BB_HASHCONFIG_WHITELIST`
> +      Lists variables that are excluded from base configuration checksum,
> +      which is used to determine if the cache can be reused.
> +
> +      One of the ways BitBake determines whether to re-parse the main
> +      metadata is through checksums of the variables in the datastore of
> +      the base configuration data. There are variables that you typically
> +      want to exclude when checking whether or not to re-parse and thus
> +      rebuild the cache. As an example, you would usually exclude ``TIME``
> +      and ``DATE`` because these variables are always changing. If you did
> +      not exclude them, BitBake would never reuse the cache.
> +
>     :term:`BB_HASHSERVE`
>        Specifies the Hash Equivalence server to use.
>  
> @@ -357,15 +357,15 @@ overview of their function and contents.
>        running builds when not connected to the Internet, and when operating
>        in certain kinds of firewall environments.
>  
> +   :term:`BB_NUMBER_PARSE_THREADS`
> +      Sets the number of threads BitBake uses when parsing. By default, the
> +      number of threads is equal to the number of cores on the system.
> +
>     :term:`BB_NUMBER_THREADS`
>        The maximum number of tasks BitBake should run in parallel at any one
>        time. If your host development system supports multiple cores, a good
>        rule of thumb is to set this variable to twice the number of cores.
>  
> -   :term:`BB_NUMBER_PARSE_THREADS`
> -      Sets the number of threads BitBake uses when parsing. By default, the
> -      number of threads is equal to the number of cores on the system.
> -
>     :term:`BB_ORIGENV`
>        Contains a copy of the original external environment in which BitBake
>        was run. The copy is taken before any whitelisted variable values are


Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Richard, can you merge this patch as it was sent to the [docs] mailing list?

Thanks in advance
Michael.

-- 
Michael Opdenacker, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com


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

* Re: [docs] [PATCH 1/2] doc: bitbake-user-manual: ref-variables: order alphabetically the glossary sources
  2021-07-26 16:02 ` [docs] [PATCH 1/2] doc: bitbake-user-manual: ref-variables: order alphabetically the glossary sources Michael Opdenacker
@ 2021-07-26 21:35   ` Richard Purdie
  0 siblings, 0 replies; 4+ messages in thread
From: Richard Purdie @ 2021-07-26 21:35 UTC (permalink / raw)
  To: Michael Opdenacker, Quentin Schulz
  Cc: docs, Quentin Schulz, BitBake developer list

On Mon, 2021-07-26 at 18:02 +0200, Michael Opdenacker wrote:
> Hi Quentin,
> 
> Thanks for the patch. Oops, you forgot to CC the "bitbake-devel" mailing
> list (done now). That's where Richard is supposed to take the BitBake
> documentation patches from.
> 
> On 7/26/21 5:35 PM, Quentin Schulz wrote:
> > This reorders a few entry so that they are alphabetically sorted.
> > 
> > Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
> > Signed-off-by: Quentin Schulz <foss@0leil.net>
> > ---
> > 
[...]

> > 
> >     :term:`BB_ORIGENV`
> >        Contains a copy of the original external environment in which BitBake
> >        was run. The copy is taken before any whitelisted variable values are
> 
> 
> Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
> Richard, can you merge this patch as it was sent to the [docs] mailing list?

Merged, thanks.

Richard


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

end of thread, other threads:[~2021-07-26 21:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-26 15:35 [PATCH 1/2] doc: bitbake-user-manual: ref-variables: order alphabetically the glossary sources Quentin Schulz
2021-07-26 15:35 ` [PATCH 2/2] doc: bitbake-user-manual: ref-variables: force glossary output to be alphabetically sorted Quentin Schulz
2021-07-26 16:02 ` [docs] [PATCH 1/2] doc: bitbake-user-manual: ref-variables: order alphabetically the glossary sources Michael Opdenacker
2021-07-26 21:35   ` 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.