Skip to content
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

Silence rosdep #152

Merged
merged 2 commits into from
Mar 26, 2017
Merged

Silence rosdep #152

merged 2 commits into from
Mar 26, 2017

Conversation

mathias-luedtke
Copy link
Member

Filters most of the rosdep install output, just prints commands and errors.
closes #141

@@ -117,7 +117,12 @@ fi

ici_time_start rosdep_install

rosdep install -q --from-paths $CATKIN_WORKSPACE --ignore-src --rosdistro $ROS_DISTRO -y
function rosdep_install {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What for is this a function? Are we going to reuse this somewhere?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually this is a little hack to make the job fail if rosdep fails.
As an alternative I could have surrounded it with

set -o pipefail
set +o pipefail

Hwoever, I plan to factor all code into functions anyway.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see. Could you then leave a short inline comment for that hack?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have switched to pipefail and added a comment

@130s 130s merged commit 2fe8f0d into ros-industrial:master Mar 26, 2017
@mathias-luedtke mathias-luedtke deleted the more-silence branch July 2, 2017 09:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Set locale in docker
2 participants