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

Skylark Library filenames conflict on macOS #3244

Closed
steren opened this issue Jun 22, 2017 · 3 comments
Closed

Skylark Library filenames conflict on macOS #3244

steren opened this issue Jun 22, 2017 · 3 comments
Assignees
Labels
P1 I'll work on this now. (Assignee required) type: documentation (cleanup)

Comments

@steren
Copy link
Contributor

steren commented Jun 22, 2017

The problem is that when we generate the Skylark Library, there is both a provider.html and a Provider.html. Because HFS+ (and presumably the upcoming APFS) is by default case-insensitive, we get an error on macOS when generating redirects.

The ideal fix for this is to either improve the directory structure of the Skylark Library to separate modules and types or have a single page for both the provider module and the Provider type.

Because of this problem, the Bazel website cannot le built on macOS bazelbuild/bazel-website#28

@steren steren added P1 I'll work on this now. (Assignee required) type: documentation (cleanup) labels Jun 22, 2017
@steren
Copy link
Contributor Author

steren commented Jun 22, 2017

cc @michelleirvine

@steren
Copy link
Contributor Author

steren commented Jun 27, 2017

Note that a workaround to serve the site on a mac is to delete the line "skylark/lib/provider.html" in redirects.bzl. Just do not forget to revert this change before pushing to the repo.

@meisterT
Copy link
Member

This is no longer a problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P1 I'll work on this now. (Assignee required) type: documentation (cleanup)
Projects
None yet
Development

No branches or pull requests

4 participants