Cormac Relf

Results 309 comments of Cormac Relf

I think SRI is pretty annoying, entirely because the special characters in base64 make it hard to double-click select them, which is about the only thing you ever have to...

The uquery context does have operators. They're not as good as Jujutsu's, but they go alright. I forget the symbols a lot but + is union and I think ^...

For stderr/stdout, see thread for recent discussion. https://github.com/facebook/buck2/issues/760 > ``` > dir = ctx.actions.declare_output(ctx.label.name, "cool_dir", dir = True) > out_dir = ctx.actions.make_directory(dir.as_output()) # or make_directory(ctx.label.name) itself > ``` It doesn't...

Maybe your PATH on the remote executor contains "."? That might also explain it. It probably shouldn't.

Lol, I made an almost identical patch to rust analyzer to try it out. It does go! Re the absolute paths, yeah I had figured that out, just didn't write...

I stopped working on it because I didn't have the energy to get through review, which is quite exhaustive. I don't mind if someone else rebases and resubmits.

And here is an `extract_archive` rule based on prelude's `http_archive` that makes all this work. ```starlark def _tar_strip_prefix_flags(strip_prefix: [str, None]) -> list[str]: if strip_prefix: # count nonempty path components in...

Yes, for non-vendored mode, it would be a big step in the right direction if the caching of the compressed crate download + decompress steps could be shared across buck...

Everything is a bit better when you use RE, because everything does eventually get cached. I wrote this PR before I had RE configured, so I haven't tried going back...

It does not. Buck does have a local database of materialized artifacts but it is not a CAS store and it is not persistent across daemon restarts. Bazel has a...