-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move shared caching logic to public location, rename to DiffMigrateLa…
…yer (#376) * Update magic_migrate version * Update generic constraints The `magic_migrate` library now requires errors to be Display + Debug, so this extra constraint is no longer needed on these interfaces. * Make deprecation more specific * Make Meta struct public * Make invalid_metadata_action public * Make restored_layer_action public * Make cached_layer_write_metadata public * Remove strip_ansi helper method * Move test * Move test * Add testing helper to cache_buddy * Move test * Remove unused test module * Update use statements * Introduce CacheBuddy struct It's basically the same logic as `cached_layer_write_metadata` but with configurable build/launch logic * Switch layer to CacheBuddy * Switch layer to CacheBuddy * Switch layer to CacheBuddy * Remove unused function * Docs * More docs * Clarify intermediate struct docs * Fix changelog reference The dir is `layer` singular, not `layers` plural. * Update changelog * Remove unused `since` versions * Move test helper into mod tests * Require explicit values These map 1:1 with `CachedLayerDefinition`. The extra indirection of supporting default values isn't buying us much. * Use `cached_layer` to match API with BuildContext::cached_layer * Use more informative name * Rename module * Update magic_migrate * Remove unused imports * Update docs and add a tutorial * Update cache_diff
- Loading branch information
Showing
15 changed files
with
997 additions
and
385 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.