-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move bundle download to struct API and bullet stream (#330)
* Move struct doc to module doc * Rename metadata to Metadata * Implement TryMigrate for bundle_download_layer::Metadata * Implement MetadatDiff for bundler download layer * Extract layer logic to function * Refactor Command argument formatting * Replace layer trait with struct API * Update logging to bullet_stream * [stacked] Struct API and bullet stream for Bundle install layer (#332) * Introduce meta struct for holding layer ref results * Rename generic to match M for metadata style * Rename metadata generic * Use Meta<M> to return old cached data Meta<M> acts like a String for purposes of printing, but can optionally contain old metadata if the programmer needs it. This is useful for the "bundle install" layer which stores information in it's cache that is not used for cache invalidation but rather to determine whether or not it can skip running `bundle install`. * Rename structs * Move docs to module * Update docs * Move metadata type alias to top of file * Update const name and add docs * Add docs * Implement MetadataDiff This diff will eventually control caching logic * Test caching logic * Refactor bundle install command invocation * Group imports * Stub handle function with no logic * Build install state from old cache data * Rename UpdateState to InstallState * Call bundle install from handle function * Replace layer with struct API call * Rename function * Remove unused imports * Move buildpack logging to the top of main * Remove import * Move logic out of function * Replace commons logging with bullet stream * Clippy
- Loading branch information
Showing
4 changed files
with
499 additions
and
495 deletions.
There are no files selected for viewing
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.