-
Notifications
You must be signed in to change notification settings - Fork 136
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
clarify CATKIN_IGNORE may be a file, directory, or (dangling) symlink #256
Conversation
Mention that CATKIN_IGNORE may be any type of file
change "are ignored" to "don't matter" to avoid implying that that's what "IGNORE" is referring to in "CATKIN_IGNORE"
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.
Beside the inline question please update the title of the PR since it will become the commit message.
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.
Widening the possible types for the marker sounds reasonable to me. I don't expect any breakage being introduced due to this change (like users have directories or (dangling) symlinks with this name but not intending to ignore the path).
@ros-infrastructure/ros_team Please review and approve this proposed change. |
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.
I don't see anything wrong with this, but I am curious how you use it in practice? Is there a benefit to making the marker files a directory or symlink?
Answered my own question: ros-infrastructure/catkin_pkg#286 (comment) |
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.
LGTM
3 👍 and 5 days sounds like enough to me. Merging... |
* Allow ignore_marker to be a dangling symlink As per ros-infrastructure/rep#256 * os.path.lexists instead of (nonexistent) pathlib.path.lexists
* Respect ignore marker even if dangling symlink As per ros-infrastructure/rep#256 * os.path.lexists instead of (nonexistent) pathlib.path.lexists Co-authored-by: Prajakta Gokhale <prajaktg@amazon.com>
Mention that CATKIN_IGNORE may be any type of file and its contents are ignored