GitHub, unlike Gitea, doesn't create a repo on first push, so a mirror pointed at a nonexistent GitHub repo would register successfully but fail every sync. Check for the target repo via gh/MCP/REST API and create it if missing, falling back to a clear manual-creation warning when no capability is available. Bumps plugin version to 1.1.0.
7 lines
212 B
JSON
7 lines
212 B
JSON
{
|
|
"name": "mirror-it",
|
|
"description": "Configures a Gitea repository to automatically push-mirror its contents to GitHub using the tea CLI and jq.",
|
|
"version": "1.1.0",
|
|
"author": { "name": "Rootiest" }
|
|
}
|