Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: lake: more flexible manifest #2801

Merged
merged 5 commits into from
Nov 15, 2023

Conversation

tydeu
Copy link
Member

@tydeu tydeu commented Nov 1, 2023

Refactored manifest code to make it easier to mdodify the its format across future versions while mataining backwards compatibility.

For actual format changes: removed opts and added configFile and manifestFile to the package entry. Options can be platform-specific are already locked via the configuration olean. Duplication here is unnecessary and possibly incorrect. Adding the paths for the configuraiton and manifest makes it possible to find them in the future should the defaults change (enabling backwards compatibility).

Deprecated the manifestFile package configuration option. This creates complications should we ever wish to load the manifest prior to the package configuration.

@tydeu tydeu changed the title Lake/flexible-manifest refactor: lake: more flexible manifest Nov 1, 2023
@tydeu tydeu force-pushed the lake/flexible-manifest branch 2 times, most recently from 222f08e to 2bdbb46 Compare November 1, 2023 23:38
@github-actions github-actions bot added the toolchain-available A toolchain is available for this PR, at leanprover/lean4-pr-releases:pr-release-NNNN label Nov 2, 2023
leanprover-community-mathlib4-bot added a commit to leanprover-community/mathlib4 that referenced this pull request Nov 2, 2023
@tydeu tydeu force-pushed the lake/flexible-manifest branch from 2bdbb46 to 4a5b2b8 Compare November 2, 2023 01:29
@leanprover-community-mathlib4-bot leanprover-community-mathlib4-bot added the builds-mathlib CI has verified that Mathlib builds against this PR label Nov 2, 2023
@leanprover-community-mathlib4-bot
Copy link
Collaborator

leanprover-community-mathlib4-bot commented Nov 2, 2023

@tydeu
Copy link
Member Author

tydeu commented Nov 2, 2023

!bench

@leanprover-bot
Copy link
Collaborator

Here are the benchmark results for commit 4a5b2b8.
There were no significant changes against commit 72fdddf.

@tydeu tydeu force-pushed the lake/flexible-manifest branch from 4a5b2b8 to 65627d4 Compare November 2, 2023 20:38
@tydeu tydeu force-pushed the lake/flexible-manifest branch from 65627d4 to 9b1999b Compare November 15, 2023 01:41
@tydeu tydeu force-pushed the lake/flexible-manifest branch from 9b1999b to 8d32ed4 Compare November 15, 2023 02:55
leanprover-community-mathlib4-bot added a commit to leanprover-community/mathlib4 that referenced this pull request Nov 15, 2023
@tydeu tydeu merged commit bbc7595 into leanprover:master Nov 15, 2023
15 checks passed
@tydeu tydeu deleted the lake/flexible-manifest branch November 15, 2023 05:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
builds-mathlib CI has verified that Mathlib builds against this PR toolchain-available A toolchain is available for this PR, at leanprover/lean4-pr-releases:pr-release-NNNN
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants