mirror of
https://github.com/nestriness/cdc-file-transfer.git
synced 2026-05-01 17:03:07 +03:00
[cdc_stream] Switch asset_stream_manager to use Lyra (#25)
Switch asset_stream_manager to use Lyra Lyra has a nice simple interface, but a few quirks that we work around, mainly in the BaseCommand class: - It does not support return values from running a command. - It does not support return values from a custom arg parser. - Lyra interprets --bad_arg as positional argument. Fixes #15
This commit is contained in:
12
WORKSPACE
12
WORKSPACE
@@ -47,10 +47,10 @@ http_archive(
|
||||
http_archive(
|
||||
name = "com_github_fuse",
|
||||
build_file = "@//third_party/fuse:BUILD",
|
||||
sha256 = "832432d1ad4f833c20e13b57cf40ce5277a9d33e483205fc63c78111b3358874",
|
||||
strip_prefix = "fuse-2.9.7",
|
||||
patch_args = ["-p1"],
|
||||
patches = ["@//third_party/fuse:disable_symbol_versioning.patch"],
|
||||
sha256 = "832432d1ad4f833c20e13b57cf40ce5277a9d33e483205fc63c78111b3358874",
|
||||
strip_prefix = "fuse-2.9.7",
|
||||
url = "https://github.com/libfuse/libfuse/releases/download/fuse-2.9.7/fuse-2.9.7.tar.gz",
|
||||
)
|
||||
|
||||
@@ -70,6 +70,14 @@ http_archive(
|
||||
url = "https://github.com/tronkko/dirent/archive/refs/tags/1.23.2.tar.gz",
|
||||
)
|
||||
|
||||
http_archive(
|
||||
name = "com_github_lyra",
|
||||
build_file = "@//third_party/lyra:BUILD.bazel",
|
||||
sha256 = "a93f247ed89eba11ca36eb24c4f8ba7be636bf24e74aaaa8e1066e0954bec7e3",
|
||||
strip_prefix = "Lyra-1.6.1",
|
||||
url = "https://github.com/bfgroup/Lyra/archive/refs/tags/1.6.1.tar.gz",
|
||||
)
|
||||
|
||||
local_repository(
|
||||
name = "com_google_absl",
|
||||
path = "third_party/absl",
|
||||
|
||||
Reference in New Issue
Block a user