Zulip Chat Archive
Stream: general
Topic: update-mathlib "mathlib reference is a fork"
Scott Morrison (Nov 08 2019 at 23:37):
I'm still having trouble with update-mathlib
, getting a message "mathlib reference is a fork".
Scott Morrison (Nov 08 2019 at 23:37):
Here's the leanpkg.toml
:
[package] name = "Ainsley" version = "0.1" lean_version = "3.4.2" path = "src" [dependencies] mathlib = {git = "git@github.com:leanprover-community/mathlib.git", rev = "0b4767515e835e026c26bdd33a73be369de768af"}
Simon Hudon (Nov 09 2019 at 02:29):
Replace "git@github.com:leanprover-community/mathlib.git"
with "https://github.com/leanprover-community/mathlib"
Scott Morrison (Nov 09 2019 at 04:27):
@Ainsley Pahljina, in case you want to be able to run update-mathlib
:up:
Ainsley Pahljina (Nov 10 2019 at 04:39):
Thank you!
Simon Hudon (Nov 10 2019 at 19:26):
update-mathlib
is not very smart about normalizing git urls. Any suggestion on how to map "git@github.com:leanprover-community/mathlib.git"
to a normal url?
Rob Lewis (Nov 10 2019 at 19:33):
I see this, which might work with some extra stuff to ensure http: https://github.com/strugee/python-normalize-git-url
Simon Hudon (Nov 10 2019 at 19:46):
It doesn't seem available through pip
Last updated: Dec 20 2023 at 11:08 UTC