Commit Graph

8 Commits

Author SHA1 Message Date
Profpatsch
5f0ace20af tree-sitter/update: allow grammars to be fetched from other orgas
Some of the grammars are not in the official orga, like
tree-sitter-lua, so we make sure the updater knows how to fetch them.
2020-12-29 13:02:39 +01:00
Profpatsch
b4ff78a45b tree-sitter/update: pull repo argument into the nix code 2020-12-29 13:02:39 +01:00
Profpatsch
0b1bfd7d14 tree-sitter/update: make the repo check into a boolean test 2020-12-29 13:02:38 +01:00
Profpatsch
d2988dac8e tree-sitter/update: factor repo list into nix
We want the ability to add different orga repos as well, and that is a
lot easier on the nix level.
2020-12-29 13:02:38 +01:00
Profpatsch
a32c5d90e7 tree-sitter: update grammars
The new update scripts gives us a bunch of new grammars!
2020-12-29 12:46:30 +01:00
Profpatsch
c0a4b41afe tree-sitter: improve update script to fetch all available grammars
The update script would only fetch the few grammars listed in the
tree-sitter repository previously. But the tree-sitter github orga has
a rather large amount of officially supported grammars.

Thus we change the script to query the github APIs for repositories
instead (up to 100 this is supported without paging).

Since the repository list also contains some that are not grammars,
there is a bash script which lists all repos we are aware of and the
ones we want to ignore. It will make sure we don’t forget any
repositories in the future, by comparing to the actual list with jq.
2020-12-29 12:46:30 +01:00
Benjamin Hipple
9131efe52d tree-sitter: 0.15.7 -> 0.16.4
Includes some bugfixes/cleanups to the scripts and packaging, a run of the
updater, a bump of the version, an upgrade to the newer cargo fetcher in #79975,
and gets the web assembly portion to compile successfully.

Fixes #75863
2020-02-15 00:33:54 -05:00
Profpatsch
ffbad0f656 tree-sitter: init at 0.15.7 2019-08-24 15:13:47 +02:00