Something went wrong. Try again.
Structural ast-grep rules for Rust, Nix and Mojo, with fixture tests and a pinned Mojo grammar
Something went wrong. Try again.
Commits on main
Niclas Overby ee177807 feat(platform/nix): Four fewer integration layers
Signed-off-by: Niclas Overby <niclas@overby.me>
feat(platform/nix): Four fewer integration layers
Signed-off-by: Niclas Overby <niclas@overby.me>
Niclas Overby committed
Niclas Overby ec60a81e feat(platform/nix): Declare zen-browser and nix-wallpaper as themselves
Signed-off-by: Niclas Overby <niclas@overby.me>
feat(platform/nix): Declare zen-browser and nix-wallpaper as themselves
Signed-off-by: Niclas Overby <niclas@overby.me>
Niclas Overby committed
Niclas Overby b481a691 fix(platform/nix): Repin what the history scrub orphaned
Signed-off-by: Niclas Overby <niclas@overby.me>
fix(platform/nix): Repin what the history scrub orphaned
Signed-off-by: Niclas Overby <niclas@overby.me>
Niclas Overby committed
Niclas Overby 0ef794a7 feat(platform/nix): Free nix-config's consumers of pins they never named
Signed-off-by: Niclas Overby <niclas@overby.me>
feat(platform/nix): Free nix-config's consumers of pins they never named
Signed-off-by: Niclas Overby <niclas@overby.me>
Niclas Overby committed
Niclas Overby de13c2c9 feat(platform/nix): One functor call for every flake in the tree
Signed-off-by: Niclas Overby <niclas@overby.me>
feat(platform/nix): One functor call for every flake in the tree
Signed-off-by: Niclas Overby <niclas@overby.me>
Niclas Overby committed
Niclas Overby 1c0c3fc1 feat(platform/nix): Drop the last two explicit roots
Signed-off-by: Niclas Overby <niclas@overby.me>
feat(platform/nix): Drop the last two explicit roots
Signed-off-by: Niclas Overby <niclas@overby.me>
Niclas Overby committed
Niclas Overby 9d2570f3 fix(dev): Match __deinit__ in the mojo destructor rule
Signed-off-by: Niclas Overby <niclas@overby.me>
fix(dev): Match __deinit__ in the mojo destructor rule
Signed-off-by: Niclas Overby <niclas@overby.me>
Niclas Overby committed
Niclas Overby f8e69448 feat(platform): Call the workspace with one set and no path
Signed-off-by: Niclas Overby <niclas@overby.me>
feat(platform): Call the workspace with one set and no path
Signed-off-by: Niclas Overby <niclas@overby.me>
Niclas Overby committed
Niclas Overby 2c291d7b feat(dev/ast-grep-rules): Re-lock against the flattened nix-packages
Signed-off-by: Niclas Overby <niclas@overby.me>
feat(dev/ast-grep-rules): Re-lock against the flattened nix-packages
Signed-off-by: Niclas Overby <niclas@overby.me>
Niclas Overby committed
Niclas Overby 1c8fc958 feat(platform/nix): Hold the packages at the workspace root
Signed-off-by: Niclas Overby <niclas@overby.me>
feat(platform/nix): Hold the packages at the workspace root
Signed-off-by: Niclas Overby <niclas@overby.me>
Niclas Overby committed
Niclas Overby 741f9038 chore(dev): Name the rules directory what it is
Signed-off-by: Niclas Overby <niclas@overby.me>
chore(dev): Name the rules directory what it is
Signed-off-by: Niclas Overby <niclas@overby.me>
Niclas Overby committed
Niclas Overby 50b6a6b9 doc(dev/ast-grep): Show a consumer how to take the rules from a flake
Signed-off-by: Niclas Overby <niclas@overby.me>
doc(dev/ast-grep): Show a consumer how to take the rules from a flake
Signed-off-by: Niclas Overby <niclas@overby.me>
Niclas Overby committed
Niclas Overby 6291ac94 feat(dev/ast-grep): Commit the published repo's flake.lock
Signed-off-by: Niclas Overby <niclas@overby.me>
feat(dev/ast-grep): Commit the published repo's flake.lock
Signed-off-by: Niclas Overby <niclas@overby.me>
Niclas Overby committed
Niclas Overby ac46b3ac fix(dev/ast-grep): Make the published flake actually build the check
Signed-off-by: Niclas Overby <niclas@overby.me>
fix(dev/ast-grep): Make the published flake actually build the check
Signed-off-by: Niclas Overby <niclas@overby.me>
Niclas Overby committed
Niclas Overby 87fada48 feat(dev/ast-grep): Publish the ruleset as a standalone repo
Signed-off-by: Niclas Overby <niclas@overby.me>
feat(dev/ast-grep): Publish the ruleset as a standalone repo
Signed-off-by: Niclas Overby <niclas@overby.me>
Niclas Overby committed
Niclas Overby f6d6b0cc doc(dev/ast-grep): Correct the pptx uncapped-read finding
Signed-off-by: Niclas Overby <niclas@overby.me>
doc(dev/ast-grep): Correct the pptx uncapped-read finding
Signed-off-by: Niclas Overby <niclas@overby.me>
Niclas Overby committed
Niclas Overby fd7988c6 feat(dev/ast-grep): Bind the rules to a flake check
Signed-off-by: Niclas Overby <niclas@overby.me>
feat(dev/ast-grep): Bind the rules to a flake check
Signed-off-by: Niclas Overby <niclas@overby.me>
Niclas Overby committed
Niclas Overby 7c900626 fix(dev/ast-grep): Make the gate gate
Signed-off-by: Niclas Overby <niclas@overby.me>
fix(dev/ast-grep): Make the gate gate
Signed-off-by: Niclas Overby <niclas@overby.me>
Niclas Overby committed
Niclas Overby 2a34dbe1 feat(dev): Close the last three lint-layer gaps
Signed-off-by: Niclas Overby <niclas@overby.me>
feat(dev): Close the last three lint-layer gaps
Signed-off-by: Niclas Overby <niclas@overby.me>
Niclas Overby committed
Niclas Overby 0e7a18c5 fix(platform/tangled): Share one timeout-carrying HTTP client
Signed-off-by: Niclas Overby <niclas@overby.me>
fix(platform/tangled): Share one timeout-carrying HTTP client
Signed-off-by: Niclas Overby <niclas@overby.me>
Niclas Overby committed
Niclas Overby 0535cafc feat(dev/ast-grep): Implement the rules that survived the mining triage
Signed-off-by: Niclas Overby <niclas@overby.me>
feat(dev/ast-grep): Implement the rules that survived the mining triage
Signed-off-by: Niclas Overby <niclas@overby.me>
Niclas Overby committed
Niclas Overby d2c5e816 doc(dev/ast-grep): Triage the mined candidates with measurements
Signed-off-by: Niclas Overby <niclas@overby.me>
doc(dev/ast-grep): Triage the mined candidates with measurements
Signed-off-by: Niclas Overby <niclas@overby.me>
Niclas Overby committed
Niclas Overby ab178310 doc(dev/ast-grep): Record the rule-mining research in CANDIDATES.md
Signed-off-by: Niclas Overby <niclas@overby.me>
doc(dev/ast-grep): Record the rule-mining research in CANDIDATES.md
Signed-off-by: Niclas Overby <niclas@overby.me>
Niclas Overby committed
Niclas Overby 1cb99dca feat(dev/ast-grep): Catch credentials reaching Debug output
Signed-off-by: Niclas Overby <niclas@overby.me>
feat(dev/ast-grep): Catch credentials reaching Debug output
Signed-off-by: Niclas Overby <niclas@overby.me>
Niclas Overby committed
Niclas Overby ce343529 feat(dev/ast-grep): Port the rest of deslop that survives measurement
Signed-off-by: Niclas Overby <niclas@overby.me>
feat(dev/ast-grep): Port the rest of deslop that survives measurement
Signed-off-by: Niclas Overby <niclas@overby.me>
Niclas Overby committed
Niclas Overby 95664380 feat(dev/ast-grep): Port the two deslop unsafe rules clippy lacks
Signed-off-by: Niclas Overby <niclas@overby.me>
feat(dev/ast-grep): Port the two deslop unsafe rules clippy lacks
Signed-off-by: Niclas Overby <niclas@overby.me>
Niclas Overby committed
Niclas Overby eda63caa fix(dev/mojo): Name the lifetime trap in the wasmtime handles
Signed-off-by: Niclas Overby <niclas@overby.me>
fix(dev/mojo): Name the lifetime trap in the wasmtime handles
Signed-off-by: Niclas Overby <niclas@overby.me>
Niclas Overby committed
Niclas Overby eaf72584 feat(dev/ast-grep): Reach the 260 Mojo files with a patched grammar
Signed-off-by: Niclas Overby <niclas@overby.me>
feat(dev/ast-grep): Reach the 260 Mojo files with a patched grammar
Signed-off-by: Niclas Overby <niclas@overby.me>
Niclas Overby committed
Niclas Overby 4abea24d feat(dev): Add two more ast-grep rules, and record one that failed
Signed-off-by: Niclas Overby <niclas@overby.me>
feat(dev): Add two more ast-grep rules, and record one that failed
Signed-off-by: Niclas Overby <niclas@overby.me>
Niclas Overby committed
Niclas Overby 7a680ce3 feat(dev): Add the Rust ast-grep rules deslop uniquely had
Signed-off-by: Niclas Overby <niclas@overby.me>
feat(dev): Add the Rust ast-grep rules deslop uniquely had
Signed-off-by: Niclas Overby <niclas@overby.me>
Niclas Overby committed
Niclas Overby a9d0f420 feat(dev): Add ast-grep with a prefer-lib rule for Nix
Signed-off-by: Niclas Overby <niclas@overby.me>
feat(dev): Add ast-grep with a prefer-lib rule for Nix
Signed-off-by: Niclas Overby <niclas@overby.me>
Niclas Overby committed
Niclas Overby 976ff323 feat(platform/nix/workspace): Publish the framework and its modules as nix-workspace
Signed-off-by: Niclas Overby <niclas@overby.me>
feat(platform/nix/workspace): Publish the framework and its modules as nix-workspace
Signed-off-by: Niclas Overby <niclas@overby.me>
Niclas Overby committed