Skip to contentSkip to conversation

doc: user-manual: ref-manual: remove mentions to BB_SETSCENE_VERIFY_FUNCTION2

PATCH In review Quentin Schulz 2 participants 2 messages Jun 1, 2021 – Jun 2, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 doc: user-manual: ref-manual: remove mentions to BB_SETSCENE_VERIFY_FUNCTION2

This variable was removed in July 2019 with commit 5deaa5df730a "runqueue: Drop unused BB_SETSCENE_VERIFY_FUNCTION2".

There's no replacement, so let's update the documentation to not mention this variable anymore.

This was found by running:
git grep -hoP '^ :term:\K\w+(?=)' doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst | \

  xargs -I{} sh -c \
    "grep -Rq --include='*.py' --include='*.conf' --include='*.bbclass' --include='*.bb' --include='*.bbappend' --include='*.inc' \
      -w -E {}'_*(_[a-z]+[0-9a-z]*[a-z]+)*' || \
    echo {}"
---
 .../bitbake-user-manual-execution.rst                 |  7 -------
 .../bitbake-user-manual-metadata.rst                  |  4 ----
 .../bitbake-user-manual-ref-variables.rst             | 11 -----------
 3 files changed, 22 deletions(-)
doc/bitbake-user-manual/bitbake-user-manual-execution.rst +0 -7
index 14c342a6..84d65fa9 100644
@@ -648,13 +648,6 @@ compiled binary. To handle this, BitBake calls the
 each successful setscene task to know whether or not it needs to obtain
 the dependencies of that task.
 
-Finally, after all the setscene tasks have executed, BitBake calls the
-function listed in
-:term:`BB_SETSCENE_VERIFY_FUNCTION2`
-with the list of tasks BitBake thinks has been "covered". The metadata
-can then ensure that this list is correct and can inform BitBake that it
-wants specific tasks to be run regardless of the setscene result.
-
 You can find more information on setscene metadata in the
 :ref:`bitbake-user-manual/bitbake-user-manual-metadata:task checksums and setscene`
 section.
doc/bitbake-user-manual/bitbake-user-manual-metadata.rst +0 -4
index 77c107af..20c330e6 100644
@@ -1920,10 +1920,6 @@ The following list describes related variables:
    Specifies a function BitBake calls that determines whether BitBake
    requires a setscene dependency to be met.
 
--  :term:`BB_SETSCENE_VERIFY_FUNCTION2`:
-   Specifies a function to call that verifies the list of planned task
-   execution before the main task execution happens.
-
 -  :term:`BB_STAMP_POLICY`: Defines the mode
    for comparing timestamps of stamp files.
 
doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst +0 -11
index adb311ab..a1e2440b 100644
@@ -426,17 +426,6 @@ overview of their function and contents.
       The function specified by this variable returns a "True" or "False"
       depending on whether the dependency needs to be met.
 
-   :term:`BB_SETSCENE_VERIFY_FUNCTION2`
-      Specifies a function to call that verifies the list of planned task
-      execution before the main task execution happens. The function is
-      called once BitBake has a list of setscene tasks that have run and
-      either succeeded or failed.
-
-      The function allows for a task list check to see if they make sense.
-      Even if BitBake was planning to skip a task, the returned value of
-      the function can force BitBake to run the task, which is necessary
-      under certain metadata defined circumstances.
-
    :term:`BB_SIGNATURE_EXCLUDE_FLAGS`
       Lists variable flags (varflags) that can be safely excluded from
       checksum and dependency data for keys in the datastore. When
Signature · 1 line
2.20.1
Reviewed-by Tested-by on v1 1/1
#1 lore raw

Hi Quentin,

Quoted 65 lines · Quentin Schulz

This variable was removed in July 2019 with commit 5deaa5df730a "runqueue: Drop unused BB_SETSCENE_VERIFY_FUNCTION2".

There's no replacement, so let's update the documentation to not mention this variable anymore.

This was found by running:
git grep -hoP '^ :term:\K\w+(?=)' doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst | \

  xargs -I{} sh -c \
    "grep -Rq --include='*.py' --include='*.conf' --include='*.bbclass' --include='*.bb' --include='*.bbappend' --include='*.inc' \
      -w -E {}'_*(_[a-z]+[0-9a-z]*[a-z]+)*' || \
    echo {}"
---
 .../bitbake-user-manual-execution.rst                 |  7 -------
 .../bitbake-user-manual-metadata.rst                  |  4 ----
 .../bitbake-user-manual-ref-variables.rst             | 11 -----------
 3 files changed, 22 deletions(-)
doc/bitbake-user-manual/bitbake-user-manual-execution.rst +0 -7
index 14c342a6..84d65fa9 100644
@@ -648,13 +648,6 @@ compiled binary. To handle this, BitBake calls the
 each successful setscene task to know whether or not it needs to obtain
 the dependencies of that task.
 
-Finally, after all the setscene tasks have executed, BitBake calls the
-function listed in
-:term:`BB_SETSCENE_VERIFY_FUNCTION2`
-with the list of tasks BitBake thinks has been "covered". The metadata
-can then ensure that this list is correct and can inform BitBake that it
-wants specific tasks to be run regardless of the setscene result.
-
 You can find more information on setscene metadata in the
 :ref:`bitbake-user-manual/bitbake-user-manual-metadata:task checksums and setscene`
 section.
doc/bitbake-user-manual/bitbake-user-manual-metadata.rst +0 -4
index 77c107af..20c330e6 100644
@@ -1920,10 +1920,6 @@ The following list describes related variables:
    Specifies a function BitBake calls that determines whether BitBake
    requires a setscene dependency to be met.
 
--  :term:`BB_SETSCENE_VERIFY_FUNCTION2`:
-   Specifies a function to call that verifies the list of planned task
-   execution before the main task execution happens.
-
 -  :term:`BB_STAMP_POLICY`: Defines the mode
    for comparing timestamps of stamp files.
 
doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst +0 -4
index adb311ab..a1e2440b 100644
@@ -426,17 +426,6 @@ overview of their function and contents.
       The function specified by this variable returns a "True" or "False"
       depending on whether the dependency needs to be met.
 
-   :term:`BB_SETSCENE_VERIFY_FUNCTION2`
-      Specifies a function to call that verifies the list of planned task
-      execution before the main task execution happens. The function is
-      called once BitBake has a list of setscene tasks that have run and

doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst overview of their function and contents. · line 431

Quoted 10 lines
doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst +0 -7
-      either succeeded or failed.
-
-      The function allows for a task list check to see if they make sense.
-      Even if BitBake was planning to skip a task, the returned value of
-      the function can force BitBake to run the task, which is necessary
-      under certain metadata defined circumstances.
-
    :term:`BB_SIGNATURE_EXCLUDE_FLAGS`
       Lists variable flags (varflags) that can be safely excluded from
       checksum and dependency data for keys in the datastore. When

Thanks for the patch!