Consider a WORKSPACE `alias` rule
See original GitHub issueSomething like:
WORKSPACE:
http_archive(
name = "com_google_protobuf",
...
)
alias(
name = "com_google_protobuf_cc",
actual = "com_google_protobuf",
)
Depending on com_google_protobuf_cc
would be equivalent to com_google_protobuf
.
The use-case is highlighted in https://groups.google.com/forum/#!topic/bazel-discuss/859ybHQZnuI
Issue Analytics
- State:
- Created 6 years ago
- Reactions:9
- Comments:26 (14 by maintainers)
Top Results From Across the Web
About Google Workspace email aliases - Google Domains Help
This article provides an overview of what email aliases are, what they're used for, and resources for how to add them.
Read more >Workspace Rules - Bazel
A unique name for this target. The target to be aliased. This target must exist, but can be any type of rule (including...
Read more >Super-charge your email with your own domain, routing ...
🔗 Aliased Domains Finally, the simplest kind of routing in Workspace is to alias an entire domain to your primary domain, causing all...
Read more >Use email aliases to organize your inbox—and stay private
In that spirit, consider email aliases, a useful feature found in ... your tweaked email addresses, click File, then Manage Rules & Alerts....
Read more >Alias Dimensions - Oracle Help Center
In Planning, these members are considered Alias tables. ... the Alias dimension is brought into an application, the application's naming rules are applied....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Without aliases, what is the the best practice for renaming a workspace? I would expect aliases to be the main tool for this, and I don’t see how renaming would work without them.
Suppose I have a project that uses
@io_bazel_rules_go
, but at some point, that repository changes its name to@build_bazel_rules_go
. I may have some dependencies that refer to it using the new name and some using the old name.This looks like an important and relevant feature - why is this issue still closed?