jade
jade
It would be helpful to be able to specify doc strings for records. This may be possible already and I just can't find it. Providers support a `doc` argument, but...
Problem: ``` $ buck bxl //snowydeer/snowydeer.bxl:main -- --target toolchains//:hspec-discover BXL FAILED Traceback (most recent call last): File , in error: Missing parameter `actions` for call to `snowydeer/snowydeer.bxl._dump_nix_paths_dynamic_impl` ``` This happens...
``` Error loading `load` of `toolchains//nix.bzl` from `snowydeer/snowydeer.bxl:1:6-27`: Invalid path `toolchains//nix.bzl` for file relative import path. Should be a forward relative path. (buck2 error) ``` Code: ``` load("toolchains//nix.bzl", "NixPathInfo") ```...
`buck2 audit providers` exists which can give you some details about providers: ``` $ buck audit providers toolchains//:hspec-discover toolchains//:hspec-discover (): Providers([ DefaultInfo( sub_targets={}, default_outputs=[ ], other_outputs=[] ), BinDirInfo( args=cmd_args( ,...
From #1032: it's currently not documented e.g. which protocol action needs to be set in the configuration to use nvim-dap or similar client with the starlark DAP. It does work...
Currently the LSP seems to not support the format action. This is fine I guess, but it would be helpful if it could call buildifier in a similar fashion as...
Conclusion from this: there needs to be a CI check that runs `buck2 completion zsh` in debug mode, apparently. Steps to reproduce: ``` $ cargo run --bin buck2 -- completion...
https://buck2.build/docs/api/bxl/ It is unclear from immediately looking at this that it is saying that `bxl` is a magic global in bxl context. Also, `main` is unclear: there's `bxl_main` which is...
I would like to be able to build and test python code with buck2 outside Facebook. This seems to be possible, however, it requires (as used by buck2's `//tests` at...
This is because `tests` is in `project.ignore`. There's golden tests in there which can't be run outside FB, so they are ~guaranteed to fail for external contributions. - https://github.com/facebook/buck2/pull/1013 -...