Commit Graph

27528 Commits

Author SHA1 Message Date
Profpatsch
a953387d22 tree-sitter/update: move checkTreeSitterRepos into python impl
Direct translation of the jq set logic.
2022-11-04 18:14:33 +01:00
Profpatsch
923975a604 tree-sitter/update: BINARIES -> ARGS.binaries
I want to pass more information in the next step, so binaries are just
one of multiple elements of the json value.

Generate a json file via `format` so that we get nicer
formatting (`lib.generators.toJSON` uses `builtins.toJSON` which does
not add any whitespace).
2022-11-04 18:14:33 +01:00
Profpatsch
aa480ba111 tree-sitter/update: Move json file output to python
Removes the second-to-last use of jq from the shell script.
2022-11-04 18:14:33 +01:00
Profpatsch
965c698e2c tree-sitter/update: ARGLIB_JSON -> BINARIES, factor out wrapper
arglib is a term I coined for passing arguments as structured
environment variable, but in this case it’s probably easier to
understand if we just call it `BINARIES`.

Factors out the code that passes the environment to another script.
2022-11-04 18:14:33 +01:00
Profpatsch
ef9d708262 tree-sitter: Update grammars 2022-11-04 18:14:33 +01:00
Profpatsch
2de554d512 tree-sitter/update: Fetch repositories in parallel
This was the main annoyance with the existing script, it would fetch
one repository after the other instead of multiple in parallel.
The `xe` tool is a simple `xargs`-like that can do that.

We put the json information for all repositories into a file with one
object per line, then pass that to xe.
2022-11-04 18:14:33 +01:00
Profpatsch
a64a9d5552 tree-sitter/update: Write files atomically
Otherwise you can’t interrupt the process without creating
broken/half-written files.
2022-11-04 18:14:33 +01:00
Profpatsch
26cb66b681 tree-sitter/update: Fetch the existing repos from python as well
I also used the chance to add some type annotations and make sure they
get accepted by mypy.
2022-11-04 18:14:33 +01:00
Profpatsch
805b5e978d tree-sitter/update: get executables from nix instead of environment
This was a small bug, the update script should of course not depend on
any executables in the environment.

Since we don’t use a nix string anymore, interpolation is out of the
question, so we pass it as arglib environment json string.
2022-11-04 18:14:33 +01:00
Profpatsch
0d067c8603 tree-sitter/update: move pyhon impl into its own file
This helps with syntax highlighting & editor support
2022-11-04 18:14:33 +01:00
Profpatsch
673676319b tree-sitter/update: factor out github url 2022-11-04 18:14:33 +01:00
Profpatsch
7948439959 tree-sitter/update: prepare moving more stuff to python
I don’t want to split up the python code, so for now I’m just passing
a “mode” to the script to run a different subset of the functionality.
2022-11-04 18:14:33 +01:00
Profpatsch
d325f6f702 tree-sitter: partially rewrite update script in python
The update script is getting out of hand, so we should rewrite it in
something that resembles sanity, i.e. Python

This is the first step, rewriting the part that checks and fetches a
release.

