judgelint 0.2.2-aarch64-linux → 0.2.3-aarch64-linux
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +25 -0
- data/README.md +24 -6
- data/libexec/judgelint +0 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 78dea1676bc4e82ab8f9772535c10970f2566df61a67964f9601aeadbf571b58
|
|
4
|
+
data.tar.gz: 257ebfdcf43aaaa32699b11a84da28463ccf02d0b20edf86c38b9b69cf07dd12
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8f359c9eb0848f79d2b21bf516e40a6847466605d2d63c1ee3eadf16d9a0c882a20da200afa86e7340bd2423d5bfae7aae348a038fa64dc6036b93069a8e4553
|
|
7
|
+
data.tar.gz: 6e84f719b36eed50520118773ecea951bb8cb6f723e0178e7e4f2fc3bf6513e649831b9748ec00744eaea9c8fddbef7879f293a7ff1280d0915a126de28ddf08
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,30 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.2.3 (2026-10-30)
|
|
4
|
+
|
|
5
|
+
`--pr` uses the pull request's own specs and cache again, and hardening
|
|
6
|
+
from a fourth review.
|
|
7
|
+
|
|
8
|
+
- `--pr` reads only `.judgelint.yml` from the base branch, so a pull
|
|
9
|
+
request still can't change where its code is sent or which key goes with
|
|
10
|
+
it. Its own specs and cache are used, as in 0.2.0: a new convention
|
|
11
|
+
applies to the pull request that adds it, and CI can keep the cache
|
|
12
|
+
between pushes. 0.2.1 read both from the base branch, so new rules waited
|
|
13
|
+
for a merge and every push asked again.
|
|
14
|
+
- A `##` in a file name or an endpoint's error is escaped in text output,
|
|
15
|
+
so it can't run an Azure Pipelines (`##vso[`) or TeamCity command. JSON
|
|
16
|
+
and SARIF write it as `#\u0023`, which reads back the same.
|
|
17
|
+
- Under `--base` or `--pr`, adding or changing a link to a directory asks
|
|
18
|
+
that directory's directory rules.
|
|
19
|
+
- A directory with `[`, `*`, `?` or `{` in its name sends its own files to
|
|
20
|
+
directory rules. Its name was read as a pattern, which could match
|
|
21
|
+
nothing.
|
|
22
|
+
- A changed file whose name isn't UTF-8 fails the run. It was read as
|
|
23
|
+
whatever file its name decoded to.
|
|
24
|
+
- `judgelint init` won't write through a `CONVENTIONS.md` link.
|
|
25
|
+
- The README says that patterns skip names that start with a dot unless
|
|
26
|
+
they name the dot.
|
|
27
|
+
|
|
3
28
|
## 0.2.2 (2026-10-30)
|
|
4
29
|
|
|
5
30
|
Fixes from a third review of 0.2.1, which found ways around its fixes.
|
data/README.md
CHANGED
|
@@ -55,7 +55,9 @@ judgelint: 1 request, 940 input tokens, $0.0000, typesafe:jev-latest
|
|
|
55
55
|
```
|
|
56
56
|
|
|
57
57
|
That's all the setup there is. A `CONVENTIONS.md` covers the files in its
|
|
58
|
-
directory and below, except Markdown and
|
|
58
|
+
directory and below, except Markdown, lockfiles, and names that start with a
|
|
59
|
+
dot. A pattern in `paths:` matches a dotted name only when it names the dot,
|
|
60
|
+
like `.github/*.yml`. In a git repository,
|
|
59
61
|
judgelint skips what git ignores. It also skips binary files.
|
|
60
62
|
|
|
61
63
|
judgelint asks Jev on TypeSafe. To use another provider, set `models` in
|
|
@@ -251,13 +253,29 @@ run: one too large for the model, one the model refused to answer about,
|
|
|
251
253
|
even in part, one that leads outside the project, or a binary one. Images,
|
|
252
254
|
fonts, archives and other formats that are never code are left out instead.
|
|
253
255
|
|
|
256
|
+
To keep answers between pushes, keep the cache in your CI's cache. On
|
|
257
|
+
GitHub Actions:
|
|
258
|
+
|
|
259
|
+
```yaml
|
|
260
|
+
- uses: actions/cache@v4
|
|
261
|
+
with:
|
|
262
|
+
path: .judgelint/cache.bin
|
|
263
|
+
key: judgelint-${{ github.run_id }}
|
|
264
|
+
restore-keys: judgelint-
|
|
265
|
+
- run: judgelint --pr --format github
|
|
266
|
+
```
|
|
267
|
+
|
|
254
268
|
### Pull requests from people you don't trust
|
|
255
269
|
|
|
256
|
-
`--pr` reads `.judgelint.yml
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
270
|
+
`--pr` reads `.judgelint.yml` from the base branch, not from the pull
|
|
271
|
+
request, so a pull request can't change where its code is sent or which
|
|
272
|
+
API key goes with it.
|
|
273
|
+
|
|
274
|
+
The pull request's own specs and cache are used, so a new or changed
|
|
275
|
+
convention applies to it right away. That also means a pull request can
|
|
276
|
+
change its rules or the answers in its cache. Review those like any other
|
|
277
|
+
change, and have GitHub hold workflow runs on pull requests from forks
|
|
278
|
+
until you approve them (Settings → Actions).
|
|
261
279
|
|
|
262
280
|
`--pr` judges what the pull request committed. Anything else in the
|
|
263
281
|
checkout, like a file an earlier CI step wrote, is never sent, whatever the
|
data/libexec/judgelint
CHANGED
|
Binary file
|