ref-manual/variables.rst: add note about PSEUDO ignore/include precedence
PATCH 1/1 ref-manual/variables.rst: add note about PSEUDO ignore/include precedence
This commit[1] in pseudo introduced the PSEUDO_INCLUDE_PATHS variable, however the previous PSEUDO_IGNORE_PATHS variable is still present also. Add a clarifying note about the order of precedence of the two.
[1]: https://git.yoctoproject.org/pseudo/commit/?id=2c43381180f9cfef4c0a8bb0c1658a86c3fcc876
--- documentation/ref-manual/variables.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
documentation/ref-manual/variables.rst +3 -1
@@ -7567,7 +7567,9 @@ system and gives an overview of their function and contents. by pseudo when monitoring and recording file operations, in order to avoid problems with files being written to outside of the pseudo context and reduce pseudo's overhead. A path is ignored if it matches any prefix in the list - and can include partial directory (or file) names. + and can include partial directory (or file) names. In case a path prefix is + present in both this, and in :term:`PSEUDO_INCLUDE_PATHS` variable, then + the latter takes precedence. :term:`PSEUDO_INCLUDE_PATHS` A comma-separated (without spaces) list of path prefixes that should be included
Quoted 16 lines · Gyorgy Sarvari via lists.yoctoproject.org
This commit[1] in pseudo introduced the
PSEUDO_INCLUDE_PATHSvariable, however the previousPSEUDO_IGNORE_PATHSvariable is still present also. Add a clarifying note about the order of precedence of the two.[1]: https://git.yoctoproject.org/pseudo/commit/?id=2c43381180f9cfef4c0a8bb0c1658a86c3fcc876
Signed-off-by Gyorgy Sarvari <[email protected]>--- documentation/ref-manual/variables.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)documentation/ref-manual/variables.rst +0
-0
documentation/ref-manual/variables.rst system and gives an overview of their function and contents. · line 7575
Quoted 10 lines
documentation/ref-manual/variables.rst +3
-1@@ -7567,7 +7567,9 @@ system and gives an overview of their function and contents. by pseudo when monitoring and recording file operations, in order to avoid problems with files being written to outside of the pseudo context and reduce pseudo's overhead. A path is ignored if it matches any prefix in the list - and can include partial directory (or file) names. + and can include partial directory (or file) names. In case a path prefix is + present in both this, and in :term:`PSEUDO_INCLUDE_PATHS` variable, then + the latter takes precedence. :term:`PSEUDO_INCLUDE_PATHS` A comma-separated (without spaces) list of path prefixes that should be included
In these kind of situations, I think a good way of being extra clear is:
"""
In case a path prefix is present in both :term:PSEUDO_IGNORE_PATHS and in :term:PSEUDO_INCLUDE_PATHS, :term:PSEUDO_INCLUDE_PATHS takes precedence. """
What do you think?
Also, we could probably add the same sentence to PSEUDO_INCLUDE_PATHS's description?
Thanks,
Antonin
Signature · 3 lines
Antonin Godard, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
Quoted 34 lines · Antonin Godard
Quoted 16 lines · Gyorgy Sarvari via lists.yoctoproject.org
This commit[1] in pseudo introduced the
PSEUDO_INCLUDE_PATHSvariable, however the previousPSEUDO_IGNORE_PATHSvariable is still present also. Add a clarifying note about the order of precedence of the two.[1]: https://git.yoctoproject.org/pseudo/commit/?id=2c43381180f9cfef4c0a8bb0c1658a86c3fcc876
Signed-off-by Gyorgy Sarvari <[email protected]>--- documentation/ref-manual/variables.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)documentation/ref-manual/variables.rst +0
-0documentation/ref-manual/variables.rst system and gives an overview of their function and contents. · line 7575
Quoted 10 lines
documentation/ref-manual/variables.rst +3
-1@@ -7567,7 +7567,9 @@ system and gives an overview of their function and contents. by pseudo when monitoring and recording file operations, in order to avoid problems with files being written to outside of the pseudo context and reduce pseudo's overhead. A path is ignored if it matches any prefix in the list - and can include partial directory (or file) names. + and can include partial directory (or file) names. In case a path prefix is + present in both this, and in :term:`PSEUDO_INCLUDE_PATHS` variable, then + the latter takes precedence. :term:`PSEUDO_INCLUDE_PATHS` A comma-separated (without spaces) list of path prefixes that should be includedIn these kind of situations, I think a good way of being extra clear is:
"""
In case a path prefix is present in both :term:PSEUDO_IGNORE_PATHSand in :term:PSEUDO_INCLUDE_PATHS, :term:PSEUDO_INCLUDE_PATHStakes precedence. """
Quoted 4 lines
What do you think?
Also, we could probably add the same sentence to PSEUDO_INCLUDE_PATHS's description?
Sure, v2 will come in minutes.
Quoted 4 lines
Thanks,
Antonin