-
Notifications
You must be signed in to change notification settings - Fork 474
RFC: Rename workspace from io_bazel_rules_rust
to rules_rust
#499
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
Comments
+1 I imagine for most cases a |
I've opened #500 for the conversion. Given that there are no releases (which I think there should be, per #415) I'm unsure how the transition should be communicated. I did the same thing |
This should probably not be merged. This ruleset is named "io_bazel" to be consistent with the other rules defined in the bazelbuild org. See rules go: https://github.com/bazelbuild/rules_go. Their workspace is named "io_bazel_rules_go". I don't know the history behind this naming scheme, but I do know that rules_go has "high-tier" support internally, so we should follow their lead on things. I'm going to mirror this into the issue. |
This is in direct violation of the documentation in https://docs.bazel.build/versions/master/skylark/deploying.html#workspace
I would assert either that documentation needs to change or this PR should be merged in a reasonable time. |
Yep this documentation is pretty recent and I found some more context in bazel-dev@. Historically we took the decision to recommend reverse qualified domain name as naming convention (like Go) but it seems they prefer shorter name and use github orgs for rules. Bazel initial domain was bazel.io. A few month after new TLD appeared and .build was a natural home for a build system. |
Generated by running ```bash LANG=C sed -i '' -e 's/io_bazel_rules_rust/rules_rust/' $(find . -type f -not -path "./.git/*") ``` There's some small amount of sorting in here as well (based on the new name) Closes #499 Blocked by google/cargo-raze#298 and google/cargo-raze#304
I have this error and there is no occurrences of io_bazel_rules_rust in all my project. An idea of investigation ?
|
Perhaps you're loading a some file from something that expects the old name? Does Bazel not tell you where that load is happening? |
According to https://docs.bazel.build/versions/master/skylark/deploying.html#workspace these rules should be named
rules_rust
. I think they should be renamed. Maybe for backwards compatibility therust_workspace
macro could define a bind for users to ease the transition but I'd definitely like to see this changed.What are the concerns in doing this?
The text was updated successfully, but these errors were encountered: