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

Bazel query has to be written differently in order to work in Dazel #57

Open
ilanKeshet opened this issue Jul 16, 2020 · 0 comments
Open

Comments

@ilanKeshet
Copy link
Contributor

For example the query for fetching the locations of all protocol buffer files you have to escape some characters.

Note the extra \ characters
Bazel
bazel query 'filter("^[^@].*\.proto$", deps(//target/...))'
Dazel
dazel query 'filter(\"^[^@].*\\.proto$\", deps(//target/...))'

Basically if you have a script which should work with both bazel and dazel you'd have to write two different queries.

Looking at the source code, I think it might be the result of the way arguments are being quoted when formulating the docker command

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

1 participant