POST /user/repos or POST /orgs/{org}/repos on the Gitea API base, with no template, readme or gitignore. When GitHub is chosen, send licenseAGPL-3.0 (listed by GET /licenses; check it exists first) with auto_init true so the license file is committed and the repository is not empty; otherwise auto_init false and the repository stays empty. Derive the clone URL from GITEA_URL and the selected owner.
Phase: MIL-002
Reference: [UC-001]
`POST /user/repos` or `POST /orgs/{org}/repos` on the Gitea API base, with no template, readme or gitignore. When GitHub is chosen, send `license` `AGPL-3.0` (listed by `GET /licenses`; check it exists first) with `auto_init` true so the license file is committed and the repository is not empty; otherwise `auto_init` false and the repository stays empty. Derive the clone URL from `GITEA_URL` and the selected owner.
Phase: MIL-002
Reference: [UC-001]
Tirsvad
added this to the MIL-002 Repositories and Mirror milestone 2026-10-05 07:48:13 +02:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
POST /user/reposorPOST /orgs/{org}/reposon the Gitea API base, with no template, readme or gitignore. When GitHub is chosen, sendlicenseAGPL-3.0(listed byGET /licenses; check it exists first) withauto_inittrue so the license file is committed and the repository is not empty; otherwiseauto_initfalse and the repository stays empty. Derive the clone URL fromGITEA_URLand the selected owner.Phase: MIL-002
Reference: [UC-001]