Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ The package version runs on its own semver; the schema it is generated from is `

## Unreleased

## 0.152.0 (2026-11-25)

- **The lint says when it could not read a file.** `python -m onlyworlds.lint` runs the checker of schema-dist serial 146: a `world.json` or an element file whose JSON this Python cannot hold (nested deeper than its parser goes, or a number longer than it converts) gets one line saying it was not read, the check goes on, and the last line counts it. The command exits 3 when nothing it read has a problem but a file was not read. Before, a file nested too deep stopped the check with a `RecursionError`, and a number too long was counted as a problem, `not JSON`. The checker also takes a file only directly in a type folder, with a name ending in `.json` in that case and not beginning with a dot, and passes over everything under a dot-named folder.
- The schema pin moves to `v0.34.1-dist.146` (canonical 00.34.01 unchanged, no schema file moved). The tests replay what the serial adds: one more address prose case, the calendar's 79th case, and the `.owworld` set at 109 archives, among them the four on a fixed name held only in another case, which 0.151.0 already answers.

## 0.151.0 (2026-11-25)

### Changed
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ The lint checks a world folder's shape against the schema: a file outside the 22
python -m onlyworlds.lint moppetopia
```

One line per problem, then the count it checked. Exit 0 when clean, 1 with problems, 2 when the folder is not a world folder. The checker is schema-dist's own `walk/lint_folder.py`, copied byte for byte at this package's schema pin and run on the dist's `schema.json`, so it gives the same report as the dist's command and needs no YAML library. From code: `onlyworlds.lint.lint(folder)` returns the report (`problems`, `warnings`, `summary`).
One line per problem, then the count it checked. A file whose JSON Python cannot hold (nested too deep, or a number too long) gets one line saying it was not read, and the check goes on. Exit 0 when clean, 1 with problems, 2 when the folder is not a world folder, 3 when nothing it read has a problem but a file was not read. The checker is schema-dist's own `walk/lint_folder.py`, copied byte for byte at this package's schema pin and run on the dist's `schema.json`, so it gives the same report as the dist's command and needs no YAML library. From code: `onlyworlds.lint.lint(folder)` returns the report (`problems`, `warnings`, `summary`).

## Errors

