Publishing¶
The forge tool handles the lifecycle of publishing metadata to Gen3 Commons via the Sower service (for async job processing).
Publishing Metadata¶
To start a new metadata publication job:
This command submits a job to the Sower service.
Arguments:
- <github_personal_access_token>: A GitHub Personal Access Token (PAT) is required by the backend worker to access the repository containing the metadata schema.
Flags:
- --remote, -r: Target remote DRS server name (default: "default_remote").
Output: Returns the Job UID, Name, and initial Status.
Monitoring Jobs¶
List Jobs¶
View all jobs cataloged in Sower.
Flags:
- --remote, -r: Target remote DRS server.
Check Status¶
Check the status of a specific job by its UID.
Flags:
- --remote, -r: Target remote DRS server.
View Logs¶
Retrieve the output logs of a specific job.
Flags:
- --remote, -r: Target remote DRS server.
Output: Displays the raw logs from the backend job execution, which is useful for debugging failures.