Files
lincodex/scripts
..
2026-10-05 14:23:31 +03:00
2026-10-05 14:23:31 +03:00
2026-10-05 14:23:31 +03:00

Shared scripts

Русский | English

Helper tools that work across multiple parts of the repository.

  • merge-schemas.py merges OpenAPI schemas; requirements-codegen.txt lists its dependencies.
  • check-api-compat.sh checks public API compatibility against a selected Git ref.
  • check-generated.py detects generated files that differ from Git.
  • docs-check.py checks documentation, README language pairs, and local links.
  • test_docs_check.py and test_merge_schemas.py test documentation validation and schema merging; test_contract_copies.py checks that the OpenAPI 3.2 fixture and the ML contract keep identical copies of the api/core conventions.
  • test_workflow_aggregate.py checks every workflow in .github/workflows that has an aggregate job: the aggregate needs every other job and runs with if: always(), and every needs entry names an existing job. The test uses only the Python standard library and fails when it does not recognize the workflow structure.

Run them through Make from the repository root: make -C api check, make -C api check-compat API_BASE_REF=<ref>, make check-generated, make docs-check, and make -C deploy check-workflows (part of make -C deploy check). Service-specific scripts live in their service directories.

See the development guide.