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

Avoid unicode filename #1

Closed
wants to merge 1 commit into from
Closed

Avoid unicode filename #1

wants to merge 1 commit into from

Conversation

tbg
Copy link
Owner

@tbg tbg commented May 11, 2022

This is similar to 53e9d3e.

Over at https://github.com/cockroachdb/cockroach, we use bazel and it
chokes on this file:

java.io.IOException: Error extracting
[...]/com_github_maruel_panicparse_v2-v2.2.1.zip to [...]:
[...]/com_github_maruel_panicparse_v2/cmd/panic/internal/utf8/?tf8.go
(Illegal byte sequence)

which is why we're on a fork so far. It would be nice to avoid this.

There is an (eternal, it seems) upstream discussion, so there is
little home of bazel starting to support non-unicode filenames.

I wonder if the loss in test coverage (if any) is acceptable in return
for avoiding build problems like the ones we've been seeing.

This is similar to 53e9d3e.

Over at https://github.com/cockroachdb/cockroach, we use bazel and it
chokes on this file:

```
java.io.IOException: Error extracting
[...]/com_github_maruel_panicparse_v2-v2.2.1.zip to [...]:
[...]/com_github_maruel_panicparse_v2/cmd/panic/internal/utf8/?tf8.go
(Illegal byte sequence)
```

which is why we're on a fork so far. It would be nice to avoid this.

There is an (eternal, it seems) [upstream discussion], so there is
little home of bazel starting to support non-unicode filenames.

I wonder if the loss in test coverage (if any) is acceptable in return
for avoiding build problems like the ones we've been seeing.

[upstream discussion]: bazelbuild/bazel#374
@tbg tbg closed this May 11, 2022
@tbg tbg deleted the non-ascii-file branch May 11, 2022 09:55
@tbg tbg restored the non-ascii-file branch May 11, 2022 09:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant