repo clone uses the web host for git over HTTPS, which 404s #1
- @ogirardot opened this issue · Sep 3, 2026edited
rickub repo clone rickub/clirunsgit clone https://rickub.com/rickub/cli.gitand fails:fatal: repository 'https://rickub.com/rickub/cli.git/' not found rickub: exit status 128The web host does not serve smart HTTP at all (
/rickub/cli.git/info/refsis a 404 with or without a token). rickub's git transports aressh://git@rickub.com/<owner>/<repo>.gitandhttps://git.rickub.com/<owner>/<repo>.git, both of which the repo page advertises under "Clone".Reproduced with the released
rickub 0.1.0 (darwin/arm64)against rickub.com; the same URL shape breaks for private repos too.Expected:
repo cloneuses a URL the host actually serves. SSH is the form the README itself documents and already works with the user's keys, so it is the sensible default; an HTTPS option can follow once the API tells the client where git-over-HTTPS lives. - @ogirardot · Sep 3, 2026edited
Fixed on main in d68b124 (verified against rickub.com with a rebuilt binary; ships in the next release).
Sign in to comment.