Repository navigation
Commit c30efbe
committed
Restore the +test build marker and drop the now-unneeded version-shortcode string guard
PR #14894 rewrote init.lua's version() to always return a pandoc.types.Version,
normalizing the quarto-version filter param to its leading dotted-numeric
component. quarto.version can no longer be a plain string, so the tostring()
fallback added to version.lua for that case guards a condition that cannot
occur, and main's own quarto-version-repr test asserts table.concat succeeds
across plain, four-component, build-metadata, and non-numeric inputs.
The +test.<date> build-metadata marker on built test distributions is kept
deliberately (D2 in llm-docs/built-version-testing-architecture.md): it lets a
built test dist announce itself as a CI trial build in `quarto --version`
while keeping quarto-required range comparisons valid, and #14894 already
makes the marker invisible to Lua filters, which was the only real problem it
used to cause.1 parent 6c11b16 commit c30efbe
4 files changed
Lines changed: 11 additions & 14 deletions
File tree
- .github/workflows
- llm-docs
- src/resources/extensions/quarto/version
- tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
| 57 | + | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
| 60 | + | |
| 61 | + | |
61 | 62 | | |
62 | 63 | | |
63 | 64 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
217 | 217 | | |
218 | 218 | | |
219 | 219 | | |
220 | | - | |
| 220 | + | |
221 | 221 | | |
222 | | - | |
223 | | - | |
224 | | - | |
225 | | - | |
226 | | - | |
227 | | - | |
228 | | - | |
229 | | - | |
230 | | - | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
231 | 227 | | |
232 | 228 | | |
233 | 229 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
490 | 490 | | |
491 | 491 | | |
492 | 492 | | |
493 | | - | |
| 493 | + | |
494 | 494 | | |
495 | 495 | | |
496 | 496 | | |
| |||
0 commit comments