`opam monorepo lock` fails to parse git repos
RyanGibb opened this issue · comments
~/projects/opam-monorepo/_build/default/bin/opam_monorepo.exe lock hello-unix --opam-repositories '[git+https://github.com/ocaml/opam-repositories]'
==> Using 1 locally scanned package as the target.
opam_monorepo.exe: [ERROR] Only non git, local filesystem URLs (file://) are supported at the moment
Gah I was using the wrong branch! You're absolutely right.
Strangely it prompts for my GitHub credentials (and fails to authenticate with them) when using the most recent branch though.
That's odd! Are you sure the repo you're trying to use is public? Or try the SSH URI?
Ah it's user error again 😭 I keep making the same typo because in doc/lock.mld
https://github.com/ocaml/opam-repositories
is used where I think it should be https://github.com/ocaml/opam-repository
!
Oh, that's a good catch! If you have a moment, could you submit a PR please? It might be user error but it certainly is also a documentation error 😅