thoth.ingestion.flows.clone¶
Clone handbook repository to GCS.
Functions
|
Clone the GitLab handbook repo to GCS for ingestion (one-time setup). |
|
Create and configure a logger with structured JSON output. |
Classes
|
Orchestrates the complete ingestion pipeline. |
|
|
|
- async thoth.ingestion.flows.clone.clone_handbook(_request: Request) JSONResponse[source]¶
Clone the GitLab handbook repo to GCS for ingestion (one-time setup).
Uses the pipeline’s GCSRepoSync to clone the repo into the configured bucket/prefix. Requires GCS_BUCKET_NAME and pipeline configured for GCS.
- Returns:
JSONResponse with status and message; 200 on success, 4xx/5xx on error.