-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove and deprecate commons APIs (#345)
* Deprecate api for configuring environment variables These structs were used with the old trait based API. They're not needed anymore as env-vars can be written without needing a struct now. * Rename metadata struct * Make metadata internals accessible and PartialEq * Replace layer trait with struct layer * Remove deprecation allowance * Remove unused code * Move Metadata struct * Remove previously deprecated interface * Deprecate BuildLog * Remove style guide (since it's deprecated) * Allow deprecated in internal code * Deprecate fmt * Deprecate section log * Remove unused dependencies These were used in the style guide and docs for a deprecated feature. * Consolidate imports
- Loading branch information
Showing
14 changed files
with
78 additions
and
464 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -95,19 +95,3 @@ jobs: | |
run: pack build my-image --force-color --builder heroku/builder:24 --trust-extra-buildpacks --buildpack heroku/nodejs-engine --buildpack packaged/${{ matrix.target }}/debug/heroku_ruby --path tmp/ruby-getting-started --pull-policy never | ||
- name: "PRINT: Cached getting started guide output" | ||
run: pack build my-image --force-color --builder heroku/builder:24 --trust-extra-buildpacks --buildpack heroku/nodejs-engine --buildpack packaged/${{ matrix.target }}/debug/heroku_ruby --path tmp/ruby-getting-started --pull-policy never | ||
|
||
print-style-guide: | ||
runs-on: ubuntu-24.04 | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Install musl-tools | ||
run: sudo apt-get install musl-tools --no-install-recommends | ||
- name: Update Rust toolchain | ||
run: rustup update | ||
- name: Install Rust linux-musl target | ||
run: rustup target add x86_64-unknown-linux-musl | ||
- name: Rust Cache | ||
uses: Swatinem/[email protected] | ||
- name: "PRINT: Style guide" | ||
run: cargo run --quiet --bin print_style_guide |
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 was deleted.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,9 @@ | ||
mod app_cache; | ||
mod app_cache_collection; | ||
mod clean; | ||
mod config; | ||
mod error; | ||
mod in_app_dir_cache_layer; | ||
|
||
pub use self::app_cache::{build, PathState}; | ||
pub use self::app_cache::{AppCache, CacheState}; | ||
#[allow(deprecated)] | ||
pub use self::app_cache_collection::AppCacheCollection; | ||
pub use self::app_cache::{build, AppCache, CacheState, PathState}; | ||
pub use self::clean::FilesWithSize; | ||
pub use self::config::CacheConfig; | ||
pub use self::config::{mib, KeepPath}; | ||
pub use self::config::{mib, CacheConfig, KeepPath}; | ||
pub use self::error::CacheError; |
Oops, something went wrong.