Repository navigation
Commit 1642050
fix(scripts): repoint checks at the .adoc files that exist (#191)
The `.md` → `.adoc` documentation migration moved these files but never
updated the scripts that **read** them, so every check naming a `.md`
has been operating on a file that no longer exists.
**Repointed:** CHANGELOG.md->CHANGELOG.adoc
MAINTAINERS.md->MAINTAINERS.adoc TEST-NEEDS.md->TEST-NEEDS.adoc
Three failure modes were in play across the estate, all fixed by the
same change:
| shape | effect |
|---|---|
| `check "X.md exists" "[ -f X.md ]"` | **hard fail** — can never pass |
| `[ -f X.md ] && ((doc_score++))` | silently scores lower |
| `if [ -f X.md ]; then …greps… fi` | **silent skip** — the block never
runs, so the gate reports success by *not checking* |
Labels are repointed too, so failure messages name the file actually
inspected. Where a script did `git add … X.md`, that is fixed as well —
it would have failed at release time.
Only tokens whose `.adoc` twin exists here were rewritten; anything
without a twin was left for separate triage.
Found by an estate-wide sweep of 454 repos: **56 such checks across 18
repos**. Same class as **hyperpolymath/Axiom.jl#82**.
---------
Signed-off-by: Jonathan D.A. Jewell <6759885+hyperpolymath@users.noreply.github.com>
Co-authored-by: codacy-production[bot] <61871480+codacy-production[bot]@users.noreply.github.com>
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>1 parent 5806755 commit 1642050
3 files changed
Lines changed: 14 additions & 14 deletions
File tree
- asdf-augmenters/asdf-ghjk/scripts
- rescript-ecosystem
- packages/ffi/wasm-runtime/scripts
- rescript-string-power/tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
| 67 | + | |
68 | 68 | | |
69 | | - | |
| 69 | + | |
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| |||
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
118 | | - | |
| 118 | + | |
119 | 119 | | |
120 | | - | |
121 | | - | |
| 120 | + | |
| 121 | + | |
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
| |||
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
143 | | - | |
| 143 | + | |
144 | 144 | | |
145 | 145 | | |
146 | 146 | | |
| |||
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
155 | | - | |
156 | | - | |
157 | | - | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
158 | 158 | | |
159 | 159 | | |
160 | 160 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | | - | |
| 72 | + | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
| 75 | + | |
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
| |||
278 | 278 | | |
279 | 279 | | |
280 | 280 | | |
281 | | - | |
282 | | - | |
| 281 | + | |
| 282 | + | |
283 | 283 | | |
284 | 284 | | |
285 | 285 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| |||
0 commit comments