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

fix(fs/walk): yield broken symbolic links #3453

Closed

Conversation

joehillen
Copy link
Contributor

Fixes #3452

@joehillen joehillen requested a review from kt3k as a code owner June 16, 2023 03:23
@CLAassistant
Copy link

CLAassistant commented Jun 16, 2023

CLA assistant check
All committers have signed the CLA.

fs/walk.ts Outdated Show resolved Hide resolved
@joehillen
Copy link
Contributor Author

I'm going to pick this back up after #3455 is merged. That way the broken links can be returned rather than simply dropped.

fs/walk.ts Show resolved Hide resolved
@iuioiua
Copy link
Contributor

iuioiua commented Dec 11, 2023

Hi @joehillen, are you still happy to pursue this PR? If so, can you apply Yoshiya's previous suggestion and fix the merge conflicts?

@joehillen
Copy link
Contributor Author

@iuioiua Thank you for the reminder. I had forgotten about this. Unfortunately I'm busy most of this week, but I'll be able to pick this up later this week or next.

@iuioiua
Copy link
Contributor

iuioiua commented Dec 12, 2023

All good! Thanks for letting me know 👍🏾

@joehillen joehillen force-pushed the fix/3452/fs-walk-broken-links branch from d9796c9 to c7fad4e Compare January 5, 2024 07:22
@github-actions github-actions bot added the fs label Jan 5, 2024
@joehillen joehillen changed the title fix(fs/walk): ignore broken symbolic links fix(fs/walk): yield broken symbolic links Jan 5, 2024
@joehillen joehillen force-pushed the fix/3452/fs-walk-broken-links branch 3 times, most recently from 9b5d76e to b403074 Compare January 5, 2024 08:54
@joehillen
Copy link
Contributor Author

@iuioiua @kt3k Ready for review!

I've made several additional tweaks which are broken into small commits for easy review.

@joehillen joehillen force-pushed the fix/3452/fs-walk-broken-links branch from 532b10b to ffe5fcc Compare January 6, 2024 20:22
@iuioiua iuioiua requested a review from kt3k January 8, 2024 03:51
deno.json Outdated Show resolved Hide resolved
@iuioiua
Copy link
Contributor

iuioiua commented Mar 11, 2024

PTAL @kt3k

@kt3k
Copy link
Member

kt3k commented Apr 16, 2024

Closing as we have better way to handle broken symlinks. See #3452 (comment) for more details.

Also the API changes to expandGlob don't seem discussed very well. I don't find they are desirable changes.

@kt3k kt3k closed this Apr 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

fs.walk() throws on broken symlinks
5 participants