Preflight checks before any creation #9

Open
opened 2026-10-05 07:48:09 +02:00 by Tirsvad · 0 comments
Owner

With read-only calls, verify the tokens needed for the chosen hosts (GET /user; GitHub only when chosen), that the owner exists and the token may create repositories there, and that the name is free on both hosts, so one host is not created and the other refused. Also test SSH to git.tirsystem.com on port 10022 (needed for the submodule); its result decides whether origin later uses SSH (test passed) or HTTPS (default).

Phase: MIL-002
Reference: [UC-001]

With read-only calls, verify the tokens needed for the chosen hosts (`GET /user`; GitHub only when chosen), that the owner exists and the token may create repositories there, and that the name is free on both hosts, so one host is not created and the other refused. Also test SSH to `git.tirsystem.com` on port 10022 (needed for the submodule); its result decides whether `origin` later uses SSH (test passed) or HTTPS (default). Phase: MIL-002 Reference: [UC-001]
Tirsvad added this to the MIL-002 Repositories and Mirror milestone 2026-10-05 07:48:09 +02:00
Sign in to join this conversation.