Gleam's documentation tarballs give files a mode of 0. Hex works around this, but a recent regression in that workaround caused successful documentation uploads to return 404s.
Regular Hex package entries set an explicit mode
While create_tar_archive does not call set_mode, thus it leaves the mode at zero.
It would be preferable that Gleam matched the rest of the Hex ecosystem instead of relying on a workaround to be maintained.
Gleam's documentation tarballs give files a mode of
0. Hex works around this, but a recent regression in that workaround caused successful documentation uploads to return 404s.Regular Hex package entries set an explicit mode
gleam/compiler-cli/src/publish.rs
Line 755 in beb4da4
While
create_tar_archivedoes not callset_mode, thus it leaves the mode at zero.It would be preferable that Gleam matched the rest of the Hex ecosystem instead of relying on a workaround to be maintained.