-
Notifications
You must be signed in to change notification settings - Fork 280
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Install environment hooks into a package-specific directory #953
Conversation
bd8c7f7
to
8e143c7
Compare
I am not convinced this is the right way to address the problem. With the "slow" release cycle of
Both use cases should be supported efficiently. One possible approach would be to install these scripts in both locations - each optimized for one of the use cases. But I can't foresee yet if that will have other downsides down the road. Therefore I think this should be reconsidered with the bigger picture of general performance when sourcing setup file in mind. |
It makes sense to me that there should be some sort of record of which package installed what into a global workspace path, but I'm all for a more optimal solution.
This doesn't feel particularly more optimal that a manifest, but it is certainly simpler/more obvious. Perhaps the CATKIN_INSTALL_INTO_PREFIX_ROOT parameter should control whether the hooks are even installed into
I'd be happy to collaborate on/contribute a solution that would be acceptable, but I don't have a good understanding of the bigger picture, and would appreciate some guidance. Would it make sense to open a separate ticket in colcon-ros for the issue of overall performance? At the very least I can start by contributing some metrics from sourcing large workspaces built by catkin-tools vs colcon. |
3842b08
to
52b290d
Compare
52b290d
to
5734a04
Compare
Adapted to install hooks into |
a709b40
to
c916974
Compare
c916974
to
b298c8a
Compare
b298c8a
to
4708365
Compare
@ros/ros_team Please comment if you think is a good approach (or not). |
Duplicating the files is not ideal, but I don't see a practical problem with it. It might be confusing to people who are trying to reverse engineer what catkin is doing, so more documentation might be in order, e.g. comments in the code where it is installed in two places, a marker file in the install space explaining what's going on, or documentation in the catkin documentation somewhere. |
84c6c95 adds information about the two install destinations to the docblock which will also appear in the generated docs. |
Looks ok to me. |
Thank you for the patch. |
The CMake API docs have been regenerated in e086d89. |
Thanks for chasing this @dirk-thomas! |
b1622e2 is a follow up to address warnings in the doc job. |
@dirk-thomas, can I please request a tagged release of this package which includes this PR? |
It will likely be January until I get to do ROS 1 patch releases. |
Required for colcon/colcon-ros#36, related to colcon/colcon-ros#35