Expand Down
31 changes: 22 additions & 9 deletions codegen/schema-dist/MANIFEST.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@
"fixtures/owworld/fail-OW-17-duplicate.owworld": "81f9bfd2c2ebdc8f06c548f57aff6cf92b32ff69ea8a252c8ce82223ffbe3f45",
"fixtures/owworld/fail-OW-18-case.owworld": "8a6f06da4e029ba85d42871270f23d783c2e96ac0fb3669cd11753df3b779445",
"fixtures/owworld/fail-OW-18-final-sigma.owworld": "5657a1e3095ce1c52e1b81586f813b31cd4ad0bf1cb316dd0e6d48632e35015c",
"fixtures/owworld/fail-OW-18-folder-case-alone.owworld": "25d17b76b22bcf51728e6cf500abbd4e4e38ece72230ab07bd108432aea1ae64",
"fixtures/owworld/fail-OW-18-folder-case.owworld": "8faaece9c3dc5b4365c6c48bce62edcb7c0d689a3fb3e3839e4c838d59d2edd7",
"fixtures/owworld/fail-OW-18-iota-oxia.owworld": "2be80e91f1a44f3c2828ea146e2b2f9d7f54053c671e90b3b0747b07f59a4f9b",
"fixtures/owworld/fail-OW-18-nfc-exclusion.owworld": "f5fbe93aebb0d36ed16d80c7b12d955f259581fde7e4b12b0a5baf51fb1f3d71",
Expand All @@ -77,6 +78,7 @@
"fixtures/owworld/fail-OW-18-nfc-singleton.owworld": "3a59fafe021dd7ac4c37054d82f09be426cff46ba1a2363b2162b92560a24f59",
"fixtures/owworld/fail-OW-18-nfc-then-fold.owworld": "d3ac0406fab115629ab33bfbefdc2ea8b56d9bb5a8fd61b7914f6f90a635b58a",
"fixtures/owworld/fail-OW-18-st-ligature.owworld": "dbab3c468e1c6689da96bdf38749fb4bba3e8730d03c35151cfbfdbae77bf61c",
"fixtures/owworld/fail-OW-18-world-case-alone.owworld": "2c849b2c2b17159b4342f5bd62fe232558e809f4fe647298d3658c061467db5e",
"fixtures/owworld/fail-OW-19-file-and-folder.owworld": "49be668aad2e13604b83a3ecd62e79b5bfc572669f50b565226a587a8e8608bc",
"fixtures/owworld/fail-OW-2-no-world.owworld": "81aeaa3cf47f0b9e3a4aa3a2b4ef37cd6c544a35f93a777442ab0fbad441f40e",
"fixtures/owworld/fail-OW-2-root-and-folder.owworld": "4a967c89e97e230daa857527d13eec3c589546bb441cc7f35a9dc1999b1c7e74",
Expand All @@ -96,6 +98,12 @@
"fixtures/owworld/fail-OW-22-reserved-char.owworld": "61e85c56fd7ceb7872f44a802afb56e90c1499934c2c13e2f8dfa6b51d94917a",
"fixtures/owworld/fail-OW-22-trailing-dot.owworld": "b6b0f4cd6699ab5b7510e9e5174dda673f60a7bde00c0503007ef4a882ff5170",
"fixtures/owworld/fail-OW-22-trailing-space.owworld": "0600009ca1e1ca13ffd85f50a5c48fb568f64159b8cea9deec88b78fbb41e23a",
"fixtures/owworld/fail-OW-23-share-carries-hidden.owworld": "39f9df63b670ea3d57f7ed7ad84f3b3294fa026949939835ac35e964649f2ae9",
"fixtures/owworld/fail-OW-23-share-carries-moved.owworld": "d3653fb3e858183e8e890add1323b51a05921b3ebbdd7cccc84a6bc2d20f0085",
"fixtures/owworld/fail-OW-23-share-carries-notes.owworld": "41ea479cc05ab3cec1a5ef234232b89137d63963503ff98c5fbd76313f00a730",
"fixtures/owworld/fail-OW-23-share-carries-twin.owworld": "3d14536c777e1b9b53832479d4b6aee06036063f70aa590279e0afe5200cb566",
"fixtures/owworld/fail-OW-23-share-carries-unread.owworld": "3f1b2e7f7ca3e411f519e869c1ae3a8849ff2bdd7626ee28c55f09be68b205e9",
"fixtures/owworld/fail-OW-23-share-carries-untyped.owworld": "8a4ea219edac7fc018cb14d82f5457a0f5c2e77367d0b456eb33f388530adb0f",
"fixtures/owworld/fail-OW-3-array.owworld": "6cededb313e38bb73474890587d10cda608440030eef5ad27f487060fa638ff6",
"fixtures/owworld/fail-OW-3-blank-id.owworld": "19189cba558889eba5c5f7d5b7133668ec845d08b7dcea3cd6b26e0b027fbb0c",
"fixtures/owworld/fail-OW-3-no-id.owworld": "0c26aca58f7f89f41b5c466de544b4f0a06d52b3eee94e325f901b1df60883b6",
Expand All @@ -114,7 +122,7 @@
"fixtures/owworld/fail-OW-8-producer-meta-dropped.owworld": "4fa8e3a1f0ba92f38db1e29223ae1bd3c6df5346c34bb6b6eb1e4cf1a8d20259",
"fixtures/owworld/fail-OW-8-records-missing.owworld": "128fff91a82385acca5a23eb7dcc7605d19aac1a4349bfcb7134e3136aa69e32",
"fixtures/owworld/fail-OW-8-records-reencoded.owworld": "128261249c08c26ea19a54872c02c313d8492ca17586f295e83fb40e9126a96c",
"fixtures/owworld/generate.py": "de0a8ff28f774a5ad55f72530f5cfe97f229f9ab16085a626b41c44137d238d4",
"fixtures/owworld/generate.py": "a1d7cb25bc3c5ffb31814cee43b5c0c2fda0c0c5da86cd7cd9e1df16b29ee4f8",
"fixtures/owworld/pass-good.owworld": "11a577b054b87cc8e7d66f8070d791d413f3ab7527d4de82a9d19abbf5d1e856",
"fixtures/owworld/pass-OW-1-renamed.zip": "11a577b054b87cc8e7d66f8070d791d413f3ab7527d4de82a9d19abbf5d1e856",
"fixtures/owworld/pass-OW-10-api.owworld": "2304fcdaeb1ce7cbcc9aec2222716ba1219f347296d87d26df3e02273955fe1a",
Expand All @@ -127,9 +135,14 @@
"fixtures/owworld/pass-OW-2-root.zip": "ad8cf61fe8efa9701b4cef25103fbe0adc41d01185e5cb8e561d3947089aa4dd",
"fixtures/owworld/pass-OW-20-modes.owworld": "28bda69a81f290b0d8440511033a54c606781e312e25218b16fb7ec1d3837341",
"fixtures/owworld/pass-OW-22-con-prefix.owworld": "42ab3a54ec99c0a36eeffb4473dfc3bfc805220b816b61e51f3db6f62ed4d897",
"fixtures/owworld/pass-OW-23-copy-carries-unread.owworld": "bf02ce9ee885bea0d677d917bc83dda4e8b4833595818cdb5140ce2ac6f2ef05",
"fixtures/owworld/pass-OW-23-share-leaves-unread-out.owworld": "11a577b054b87cc8e7d66f8070d791d413f3ab7527d4de82a9d19abbf5d1e856",
"fixtures/owworld/pass-OW-24-spatial-type-case.owworld": "51e50436e02ccd8bd2978380fb64ea5688da32ee7fc697fc7adb480ab39e5be1",
"fixtures/owworld/pass-OW-24-spatial-untyped.owworld": "cc39ecd74848be036925a5aeb12bfa0390b470525baf0a7d87cf3b6fc160379d",
"fixtures/owworld/pass-OW-4-archive-junk.owworld": "b7ca25bda4354a71dfaf5202dfea97dec3079167b31622a343a55fad372bcde2",
"fixtures/owworld/pass-OW-4-readme.owworld": "8985f68a3336787042eb61127507f5fa41c95fa8188c39c1769ee7ce2860667b",
"fixtures/owworld/pass-OW-4-tool-folder.owworld": "424b5f898d0db6b38d73abca6e03bbf7d8e74f707af7f0096b11c04f86c5b315",
"fixtures/owworld/pass-OW-5-dot-folder-inside.owworld": "1c5526d2a56712cccb9c66d503de22460d436fbb0581b214567ac15bff46bc83",
"fixtures/owworld/pass-OW-6-marker-deflated.owworld": "5b0e9908582939b9918bbf6f68bf9bbbe77e931a3185aa4bd356259b14f6914d",
"fixtures/owworld/pass-OW-6-marker-not-first.owworld": "7c81b4356c45e4d9f86c7e9e11de3de6c6bd5d6428c13655c6fd5e08ab95239f",
"fixtures/owworld/pass-OW-6-marker.owworld": "d7b15768cab7a96fdc4f580a75f6f7f47e9ae28be9e685cb057f904e8e2d5e81",
Expand All @@ -138,14 +151,14 @@
"fixtures/owworld/pass-OW-9-roundtrip.owworld": "ea5a1087df2b0006aa7230ca75de69f491238bff3a565114e0037ad8eb6d5c2f",
"fixtures/owworld/pass-OW-9-unknown.owworld": "f220915504a75e7f8f644188d8868c6b7ce05834e24b6f47cea24890b9159eca",
"fixtures/owworld/UnicodeData-15.1.0.txt": "2fc713e6a31a87c4850a37fe2caffa4218180fadb5de86b43a143ddb4581fb86",
"fixtures/owworld/verdicts.json": "11f00045fb0d510cd550e2823ae52dab437c443b5e2011f7c959750bb4ccb5d3",
"fixtures/owworld/verdicts.json": "25d60a563ca822555c3202dffb7f8969f42490113444531af4f47264c885ace0",
"LICENSE": "3235f6ccc2b72375c517c1fdeef87954e8bfda17c5b1b485b98b5c2b4a1026d1",
"pairs.json": "18a9918a2a3581a09c584b02aa418c926a613bc1c75d526b6bc9a4ad0cd89021",
"presentation.json": "af84662c29628b6e90b923c9541f68f5924563adce397cebbadfdbf0f06e5f18",
"profiles/address.fixture.json": "e4ae843895f22333b162c930121386f0d586cb8b1fb8a99f3debdb7e3c33f9c3",
"profiles/address.md": "2fd4fe31e90d51818ba48e52e64ffcbdfa0a6a9e1404d7cca85646c52b2b5fd9",
"profiles/calendar.fixture.json": "0a013c3732eda70a42c4eab30555669af28983a5ba9f4a233addf0f06bedb4cd",
"profiles/calendar.md": "c81c63a46eb886cb9aeedf3a668f117ffc626ff711ee2b23a2a8a402b81c7c82",
"profiles/address.fixture.json": "922182d418225234184c5a7e3a3a152e2fde8059c0fe2aa98596a7faa0aab487",
"profiles/address.md": "94956efbc12335acd06b1ce49788c692262390acccd30d5c347659e6ddb61fee",
"profiles/calendar.fixture.json": "1caef0003392b60b9f0cf960232c009417c85d374ac8574c3b9fcec55adda7a9",
"profiles/calendar.md": "7ea97d91c0480b89078c84f303ee18b9da3cc648c0631974c72b145dd6344760",
"profiles/charter.fixture.json": "ea57091a988a4dd083d7d4cfc5e7985c6aa00f67fdce1b661c0d5023a15cbf35",
"profiles/charter.md": "b0d27c04cd5dfaf421b2a6e54d53c1fca8ad9be72aa16516bbd3b5600ae61daa",
"profiles/checks.fixture.json": "43586fddd94ebe9678bf46e6d744768a094f856b668c5917fe9e0dda46599251",
Expand Down Expand Up @@ -182,7 +195,7 @@
"profiles/spine.md": "6bd367c3f4b101878fbc54a3c8c806630b7760173f24fef995db801b6103d92e",
"profiles/strand.fixture.json": "7bc2d2dae11c0722b1db987c070b249ddcbc55b81683c4bfa26900c7ffe0fc53",
"profiles/strand.md": "2a9bd36814a0de80a68180d2d75d3ef9d2539b9dcd52165f20b8ef0821575488",
"README.md": "183cf2d12c61443fdff78d1f1cce5d3c94bf78c61a62ebd709736648347a27ce",
"README.md": "a847f5198a3b18de2b947db1630966692d4782da56979575473de41c6e5b1eab",
"schema/ability.yaml": "af185b2d22a5985ac323e6227a95df287fffaae0e5fca502976a02c2754f71b2",
"schema/base_properties.yaml": "ec3724ceb2faca973e431a2e2ff946e55bfb55b6b8d78689b6b22d0cfb7c9a2e",
"schema/character.yaml": "dc291b206121bd23c69cb89e01a0523eb2f71b4a247116dd6a1fa4bc227ff145",
Expand All @@ -209,10 +222,10 @@
"schema/zone.yaml": "cca04ee498fb813fa18b96f1ac99816e7f1a8ae1fb9e21c48b37620dbb674856",
"schema.json": "581dc7b5e890acc06b1c89b0d7bdcc2f20f54f52d5a3b4af8c5a184e1e6fd48c",
"SECURITY.md": "939ee364b06f0b749bdd4cbe66b2fe49322c95abe732650ec4ef062a0c03820a",
"VERSION": "4d9cd41f37e33db46e4fb6fe1a6ad610fc852a3472baea24c4578fda46942e85",
"VERSION": "d4cb014eb1322f6420f812d8408d37a4118bcd837fc7a1c0588c6e597da8e0f5",
"views.fixture.json": "f9a2713b26639d1cb2c792b9f28f95c57e576f8e6c123b5ad3eac2a2507dfcf8",
"views.json": "f4d06ee16bd6c66fc28cf27146b8d199c85164e5deecabafc23af53408746fe0",
"walk/lint_folder.py": "28efffa3a39d7f2ceaf69cae5c4ddce023e4989e7a5d2c26c1b4d4815eff386e",
"walk/lint_folder.py": "2c456cb917d692e3199f87bc6f7918bb20b91d6943d33feb0db0ac99519e1e87",
"walk/rulings.yaml": "1fb87ce4012d160b809e0aac50688c62405d2a5e6e303a57df84b98c249374ca",
"walk/schema_walk.py": "e4a490dda5133e3961252cd8675eb39e5b214df68f6a661fa8601ccd69e6aed0"
}
Expand Down
Loading
Loading