Skip to content

Conversation

@lf-
Copy link
Contributor

@lf- lf- commented Sep 5, 2025

https://buck2.build/docs/bxl/

Description

Buck2 has PACKAGE files which do directory specific configuration. I am not familiar enough with Bazel to draw a comparison to WORKSPACE, but I think the Buck2 equivalent is a combo of buckconfig and PACKAGE. BXL is the Buck eXtension language and it lets you write programs in Starlark which query your build graph.

Checklist:

@lf- lf- requested a review from a team as a code owner September 5, 2025 22:00
@lf- lf- force-pushed the jade/fix-buck2 branch 2 times, most recently from 25a5c6a to 6cfa21b Compare September 6, 2025 00:29
@lf- lf- force-pushed the jade/fix-buck2 branch 2 times, most recently from 3c9181a to 67f122e Compare September 8, 2025 18:19
@lildude lildude changed the title Autodetect more buck2 files as Starlark Add .bxl to Starlark Sep 9, 2025
@lf-
Copy link
Contributor Author

lf- commented Sep 15, 2025

I have looked at the statistics for popularity. There seem to be no real false positives; some HTML temp files people mysteriously checked in, some seemingly randomized file names. I can't really determine whether there are hundreds of repositories with the UI, but there are hundreds of true positive matches for the search.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants