-
-
Notifications
You must be signed in to change notification settings - Fork 233
Exclude children of subdirectories from symlink #1690
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
Exclude children of subdirectories from symlink #1690
Conversation
Thanks for this! The lint error is being fixed over in #1691 |
It looks like my change is breaking some other examples, but I'm a bit lost. Is anyone willing to take a look and help push this PR across the finish line? |
Here is one of the conformance tests, that now fail
|
Yes, I read through the logs. I was asking if any of the maintainers are willing to help fix the errors. |
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.
…l into symlink_exclude_children
Codecov Report
@@ Coverage Diff @@
## main #1690 +/- ##
=======================================
Coverage 66.85% 66.85%
=======================================
Files 93 93
Lines 16670 16692 +22
Branches 4422 4428 +6
=======================================
+ Hits 11145 11160 +15
- Misses 4380 4386 +6
- Partials 1145 1146 +1
Continue to review full report at Codecov.
|
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.
Looks great! It will need a confirmatory test.
Try |
@@ -191,6 +192,16 @@ def files(self) -> List[str]: | |||
def items(self) -> List[Tuple[str, MapperEnt]]: | |||
return list(self._pathmap.items()) | |||
|
|||
def items_exclude_children(self) -> List[Tuple[str, MapperEnt]]: |
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.
FYI @tetron @DailyDreaming @kellrott about this proposed addition to PathMapper
Sorry for blasting your CI for trivial formatting, but I was running into nasty installation errors when trying to run it locally using the instructions in the readme. If I can reproduce, I'll try to open another issue. |
S'alright. New commits will cancel old CI jobs automatically. Did you have a dedicated Python virtualenv active before running those commands? |
I created a new conda environment. See #1694 |
This PR (hopefully) fixes #1029.