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

Add AmentInstalledPackageFinder for override warning #129

Merged
merged 4 commits into from
Dec 7, 2021

Conversation

sloretz
Copy link
Contributor

@sloretz sloretz commented Oct 7, 2021

Part of ros2/ros2#1150

Requires colcon/colcon-core#449

This adds a FindInstalledPackagesExtensionPoint extension that uses the ament_index to determine what packages are installed. It allows warning if any packages in /opt/ros/<rosdistro> are being overridden in a colcon workspace.

Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>
Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>
@sloretz
Copy link
Contributor Author

sloretz commented Oct 8, 2021

CI failed because of python/importlib_metadata#298 - which also means the flake8 linter didn't get a chance to run. I can double check it locally.

colcon_ros/installed_packages.py Outdated Show resolved Hide resolved
Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>
@sloretz
Copy link
Contributor Author

sloretz commented Dec 6, 2021

Note when this is merged and released, it should include a version dependency on the released version of colcon-core with colcon/colcon-core#449 colcon/colcon-core#449 (comment)

@sloretz
Copy link
Contributor Author

sloretz commented Dec 7, 2021

Merged with master to run new actions based CI

@sloretz
Copy link
Contributor Author

sloretz commented Dec 7, 2021

CI LGTM, and approved, so merging

@sloretz sloretz merged commit 4d51055 into colcon:master Dec 7, 2021
@sloretz sloretz deleted the override_warning branch December 7, 2021 22:38
@cottsay cottsay added the enhancement New feature or request label Dec 17, 2021
@cottsay cottsay added this to the 0.3.22 milestone Dec 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

Successfully merging this pull request may close these issues.

None yet

3 participants