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

Don't warn about overriding when building the a workspace that has al… #473

Closed

Conversation

sloretz
Copy link
Contributor

@sloretz sloretz commented Jan 21, 2022

Requires #472 (currently targeting that PR's branch)
Resolves #465

If a user builds a workspace, sources the install space, then builds again the override warning was triggering. This PR avoids warning in that case. It does so by ignoring the install space of the current workspace when looking for packages in underlay's.

@codecov
Copy link

codecov bot commented Jan 21, 2022

Codecov Report

Merging #473 (c0fe4f2) into master (76b0a24) will decrease coverage by 0.04%.
The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #473      +/-   ##
==========================================
- Coverage   80.81%   80.76%   -0.05%     
==========================================
  Files          59       59              
  Lines        3518     3520       +2     
  Branches      668      669       +1     
==========================================
  Hits         2843     2843              
- Misses        630      632       +2     
  Partials       45       45              
Impacted Files Coverage Δ
colcon_core/verb/build.py 0.00% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 76b0a24...c0fe4f2. Read the comment docs.

@delete-merged-branch delete-merged-branch bot deleted the branch master January 22, 2022 02:01
@sloretz sloretz changed the base branch from sloretz__fix_bootstrap_find_installed_packages to master January 25, 2022 18:22
@sloretz sloretz marked this pull request as ready for review January 25, 2022 18:22
@sloretz sloretz marked this pull request as draft January 25, 2022 18:22
@sloretz sloretz force-pushed the sloretz__no_override_warn_when_same_prefix_sourced branch from 4444925 to c0fe4f2 Compare January 25, 2022 18:24
@sloretz sloretz marked this pull request as ready for review January 25, 2022 18:24
Copy link
Contributor

@jacobperron jacobperron left a comment

Choose a reason for hiding this comment

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

LGTM. Consider adding a test case to maintain code coverage.

@cottsay cottsay deleted the sloretz__no_override_warn_when_same_prefix_sourced branch June 29, 2022 17:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Overriding package error for packages in current workspace
2 participants