Skip to content

Conversation

@jkloetzke
Copy link
Member

No description provided.

Packages at shared locations are immutable. If the recipe was changed
and the package is unshared, the workspace link in the project tree is
removed. Problem is, the os.path.isdir() function returns True for
symlinks that point to directories. This actually then clears the shared
location instead of removing the link. Fix it by reversing the
condition.

Fixes BobBuildTool#522.
Make sure that unsharing a package does not garble the shared location.
@codecov
Copy link

codecov bot commented Jun 29, 2023

Codecov Report

Patch coverage: 100.00% and project coverage change: +9.39 🎉

Comparison is base (6f53711) 78.78% compared to head (eb37494) 88.18%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #523      +/-   ##
==========================================
+ Coverage   78.78%   88.18%   +9.39%     
==========================================
  Files          46       46              
  Lines       14460    14460              
==========================================
+ Hits        11393    12751    +1358     
+ Misses       3067     1709    -1358     
Impacted Files Coverage Δ
pym/bob/builder.py 92.75% <100.00%> (+5.72%) ⬆️

... and 27 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@jkloetzke jkloetzke merged commit 3363bea into BobBuildTool:master Jun 29, 2023
@jkloetzke jkloetzke deleted the fix-522 branch June 29, 2023 19:58
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.

1 participant