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

Stop dropping logs all over the place... #497

Merged
merged 2 commits into from
Jul 13, 2021

Conversation

ooeygui
Copy link
Member

@ooeygui ooeygui commented Jul 13, 2021

colcon -h dir used to return an error if the path was not a valid colcon path. It also didn't used to create log directories unless it wrote a log.

This fix attempts to detect a colcon directory by enumerating the colcon packages within. it also specifically prevents the creation of log directories by passing --log-base [/dev/null | nul] per the colcon documentation.

#496
#404

In my testing, this appears to be a quick check, and correctly detects ROS1, ROS2, and non-ROS directories.

@ooeygui ooeygui requested a review from a team as a code owner July 13, 2021 01:52
@ooeygui ooeygui merged commit de56f30 into ms-iot:master Jul 13, 2021
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.

2 participants