diff --git a/.ort/package-configurations/unpackrat-build-tests-godot-minimal-registration.yml b/.ort/package-configurations/unpackrat-build-tests-godot-minimal-registration.yml index a0662f3..7850499 100644 --- a/.ort/package-configurations/unpackrat-build-tests-godot-minimal-registration.yml +++ b/.ort/package-configurations/unpackrat-build-tests-godot-minimal-registration.yml @@ -1,6 +1,6 @@ { - "id": "SpdxDocumentFile:vcpkg:unpackrat-build-tests-godot-minimal-registration:d66112c9be28f69144f3416de3957a255344fde6d64f037c4948f28f3b57da0f", - "source_artifact_url": "http://127.0.0.1:8765/sources/d66112c9be28f69144f3416de3957a255344fde6d64f037c4948f28f3b57da0f.tar", + "id": "SpdxDocumentFile:vcpkg:unpackrat-build-tests-godot-minimal-registration:bcabbb530573d2bc6dadb221c8f0c35025a2af156e2723e4db44647eaac5412a", + "source_artifact_url": "http://127.0.0.1:8765/sources/bcabbb530573d2bc6dadb221c8f0c35025a2af156e2723e4db44647eaac5412a.tar", "license_finding_curations": [ { "path": "build/tests/test_godot_minimal_registration.py", diff --git a/README.md b/README.md index aebce25..dd60e41 100644 --- a/README.md +++ b/README.md @@ -20,9 +20,10 @@ from the module's release listing below. |--------|---------|---------|-----------| | Ren'Py | `.rpa` (RPA-1.0 with adjacent `.rpi`, RPA-2.0, RPA-3.0) | [renpy](https://github.com/refaim/unpackrat/releases?q=renpy) | [RU](src/modules/renpy/ChangeLog.ru.txt) [EN](src/modules/renpy/ChangeLog.en.txt) | | RPG Maker | `.rgssad` (XP, RGSS1), `.rgss2a` (VX, RGSS2), `.rgss3a` (VX Ace, RGSS3) | [rpgmaker](https://github.com/refaim/unpackrat/releases?q=rpgmaker) | [RU](src/modules/rpgmaker/ChangeLog.ru.txt) [EN](src/modules/rpgmaker/ChangeLog.en.txt) | -| Zanzarah | `.pak` | [zanzarah 2.3.0](https://github.com/refaim/unpackrat/releases?q=zanzarah) | [RU](src/modules/zanzarah/ChangeLog.ru.txt) [EN](src/modules/zanzarah/ChangeLog.en.txt) | -| Godot | `.pck` | [godot 1.2.0](https://github.com/refaim/unpackrat/releases?q=godot) | [RU](src/modules/godot/ChangeLog.ru.txt) [EN](src/modules/godot/ChangeLog.en.txt) | +| Zanzarah | `.pak` | [zanzarah](https://github.com/refaim/unpackrat/releases?q=zanzarah) | [RU](src/modules/zanzarah/ChangeLog.ru.txt) [EN](src/modules/zanzarah/ChangeLog.en.txt) | +| Godot | `.pck` | [godot](https://github.com/refaim/unpackrat/releases?q=godot) | [RU](src/modules/godot/ChangeLog.ru.txt) [EN](src/modules/godot/ChangeLog.en.txt) | | WolfRPG | `.wolf`, `.wolfx` | [wolfrpg](https://github.com/refaim/unpackrat/releases?q=wolfrpg) | [RU](src/modules/wolfrpg/ChangeLog.ru.txt) [EN](src/modules/wolfrpg/ChangeLog.en.txt) | +| Unity | Unity serialized files and asset bundles (e.g. `.assets`, `.bundle`, `.unity3d`) | [unity](https://github.com/refaim/unpackrat/releases?q=unity) | [RU](https://github.com/refaim/unpackrat/blob/unity/v1.0.0/src/modules/unity/ChangeLog.ru.txt) [EN](https://github.com/refaim/unpackrat/blob/unity/v1.0.0/src/modules/unity/ChangeLog.en.txt) | Each module ZIP carries the module DLL for one architecture, its `observer_user.ini`, both human-written change logs and a generated `LICENSES.txt` at the archive root. diff --git a/build/tests/fixtures/license_package_configurations/firstparty_artifacts.json b/build/tests/fixtures/license_package_configurations/firstparty_artifacts.json index bd37c83..93180f0 100644 --- a/build/tests/fixtures/license_package_configurations/firstparty_artifacts.json +++ b/build/tests/fixtures/license_package_configurations/firstparty_artifacts.json @@ -73,9 +73,9 @@ { "name": "unpackrat-build-tests-godot-minimal-registration", "member": "build/tests/test_godot_minimal_registration.py", - "version": "d66112c9be28f69144f3416de3957a255344fde6d64f037c4948f28f3b57da0f", - "sha256": "d66112c9be28f69144f3416de3957a255344fde6d64f037c4948f28f3b57da0f", - "artifact_filename": "d66112c9be28f69144f3416de3957a255344fde6d64f037c4948f28f3b57da0f.tar", + "version": "bcabbb530573d2bc6dadb221c8f0c35025a2af156e2723e4db44647eaac5412a", + "sha256": "bcabbb530573d2bc6dadb221c8f0c35025a2af156e2723e4db44647eaac5412a", + "artifact_filename": "bcabbb530573d2bc6dadb221c8f0c35025a2af156e2723e4db44647eaac5412a.tar", "extension": ".tar", "curations": [ { diff --git a/build/tests/test_godot_minimal_registration.py b/build/tests/test_godot_minimal_registration.py index 23f6b73..b2a4117 100644 --- a/build/tests/test_godot_minimal_registration.py +++ b/build/tests/test_godot_minimal_registration.py @@ -539,9 +539,30 @@ def test_readme_publishes_godot_latest_notes(self) -> None: self.assertEqual(version, GODOT_VERSION) self.assertNotIn("licenses/VC-LTL5.txt", readme) self.assertIn("| Module | Formats | Release | ChangeLog |", readme) - self.assertIn("| Godot | `.pck` | [godot 1.2.0](", readme) - self.assertIn("| Zanzarah | `.pak` | [zanzarah 2.3.0](", readme) - self.assertIn("https://github.com/refaim/unpackrat/releases?q=godot", readme) + release_labels = { + match.group(1) + for match in re.finditer( + r"^\|\s*[^|]+\|\s*[^|]+\|\s*\[([^\]]+)\]\([^)]*\)\s*\|", + readme, + re.MULTILINE, + ) + } + self.assertEqual( + release_labels, + {"renpy", "rpgmaker", "zanzarah", "godot", "wolfrpg", "unity"}, + ) + for module in ("renpy", "rpgmaker", "zanzarah", "godot", "wolfrpg", "unity"): + self.assertIn( + f"https://github.com/refaim/unpackrat/releases?q={module}", readme + ) + self.assertIn( + "| Unity | Unity serialized files and asset bundles " + "(e.g. `.assets`, `.bundle`, `.unity3d`) | " + "[unity](https://github.com/refaim/unpackrat/releases?q=unity) | " + "[RU](https://github.com/refaim/unpackrat/blob/unity/v1.0.0/src/modules/unity/ChangeLog.ru.txt) " + "[EN](https://github.com/refaim/unpackrat/blob/unity/v1.0.0/src/modules/unity/ChangeLog.en.txt) |", + readme, + ) self.assertNotIn("<<<<<<<", readme) self.assertNotIn("planned first release", readme) build_system = (REPOSITORY_ROOT / "docs" / "build-system.md").read_text(encoding="utf-8")