Fix fs error while unpacking frontends #839
No reviewers
Labels
No labels
approved, awaiting change
bug
configuration
documentation
duplicate
enhancement
extremely low priority
feature request
Fix it yourself
help wanted
invalid
mastodon_api
needs docs
needs tests
not a bug
planned
pleroma_api
privacy
question
static_fe
triage
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: AkkomaGang/akkoma#839
Loading…
Reference in a new issue
No description provided.
Delete branch "tudbut/akkoma:frontends"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes: #836
The zip file contains directory items, which get read as if they were regular files. They then get created as empty files and block items from going inside.
so fun fact i did some investigation
the source of this error is OTP 27.1 (released last month) - https://www.erlang.org/news/171#highlights
which changes the behaviour of
:zip
we may have to be very careful here that we don't break older OTP compat
yep, works on OTP26 as well - thanks a lot!
just for future info, it's usually good practice to run
mix format
before opening a PR just to catch any linting issues - in this case there's just a rogue space, i'll fix it after merge