Next up is integrating latestGithubRepos into that script.
2022-11-04 18:14:33 +01:00
figsoda
6007000f3d
Merge pull request #199368 from figsoda/hakari
cargo-hakari: 0.9.14 -> 0.9.15, add figsoda as a maintainer
2022-11-04 10:31:14 -04:00
figsoda
6ca88b3b7a
Merge pull request #199366 from figsoda/guppy
cargo-guppy: init at unstable-2022-10-29
2022-11-04 10:31:06 -04:00
Lassulus
ec3c2c40af
Merge pull request #192813 from wucke13/gitlab-tools
Gitlab tools
2022-11-04 12:41:50 +01:00
Mario Rodas
0d37b673ff
Merge pull request #199233 from techknowlogick/cirrus-cli-0910
cirrus-cli: 0.89.0 -> 0.91.0
2022-11-04 06:36:54 -05:00
Mario Rodas
1e53371bda
Merge pull request #199348 from r-ryantm/auto-update/k6
k6: 0.40.0 -> 0.41.0
2022-11-04 06:33:11 -05:00
Mario Rodas
dcb6d7b629
Merge pull request #199347 from r-ryantm/auto-update/jql
jql: 5.1.1 -> 5.1.2
2022-11-04 06:32:49 -05:00
R. Ryantm
ce910dae21 jo: 1.7 -> 1.9 2022-11-04 19:11:44 +08:00
Maximilian Bosch
906847f972
Merge pull request #198781 from Ma27/bump-strace
strace: 5.19 -> 6.0
2022-11-04 12:05:07 +01:00
R. Ryantm
04a7bd14b8 allure: 2.19.0 -> 2.20.0 2022-11-04 06:25:40 -04:00
R. Ryantm
f622acfa26 htmltest: 0.16.0 -> 0.17.0 2022-11-04 08:29:27 +00:00
R. Ryantm
26de396aa8 grpc-gateway: 2.12.0 -> 2.13.0 2022-11-04 12:20:08 +08:00
Uri Baghin
949e592ed6
Revert "bazel: 5.2.0 -> 5.3.2" 2022-11-04 14:47:55 +11:00
Yureka
67c861254a
cargo-c: 0.9.2 -> 0.9.13 (#198309) 2022-11-03 20:08:42 +01:00
Christian Kögler
2de831ffbf
Merge pull request #199355 from figsoda/ruff
ruff: 0.0.97 -> 0.0.99
2022-11-03 19:55:45 +01:00
figsoda
d24951f9b1 cargo-hakari: 0.9.14 -> 0.9.15, add figsoda as a maintainer 2022-11-03 12:14:26 -04:00
figsoda
789bfc32cb ruff: 0.0.97 -> 0.0.99 2022-11-03 11:57:47 -04:00
figsoda
936a742b05
Merge pull request #199177 from figsoda/cargo-deny
cargo-deny: 0.13.2 -> 0.13.3
2022-11-03 11:51:05 -04:00
figsoda
4660aeb783 cargo-guppy: init at unstable-2022-10-29 2022-11-03 11:42:17 -04:00
Aaron Andersen
92215627b7
Merge pull request #199354 from newAM/github-runner
github-runner: 2.299.0 -> 2.299.1
2022-11-03 11:33:26 -04:00
R. Ryantm
df1977c98f jo: 1.6 -> 1.7 2022-11-03 23:15:13 +08:00
Alex Martens
2f5e761576 github-runner: 2.299.0 -> 2.299.1 2022-11-03 07:30:36 -07:00
Mario Rodas
64543d86ae
Merge pull request #199333 from r-ryantm/auto-update/esbuild
esbuild: 0.15.12 -> 0.15.13
2022-11-03 09:28:11 -05:00
figsoda
e5691c322f
Merge pull request #199161 from figsoda/ruff
ruff: 0.0.94 -> 0.0.97
2022-11-03 10:18:00 -04:00
R. Ryantm
84f4f1ce8a k6: 0.40.0 -> 0.41.0 2022-11-03 13:51:09 +00:00
R. Ryantm
93298155cf jql: 5.1.1 -> 5.1.2 2022-11-03 13:49:17 +00:00
Pascal Wittmann
c1bebff09f
Merge pull request #198776 from r-ryantm/auto-update/checkstyle
checkstyle: 10.3.4 -> 10.4
2022-11-03 13:56:17 +01:00
R. Ryantm
2bf37be300 esbuild: 0.15.12 -> 0.15.13 2022-11-03 12:11:25 +00:00
Mario Rodas
3e580b37a4
Merge pull request #199287 from r-ryantm/auto-update/faas-cli
faas-cli: 0.14.11 -> 0.15.2
2022-11-03 00:07:25 -05:00
Mario Rodas
b8b65d5dae
Merge pull request #199289 from r-ryantm/auto-update/flyway
flyway: 9.6.0 -> 9.7.0
2022-11-03 00:06:43 -05:00
figsoda
860c4f7951 ruff: 0.0.94 -> 0.0.97 2022-11-02 23:43:16 -04:00
Uri Baghin
0194224a0f
Merge pull request #198016 from dmivankov/bazel-5.3.2
bazel: 5.2.0 -> 5.3.2
2022-11-03 14:22:16 +11:00
R. Ryantm
d8f838c3db flyway: 9.6.0 -> 9.7.0 2022-11-03 02:43:51 +00:00
R. Ryantm
7c50aa430d faas-cli: 0.14.11 -> 0.15.2 2022-11-03 02:18:28 +00:00
figsoda
54a06affe4
Merge pull request #199280 from r-ryantm/auto-update/cargo-deps
cargo-deps: 1.4.1 -> 1.5.0
2022-11-02 21:42:09 -04:00
figsoda
8af09ac9bd
Merge pull request #199275 from r-ryantm/auto-update/cargo-nextest
cargo-nextest: 0.9.40 -> 0.9.42
2022-11-02 21:36:12 -04:00
R. Ryantm
08b11dc31e cargo-deps: 1.4.1 -> 1.5.0 2022-11-03 01:16:38 +00:00
Thiago Kenji Okada
d979c7ea78
Merge pull request #199273 from r-ryantm/auto-update/clj-kondo
clj-kondo: 2022.10.14 -> 2022.11.02
2022-11-03 01:02:07 +00:00