Zulip Chat Archive

Stream: new members

Topic: work with fork


Aleksandar Milchev (Mar 20 2023 at 18:43):

Hi there!
I am still learning to work with Lean and my supervisor gave me the advice to create my own fork as well as create a branch in mathlib. However, I have 498 errors in my fork (https://github.com/amilchew/max_flow_min_cut) max_flow_min_cut.lean file and only 6 in the same file in my branch (https://github.com/leanprover-community/mathlib/tree/max_flow_min_cut). Can I do something to remove the complains about everything? Thank you!

Eric Wieser (Mar 20 2023 at 18:58):

Well they have different files in them, so this is not surprising: https://github.com/leanprover-community/mathlib/compare/max_flow_min_cut...amilchew:max_flow_min_cut:master

Dean Young (Mar 20 2023 at 18:58):

``

Eric Wieser (Mar 20 2023 at 18:59):

gave me the advice to create my own fork as well as create a branch in mathlib

This sounds like bad advice to me. There is very little reason to make a fork of mathlib.

Perhaps the advice was meant as "create a new lean project depending on mathlib", which you can do with leanproject new

Dean Young (Mar 20 2023 at 19:00):

(deleted)

Aleksandar Milchev (Mar 21 2023 at 00:40):

Eric Wieser said:

gave me the advice to create my own fork as well as create a branch in mathlib

This sounds like bad advice to me. There is very little reason to make a fork of mathlib.

Perhaps the advice was meant as "create a new lean project depending on mathlib", which you can do with leanproject new

Thank you, that was very useful, I just created a project, dependent or mathlib and everything works now!


Last updated: Dec 20 2023 at 11:08 UTC