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

Enable libcnb tracing #779

Merged
merged 1 commit into from
Feb 28, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
865 changes: 692 additions & 173 deletions Cargo.lock

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions buildpacks/gradle/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Changed

- Enabled `libcnb`'s `trace` feature. ([#779](https://github.com/heroku/buildpacks-jvm/pull/779))

## [6.0.4] - 2024-12-05

- No changes.
6 changes: 3 additions & 3 deletions buildpacks/gradle/Cargo.toml
Original file line number Diff line number Diff line change
@@ -9,11 +9,11 @@ workspace = true
[dependencies]
buildpacks-jvm-shared.workspace = true
indoc = "2"
libcnb = "=0.26.0"
libherokubuildpack = { version = "=0.26.0", default-features = false, features = ["command", "error", "log"] }
libcnb = { version = "=0.27.0", features = ["trace"] }
libherokubuildpack = { version = "=0.27.0", default-features = false, features = ["command", "error", "log"] }
nom = "7"
serde = { version = "1", features = ["derive"] }

[dev-dependencies]
buildpacks-jvm-shared-test.workspace = true
libcnb-test = "=0.26.0"
libcnb-test = "=0.27.0"
4 changes: 4 additions & 0 deletions buildpacks/jvm-function-invoker/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Changed

- Enabled `libcnb`'s `trace` feature. ([#779](https://github.com/heroku/buildpacks-jvm/pull/779))

## [6.0.4] - 2024-12-05

- No changes.
6 changes: 3 additions & 3 deletions buildpacks/jvm-function-invoker/Cargo.toml
Original file line number Diff line number Diff line change
@@ -8,15 +8,15 @@ workspace = true

[dependencies]
indoc = "2"
libcnb = "=0.26.0"
libherokubuildpack = { version = "=0.26.0", default-features = false, features = ["digest", "download", "error", "log", "toml"] }
libcnb = { version = "=0.27.0", features = ["trace"] }
libherokubuildpack = { version = "=0.27.0", default-features = false, features = ["digest", "download", "error", "log", "toml"] }
serde = "1"
thiserror = "2"
toml = "0.8"

[dev-dependencies]
base64 = "0.22"
buildpacks-jvm-shared-test.workspace = true
libcnb-test = "=0.26.0"
libcnb-test = "=0.27.0"
tempfile = "3"
ureq = { version = "2", default-features = false, features = ["tls"] }
4 changes: 4 additions & 0 deletions buildpacks/jvm/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Changed

- Enabled `libcnb`'s `trace` feature. ([#779](https://github.com/heroku/buildpacks-jvm/pull/779))

### Fixed

- JDK overlays are now properly sourced from the `.jdk-overlay` directory instead of `.jdk_overlay`. ([#763](https://github.com/heroku/buildpacks-jvm/pull/763))
6 changes: 3 additions & 3 deletions buildpacks/jvm/Cargo.toml
Original file line number Diff line number Diff line change
@@ -10,8 +10,8 @@ workspace = true
buildpacks-jvm-shared.workspace = true
fs_extra = "1"
indoc = "2"
libcnb = "=0.26.0"
libherokubuildpack = { version = "=0.26.0", default-features = false, features = ["digest", "download", "error", "inventory", "inventory-sha2", "log", "tar"] }
libcnb = { version = "=0.27.0", features = ["trace"] }
libherokubuildpack = { version = "=0.27.0", default-features = false, features = ["digest", "download", "error", "inventory", "inventory-sha2", "log", "tar"] }
serde = { version = "1", features = ["derive"] }
tempfile = "3"
url = "2"
@@ -23,4 +23,4 @@ toml = "0.8"

[dev-dependencies]
buildpacks-jvm-shared-test.workspace = true
libcnb-test = "=0.26.0"
libcnb-test = "=0.27.0"
4 changes: 4 additions & 0 deletions buildpacks/maven/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Changed

- Enabled `libcnb`'s `trace` feature. ([#779](https://github.com/heroku/buildpacks-jvm/pull/779))

## [6.0.4] - 2024-12-05

- No changes.
6 changes: 3 additions & 3 deletions buildpacks/maven/Cargo.toml
Original file line number Diff line number Diff line change
@@ -10,8 +10,8 @@ workspace = true
buildpacks-jvm-shared.workspace = true
flate2 = { version = "1", default-features = false, features = ["zlib"] }
indoc = "2"
libcnb = "=0.26.0"
libherokubuildpack = { version = "=0.26.0", default-features = false, features = ["digest", "download", "error", "log"] }
libcnb = { version = "=0.27.0", features = ["trace"] }
libherokubuildpack = { version = "=0.27.0", default-features = false, features = ["digest", "download", "error", "log"] }
regex = "1"
serde = { version = "1", features = ["derive"] }
shell-words = "1"
@@ -21,4 +21,4 @@ tempfile = "3"
[dev-dependencies]
buildpacks-jvm-shared-test.workspace = true
java-properties = "2"
libcnb-test = "=0.26.0"
libcnb-test = "=0.27.0"
4 changes: 4 additions & 0 deletions buildpacks/sbt/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Changed

- Enabled `libcnb`'s `trace` feature. ([#779](https://github.com/heroku/buildpacks-jvm/pull/779))

## [6.0.4] - 2024-12-05

- No changes.
6 changes: 3 additions & 3 deletions buildpacks/sbt/Cargo.toml
Original file line number Diff line number Diff line change
@@ -10,14 +10,14 @@ workspace = true
buildpacks-jvm-shared.workspace = true
indoc = "2"
java-properties = "2"
libcnb = "=0.26.0"
libherokubuildpack = { version = "=0.26.0", default-features = false, features = ["command", "error", "log"] }
libcnb = { version = "=0.27.0", features = ["trace"] }
libherokubuildpack = { version = "=0.27.0", default-features = false, features = ["command", "error", "log"] }
semver = { version = "1", features = ["serde"] }
serde = { version = "1", features = ["derive"] }
shell-words = "1"

[dev-dependencies]
buildpacks-jvm-shared-test.workspace = true
libcnb-test = "=0.26.0"
libcnb-test = "=0.27.0"
tempfile = "3"
ureq = { version = "2", default-features = false, features = ["tls"] }
2 changes: 1 addition & 1 deletion shared-test/Cargo.toml
Original file line number Diff line number Diff line change
@@ -8,5 +8,5 @@ workspace = true

[dependencies]
exponential-backoff = "2"
libcnb-test = "=0.26.0"
libcnb-test = "=0.27.0"
ureq = { version = "2", default-features = false, features = ["tls"] }
2 changes: 1 addition & 1 deletion shared/Cargo.toml
Original file line number Diff line number Diff line change
@@ -9,4 +9,4 @@ workspace = true
[dependencies]
indoc = "2"
java-properties = "2"
libherokubuildpack = { version = "=0.26.0", default-features = false, features = ["log"] }
libherokubuildpack = { version = "=0.27.0", default-features = false, features = ["log"] }