26 lines
832 B
Markdown
26 lines
832 B
Markdown
# Scripts
|
|
|
|
## `validate_repository.py`
|
|
|
|
Performs a read-only, dependency-free validation of this implemented repository.
|
|
|
|
- **Runtime:** Python 3.10 or later.
|
|
- **Dependencies:** Python standard library only.
|
|
- **Input:** Repository path; defaults to the current directory.
|
|
- **Output:** Human-readable findings or JSON.
|
|
- **Modifies files:** No.
|
|
- **Human approval required:** No.
|
|
|
|
Commands:
|
|
|
|
```text
|
|
python scripts/validate_repository.py .
|
|
python scripts/validate_repository.py . --json
|
|
```
|
|
|
|
The validator checks required paths, JSON parsing, repository-variable and
|
|
manifest alignment, author/publisher alignment, entrypoint paths, manifest
|
|
contents paths, optional content-index fields and references, version alignment,
|
|
license alignment, and relative Markdown links. It does not prove content
|
|
accuracy or check external URLs.
|