-
Notifications
You must be signed in to change notification settings - Fork 382
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: windows compatibility #1996
fix: windows compatibility #1996
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
size-limit report 📦
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## next #1996 +/- ##
==========================================
- Coverage 76.66% 76.16% -0.51%
==========================================
Files 81 81
Lines 2083 2249 +166
Branches 532 588 +56
==========================================
+ Hits 1597 1713 +116
- Misses 375 420 +45
- Partials 111 116 +5 ☔ View full report in Codecov by Sentry. |
6955cdc
to
dd3bc1f
Compare
Does it will fix this issue #1793? |
I hope so. I found that path issues on windows become even more weird when inter-disc execution is involved. For example, code working perfectly when it stored on disk C, but then suddenly become broken when you just move it to the disk D. There is also no way to express a relative path between these two disks, and not every tool understand an absolute windows paths. |
I always think the comment is relative path in git repo, why related the inter-disc execution? 😦 |
Exactly, it should be relative to the rootDir specified in the lingui config. And that the goal i wanted to achieve, so no matter where files are stored result should be the same. But on windows, it turned out that it might be broken due to where files are stored, which is weird. The inter disc execution happened in experimental extractor. Previously, it used |
Is it possible to make lingui extractor always use same disk (maybe C:) to parse relative path? |
That exactly what i did in this PR, among other things |
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.
@thekip thank you!
This is great, much appreciated 👏 |
Description
i installed Windows ARM on my Mac, and fixed all compatibility issues which were marked as "skipOnWindows" in tests.
Types of changes
Fixes # (issue)
Checklist