generate .dsv files beside known environment hooks#187
Conversation
… intended environment change Signed-off-by: Dirk Thomas <dirk-thomas@users.noreply.github.com>
|
I took at this locally, and it's generating the files correctly with the contents I would expect. Do you know if there is any case of a package exporting non-default values of the PATH or LD_LIBRARY_PATH environment variables? I did a quick find/grep and couldn't find anything that looked non-default. I would assume that would have some impact on the generated DSV files, in that case. |
|
My other general comment would be to document/expand |
What do you mean by "non-default values" in this context? |
|
A package where |
|
In general a package can provide any arbitrary environment hook. For it to be also "fast" it should also provide a Currently the name of the environment hook is used to determine which |
Commonly these custom hooks have different names (see e.g. ros2/yaml_cpp_vendor#7 and ros2/rviz#449). If they would use the same name they would already overwrite the same file if a "default" hook is already being generated. So I am not sure if any change is necessary here. |
which describe the intended environment change in a machine readable form. This enables to compute the environment change outside of the shell scripts which yields much faster performance.
Related to ros2/ros2#764.