feat(Cache): enable partial cache in downstream projects#21238
Closed
joneugster wants to merge 2 commits intomasterfrom
Closed
feat(Cache): enable partial cache in downstream projects#21238joneugster wants to merge 2 commits intomasterfrom
joneugster wants to merge 2 commits intomasterfrom
Conversation
PR summary 88bb6d226aImport changes for modified filesNo significant changes to the import graph Import changes for all files
Declarations diff
You can run this locally as follows## summary with just the declaration names:
./scripts/declarations_diff.sh <optional_commit>
## more verbose report:
./scripts/declarations_diff.sh long <optional_commit>The doc-module for No changes to technical debt.You can run this locally as
|
1 task
kim-em
reviewed
Jan 30, 2025
kim-em
reviewed
Jan 30, 2025
kim-em
reviewed
Jan 30, 2025
kim-em
reviewed
Jan 30, 2025
kim-em
reviewed
Jan 30, 2025
kim-em
reviewed
Jan 30, 2025
Contributor
|
Thanks for the PR - the PR description looks great! Is there a way you can split this into more incremental pieces? (I could certainly try to review smaller parts, but I won't find time for a +450 -250 lines PR this or the next week.) |
Contributor
Author
|
Im on vacation next week, so might not respond much. I can split some trivial cleanup out into a seperate PR; I believe the bulk will still be quite a bit to review. |
Contributor
Author
Closed
1 task
a7ade54 to
ef94142
Compare
969581a to
9cb6b37
Compare
2 tasks
mathlib-bors bot
pushed a commit
that referenced
this pull request
Feb 27, 2025
…rn module names and source file location (#21815) Rewrite `getFileImports` to not use `getPackageDirs` anymore. Additionally, `getFileImports` now returns module names like `Mathlib.Data.Set.Basic` and resolved `.lean` file locations instead of non-resolved file names (`Mathlib/Data/Set/Basic.lean`) like it used to. This is in preparation for #21238. This PR should not change any behaviour in how `cache` works. Co-authored-by: Jon Eugster <[email protected]>
Closed
1 task
Collaborator
|
This pull request has conflicts, please merge |
12b4a1b to
2133a74
Compare
18 tasks
Contributor
Author
|
This PR has been migrated to a fork-based workflow: #35415 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add features to
cacheand cleanup code:lake exe cache get MyProject.Basicdownloads only the relevant cache to buildMyProject/Basic.leanNotes:
minigetcommand, a minimal version ofget#20568Completed:
depends on: feat(Cache): add fileCache.Leanwith helper functions and cleanupcheckForToolchainMismatch#21663cache lookuphelp #21701CacheM.Context#21703default#21707HashMemo#21711getFileImportsto use search path and return module names and source file location #21815Cache.Lean#21816