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

Remove setup.py link after successful _undo_develop #578

Merged
merged 1 commit into from
Sep 13, 2023

Conversation

cottsay
Copy link
Member

@cottsay cottsay commented Sep 1, 2023

This function reverts a previous setuptools 'develop' operation, but doesn't actually clean up the artifacts under the build tree that it used to determine that 'develop' was previously used. The result is that after performing a build with --symlink-install, all subsequent builds of that package without --symlink-install will run the commands to "undo" the develop operation even if there is nothing to undo.

This should provide a small performance improvement under those specific circumstances.

This function reverts a previous setuptools 'develop' operation, but
doesn't actually clean up the artifacts under the build tree that it
used to determine that 'develop' was previously used. The result is that
after performing a build with --symlink-install, all subsequent builds
of that package without --symlink-install will run the commands to
"undo" the develop operation even if there is nothing to undo.

This should provide a small performance improvement under those specific
circumstances.
@cottsay cottsay added the bug Something isn't working label Sep 1, 2023
@cottsay cottsay self-assigned this Sep 1, 2023
@codecov
Copy link

codecov bot commented Sep 1, 2023

Codecov Report

Patch coverage has no change and project coverage change: -0.05% ⚠️

Comparison is base (c8995e3) 81.93% compared to head (22348e9) 81.89%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #578      +/-   ##
==========================================
- Coverage   81.93%   81.89%   -0.05%     
==========================================
  Files          65       65              
  Lines        3753     3755       +2     
  Branches      724      725       +1     
==========================================
  Hits         3075     3075              
- Misses        622      624       +2     
  Partials       56       56              
Files Changed Coverage Δ
colcon_core/task/python/build.py 40.68% <0.00%> (-0.41%) ⬇️

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@cottsay cottsay merged commit 63f95b4 into master Sep 13, 2023
35 checks passed
@delete-merged-branch delete-merged-branch bot deleted the cottsay/undo-devel branch September 13, 2023 19:31
@cottsay cottsay added this to the 0.13.0 milestone Sep 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

Successfully merging this pull request may close these issues.

2 participants