Zulip Chat Archive

Stream: mathlib4

Topic: Already-forward-ported files


Eric Wieser (Feb 06 2023 at 20:37):

A summary of a remark from the meeting: there are lots of "out of sync files" at https://leanprover-community.github.io/mathlib-port-status/out-of-sync which differ by only one or two lines (the right column can be sorted), and are likely already forward ported. It would be helpful to:

We should wait for more tooling for the larger files.

Johan Commelin (Feb 06 2023 at 20:39):

@Eric Wieser Should it sort on the diff column by default?

Eric Wieser (Feb 06 2023 at 20:39):

Probably, yes

Yury G. Kudryashov (Feb 06 2023 at 20:41):

I'll go over the repeat/replicate today.

Eric Wieser (Feb 06 2023 at 20:50):

I suppose what we're missing is a mechanism to prevent two people forward-porting the same thing

Yury G. Kudryashov (Feb 06 2023 at 20:51):

I'll start with updating SHA sums in files that don't need to be modified.

Yury G. Kudryashov (Feb 06 2023 at 20:51):

E.g., !4#2116

Yury G. Kudryashov (Feb 06 2023 at 20:52):

(not a complete list, I'll continue later today)

Ruben Van de Velde (Feb 06 2023 at 20:57):

Please someone review https://github.com/leanprover-community/mathlib4/pull/1726 before starting on Finset/Multiset.Basic :)

Eric Wieser (Feb 06 2023 at 21:08):

Let's edit the descriptions of existing PRs to include links to the out of sync page

Yury G. Kudryashov (Feb 06 2023 at 22:19):

Am I right that these links will become obsolete after PRs are merged?

Yury G. Kudryashov (Feb 06 2023 at 22:20):

If yes, then should we move them under -- ?

Eric Wieser (Feb 06 2023 at 22:23):

I've updated the suggested link to contain the SHAs

Yury G. Kudryashov (Feb 06 2023 at 22:25):

I had to manually remove whitespaces and newline between ] and (

Eric Wieser (Feb 06 2023 at 22:25):

Oh, I thought it would work with that

Eric Wieser (Feb 06 2023 at 22:26):

I'll remove that newline again

Eric Wieser (Feb 06 2023 at 22:26):

The link might still become obsolete, but at least the URL will contain the relevant info and the page can add a warning saying the link no longer works

Yury G. Kudryashov (Feb 06 2023 at 22:33):

Updated !4#2116

Yury G. Kudryashov (Feb 06 2023 at 22:35):

Also, I suggest that we leave SHA sums in the URL but not in [filename]

Yury G. Kudryashov (Feb 06 2023 at 22:36):

BTW, what about using links to github "compare revisions" page? Then it won't become obsolete.

Eric Wieser (Feb 06 2023 at 22:39):

Those don't let you compare a single file

Eric Wieser (Feb 06 2023 at 22:40):

Besides, the port status page can always generate a link to that page based on the URL it receives

Eric Wieser (Feb 07 2023 at 12:38):

Here's an example of what it does with the links: https://leanprover-community.github.io/mathlib-port-status/file/algebra/big_operators/basic?range=9003f28797c0664a49e4179487267c494477d853..47adfab39a11a072db552f47594bf8ed2cf8a722

Eric Wieser (Feb 13 2023 at 12:18):

The link above is now more useful than it used to be, and actually highlights the commits in the URL

Eric Wieser (Feb 13 2023 at 16:01):

!4#2255 adds CI that generates these links automatically in review

Notification Bot (Feb 13 2023 at 16:02):

26 messages were moved here from #mathlib4 > Mathlib4 porting meeting series by Eric Wieser.


Last updated: Dec 20 2023 at 11:08 UTC