24 lines
952 B
Markdown
24 lines
952 B
Markdown
# Shared scripts
|
|
|
|
[Русский](README.md) | 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_*.py` test these tools, API conventions, and dependencies between CI jobs.
|
|
|
|
From the repository root:
|
|
|
|
| Purpose | Command |
|
|
| --- | --- |
|
|
| Contracts and their tests | `make -C api check` |
|
|
| Compatibility with a Git ref | `make -C api check-compat API_BASE_REF=<ref>` |
|
|
| Generated files against Git | `make check-generated` |
|
|
| Documentation and links | `make docs-check` |
|
|
| CI job dependencies | `make -C deploy check-workflows` |
|
|
|
|
See the [development guide](../docs/en/DEVELOPMENT.md).
|