-
Notifications
You must be signed in to change notification settings - Fork 61
Support rosdep check without skipping rosdep install #988
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
Support rosdep check without skipping rosdep install #988
Conversation
Signed-off-by: matlabbe <[email protected]>
Signed-off-by: matlabbe <[email protected]>
Signed-off-by: matlabbe <[email protected]>
Signed-off-by: matlabbe <[email protected]>
Signed-off-by: matlabbe <[email protected]>
Signed-off-by: matlabbe <[email protected]>
Signed-off-by: matlabbe <[email protected]>
Signed-off-by: matlabbe <[email protected]>
41b7321
to
906c194
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Merci for the PR!
The -r
option for rosdep install
has been used since the very beginning. Since rosdep install
installs one dependency at a time, I thought that the -r
option made it keep installing dependencies instead of stopping right away if a dependency can't be found or if there are errors when installing it. And I thought that it would still fail if there were any errors (see also #957). However, it does seem like -r
prevents it from exiting with a non-zero code.
I think -r
is used to try to avoid flakiness when installing dependencies. At one point, GitHub CI used some kind of Azure-hosted Ubuntu package mirror, which regularly failed (ros-tooling/setup-ros#25). However, I don't think that's the case anymore, and it hides actual issues, as you said. We should consider eventually removing -r
, but this PR makes sense on its own, so I think we can proceed.
Released as |
Thank you for the fast review, I saw the Cordialement |
Signed-off-by: matlabbe <[email protected]> Signed-off-by: mosFet <[email protected]>
switch to the oldest supported ros2 (humble) ->ros-tutorial 1.4.2 Signed-off-by: Andrea <[email protected]> Signed-off-by: mosFet <[email protected]> Support rosdep check without skipping rosdep install (ros-tooling#988) Signed-off-by: matlabbe <[email protected]> Signed-off-by: mosFet <[email protected]> 0.4.4 Signed-off-by: Christophe Bedard <[email protected]> Signed-off-by: mosFet <[email protected]> Update ros_tutorials.repos Signed-off-by: mosFet <[email protected]> Update ros_tutorials.repos Signed-off-by: mosFet <[email protected]>
switch to the oldest supported ros2 (humble) ->ros-tutorial 1.4.2 Signed-off-by: Andrea <[email protected]> Signed-off-by: mosFet <[email protected]> Support rosdep check without skipping rosdep install (ros-tooling#988) Signed-off-by: matlabbe <[email protected]> Signed-off-by: mosFet <[email protected]> 0.4.4 Signed-off-by: Christophe Bedard <[email protected]> Signed-off-by: mosFet <[email protected]> Update ros_tutorials.repos Signed-off-by: mosFet <[email protected]> Update ros_tutorials.repos Signed-off-by: mosFet <[email protected]>
I have an issue when testing my package on new ROS distros if some dependencies are not yet released,
action-ros-ci
action doesn't fail when rosdep says:ERROR: the following packages/stacks could not have their rosdep keys resolved to system dependencies:
In the code,
rosdep install
uses-r
option, meaning "Continue installing despite errors.":action-ros-ci/src/action-ros-ci.ts
Lines 201 to 204 in 8dce037
My current workaround is to remove
skip-rosdep-install
requirement to userosdep-check
option.Related to this PR: #830