Skip to content

Commit 76592ea

Browse files
ShahanaFarooquisangbida
authored andcommitted
clnrest: do not install dependencies from git url
This reverts [commit](cd1ec72), as an alternative fix has already been introduced in PR [#8547](#8547) to restore reproducible builds. This reversion is necessary because otherwise Docker image building will fail with GitHub Actions or via build-release.sh. The issue arises from Cargo’s inability to resolve the git URL dependencies for clnrest’s utoipa and utoipa-swagger-ui packages within these build contexts. While direct `docker buildx` commands succeeds, Github Action or build-release.sh modifies the build context in a way that prevents Cargo from locating the specific git commit for these dependencies. References: #8530 (comment) https://github.com/ElementsProject/lightning/actions/runs/17435823432 Added fixed SOURCE_DATE_EPOCH flag for reproducible ubuntu builds [8547](#8547) Changelog-None.
1 parent 5c93f12 commit 76592ea

File tree

2 files changed

+10
-7
lines changed

2 files changed

+10
-7
lines changed

Cargo.lock

Lines changed: 8 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

plugins/rest-plugin/Cargo.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,11 @@ rcgen = "0.13"
2626
hyper = "1"
2727
tower= "0.5"
2828
tower-http = { version = "0.6", features = ["cors", "set-header"] }
29-
utoipa = { git = "https://github.com/rustyrussell/utoipa.git", features = ['axum_extras'] }
29+
utoipa = { version = "5", features = ['axum_extras'] }
3030

3131
log-panics = "2"
3232
socketioxide = "0.15"
3333

3434
cln-plugin = { version = "0.5", path = "../../plugins" }
3535
cln-rpc = { version = "0.5", path = "../../cln-rpc" }
36-
utoipa-swagger-ui = { git = "https://github.com/rustyrussell/utoipa.git", features = ["vendored", "axum"] }
37-
36+
utoipa-swagger-ui = { version = "9.0.0", features = ["vendored", "axum"] }

0 commit comments

Comments
 (0)