fix: add support for .zip files in binary download#417
fix: add support for .zip files in binary download#417theoludwig merged 8 commits intoeditorconfig-checker:masterfrom
.zip files in binary download#417Conversation
|
Not blocking, but could you please try to merge my PR #418 on your branch, to see if it resolves the issue with CI, and to check if it works on all Operating Systems? |
…ditorconfig-checker.javascript into fix-add-support-for-zip
|
Sure, I merged it! |
|
I think the ci script of commitlint should be different in Windows. (or also for other scripts) E.g. POSIX uses bash while Windows uses Powershell or cmd. |
Yes, I've updated #418 can you please merge back again? 😄 |
…ditorconfig-checker.javascript into fix-add-support-for-zip
|
Yep! |
|
Indeed. On a side note, GitHub rate limiting is annoying. |
|
I agree. If the GitHub rate limit is lifted, the tests will pass. |
I believe, we should also add |
Added |
|
Coooooool. We did it.🔥 |
|
@klaernie |
|
🎉 This PR is included in version 6.0.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
It doesn't seems to work on the Already 6 run. And always on macOS, it seems like. Ah... I give up. 😆 We know it's working so that's not critical at least. I created an issue about it: #419 |
|
it just because github rate limit, maybe just run it again? or create a new github token and add it into request header? |
I tried it 6 times. It's just based on luck, really. I just re ran it a 7th time, and it seemed to work lol => https://github.com/editorconfig-checker/editorconfig-checker.javascript/actions/runs/12693264299/job/35393273587
Yes, that could be a fix, indeed. 👍 |


What changes this PR introduce?
Hello, @theoludwig
This PR resolves the issue metioned in editorconfig-checker/editorconfig-checker#415.
I wrote the code in a way that doesn't affect the existing behavior.
List any relevant issue numbers
editorconfig-checker/editorconfig-checker#415
Is there anything you'd like reviewers to focus on?
I used the
admziplibrary to unzip.zipfiles. It’s a well-maintained and organized package, which is why I chose it. linkI added logic to detect
.zipfiles and unzip them in the same way we handle.tar.gz.Result
When I set
indent_size = 3in.editorconfigand run it, I can confirm it works as expected.Environment
This is my current env.
If there’s anything wrong, please let me know.