Skip to content

tree-sitter: update all grammars#382113

Merged
SuperSandro2000 merged 1 commit intoNixOS:stagingfrom
amadaluzia:tree-sitter-update
Feb 20, 2025
Merged

tree-sitter: update all grammars#382113
SuperSandro2000 merged 1 commit intoNixOS:stagingfrom
amadaluzia:tree-sitter-update

Conversation

@amadaluzia
Copy link
Member

@amadaluzia amadaluzia commented Feb 14, 2025

I have updated the tree-sitter grammars in response to #379367. I also fixed an issue with updating grammars caused by swift-tree-sitter.

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 25.05 Release Notes (or backporting 24.11 and 25.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

Add a 👍 reaction to pull requests you find important.

@github-actions github-actions bot added 10.rebuild-darwin: 11-100 This PR causes between 11 and 100 packages to rebuild on Darwin. 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux. labels Feb 14, 2025
@amadaluzia
Copy link
Member Author

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 382113


x86_64-linux

✅ 37 packages built:
  • diffsitter
  • emacsPackages.pygn-mode
  • emacsPackages.tree-sitter-ess-r
  • emacsPackages.tree-sitter-langs
  • tree-sitter-grammars.tree-sitter-c
  • tree-sitter-grammars.tree-sitter-css
  • tree-sitter-grammars.tree-sitter-cuda
  • tree-sitter-grammars.tree-sitter-cue
  • tree-sitter-grammars.tree-sitter-dart
  • tree-sitter-grammars.tree-sitter-earthfile
  • tree-sitter-grammars.tree-sitter-elixir
  • tree-sitter-grammars.tree-sitter-fish
  • tree-sitter-grammars.tree-sitter-fortran
  • tree-sitter-grammars.tree-sitter-gleam
  • tree-sitter-grammars.tree-sitter-go
  • tree-sitter-grammars.tree-sitter-godot-resource
  • tree-sitter-grammars.tree-sitter-heex
  • tree-sitter-grammars.tree-sitter-janet-simple
  • tree-sitter-grammars.tree-sitter-java
  • tree-sitter-grammars.tree-sitter-just
  • tree-sitter-grammars.tree-sitter-koka
  • tree-sitter-grammars.tree-sitter-ledger
  • tree-sitter-grammars.tree-sitter-nix
  • tree-sitter-grammars.tree-sitter-nu
  • tree-sitter-grammars.tree-sitter-ocaml
  • tree-sitter-grammars.tree-sitter-ocaml-interface
  • tree-sitter-grammars.tree-sitter-php
  • tree-sitter-grammars.tree-sitter-prisma
  • tree-sitter-grammars.tree-sitter-pug
  • tree-sitter-grammars.tree-sitter-python
  • tree-sitter-grammars.tree-sitter-query
  • tree-sitter-grammars.tree-sitter-rust
  • tree-sitter-grammars.tree-sitter-scala
  • tree-sitter-grammars.tree-sitter-sql
  • tree-sitter-grammars.tree-sitter-templ
  • tree-sitter-grammars.tree-sitter-tera
  • tree-sitter-grammars.tree-sitter-twig

Copy link
Member

@NotAShelf NotAShelf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@wegank wegank added the 12.approvals: 1 This PR was reviewed and approved by one person. label Feb 17, 2025
@amadaluzia amadaluzia marked this pull request as draft February 17, 2025 15:32
@amadaluzia
Copy link
Member Author

I have drafted the PR because I noticed an anomoly with the tree-sitter-swift grammar.

@amadaluzia amadaluzia force-pushed the tree-sitter-update branch 5 times, most recently from a9cc49a to 033e7b3 Compare February 19, 2025 03:32
@amadaluzia amadaluzia marked this pull request as ready for review February 19, 2025 03:33
@amadaluzia
Copy link
Member Author

PR is ready to merge, turns out the Swift grammar has an upstream build issue, i think it's worth actually updating the known grammars and then figuring out Swift another day.

@wegank wegank removed the 12.approvals: 1 This PR was reviewed and approved by one person. label Feb 20, 2025
@SuperSandro2000 SuperSandro2000 merged commit 9f0f611 into NixOS:staging Feb 20, 2025
37 of 39 checks passed
@kimburgess kimburgess mentioned this pull request Apr 28, 2025
13 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

10.rebuild-darwin: 11-100 This PR causes between 11 and 100 packages to rebuild on Darwin. 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants