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

Let iter_gitworktree(fp=True) report on symlinked content #555

Merged
merged 2 commits into from
Dec 6, 2023

Conversation

mih
Copy link
Member

@mih mih commented Dec 6, 2023

This generalizes an approach from
#539. It is implemented in a way that enables reuse of the helpers in that PR too.

With this change regular files (tracked or untracked) and symlink targets (via the symlink) are also opened, if they actually exist.

Closes #553

@mih mih mentioned this pull request Dec 6, 2023
4 tasks
This generalizes an approach from
datalad#539. It is implemented in a
way that enables reuse of the helpers in that PR too.

With this change regular files (tracked or untracked) and symlink targets
(via the symlink) are also opened, if they actually exist.

Closes datalad#553
Copy link

codecov bot commented Dec 6, 2023

Codecov Report

Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (72d28aa) 92.71% compared to head (406d0d5) 92.73%.

Files Patch % Lines
datalad_next/iter_collections/gitworktree.py 94.11% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #555      +/-   ##
==========================================
+ Coverage   92.71%   92.73%   +0.02%     
==========================================
  Files         137      137              
  Lines       10113    10157      +44     
  Branches     1093     1103      +10     
==========================================
+ Hits         9376     9419      +43     
- Misses        713      714       +1     
  Partials       24       24              

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

@mih mih merged commit 8f404a1 into datalad:main Dec 6, 2023
8 of 9 checks passed
@mih mih deleted the bf-553 branch December 6, 2023 12:26
@mih mih modified the milestones: 1.0.3, 1.1 Dec 6, 2023
@mih mih added the semver-patch PR implies patch-level version increment (API stable) label Dec 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver-patch PR implies patch-level version increment (API stable)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

iter_gitworktree(fp=True) is not reporting on symlinked content
1 participant