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

query for tags doesn't read through alias #100

Closed
alexeagle opened this issue Dec 12, 2017 · 4 comments
Closed

query for tags doesn't read through alias #100

alexeagle opened this issue Dec 12, 2017 · 4 comments

Comments

@alexeagle
Copy link
Collaborator

I thought it would be clever to improve ergonomics like this:

BUILD

alias(name = "devserver", actual = "//src:devserver")

src/BUILD

my_rule(name = "devserver", tags=["ibazel_live_reload", "ibazel_notify_changes"])

but if I now ibazel run :devserver it doesn't recognize the tags.

/cc @gregmagolan

@achew22
Copy link
Member

achew22 commented Dec 13, 2017

Is the expectation that ibazel would detect that it is a rule of type alias and then requery the actual or do you think this is a bug in the blaze query command?

@alexeagle
Copy link
Collaborator Author

I'm not sure - I've observed alias doing less than I would like in other situations too, so I would guess Bazel says this is WAI.

@achew22
Copy link
Member

achew22 commented Dec 14, 2017

Agreed.

bazelbuild/bazel#4205

@achew22
Copy link
Member

achew22 commented Dec 2, 2018

I think this is an issue with Bazel, not us. If you think there is more to do please reopen.

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

No branches or pull requests

2 participants