Skip to content

Commit 1da3511

Browse files
committed
Revert "Upgrade vminitd API to use grpc-swift-2. (apple#578)"
This reverts commit 7ffe6d2.
1 parent 8df7ce7 commit 1da3511

15 files changed

Lines changed: 3452 additions & 6784 deletions

Package.resolved

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

Package.swift

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -36,19 +36,17 @@ let package = Package(
3636
.executable(name: "cctl", targets: ["cctl"]),
3737
],
3838
dependencies: [
39-
.package(url: "https://github.com/apple/swift-log.git", from: "1.10.1"),
40-
.package(url: "https://github.com/apple/swift-argument-parser.git", from: "1.7.0"),
39+
.package(url: "https://github.com/apple/swift-log.git", from: "1.0.0"),
40+
.package(url: "https://github.com/apple/swift-argument-parser.git", from: "1.3.0"),
4141
.package(url: "https://github.com/apple/swift-collections.git", from: "1.1.4"),
4242
.package(url: "https://github.com/apple/swift-crypto.git", from: "3.0.0"),
43-
.package(url: "https://github.com/grpc/grpc-swift-2.git", from: "2.3.0"),
44-
.package(url: "https://github.com/grpc/grpc-swift-nio-transport.git", from: "2.4.4"),
45-
.package(url: "https://github.com/grpc/grpc-swift-protobuf.git", from: "2.2.0"),
46-
.package(url: "https://github.com/apple/swift-protobuf.git", from: "1.36.0"),
43+
.package(url: "https://github.com/grpc/grpc-swift.git", from: "1.26.0"),
44+
.package(url: "https://github.com/apple/swift-protobuf.git", from: "1.29.0"),
4745
.package(url: "https://github.com/apple/swift-nio.git", from: "2.80.0"),
48-
.package(url: "https://github.com/apple/swift-nio-ssl.git", from: "2.36.0"),
4946
.package(url: "https://github.com/swift-server/async-http-client.git", from: "1.20.1"),
50-
.package(url: "https://github.com/apple/swift-system.git", from: "1.6.4"),
47+
.package(url: "https://github.com/apple/swift-system.git", from: "1.4.0"),
5148
.package(url: "https://github.com/swiftlang/swift-docc-plugin", from: "1.1.0"),
49+
.package(url: "https://github.com/apple/swift-nio-ssl.git", from: "2.36.0"),
5250
.package(url: "https://github.com/facebook/zstd.git", exact: "1.5.7"),
5351
],
5452
targets: [
@@ -59,10 +57,8 @@ let package = Package(
5957
name: "Containerization",
6058
dependencies: [
6159
.product(name: "Logging", package: "swift-log"),
60+
.product(name: "GRPC", package: "grpc-swift"),
6261
.product(name: "SystemPackage", package: "swift-system"),
63-
.product(name: "GRPCCore", package: "grpc-swift-2"),
64-
.product(name: "GRPCNIOTransportHTTP2", package: "grpc-swift-nio-transport"),
65-
.product(name: "GRPCProtobuf", package: "grpc-swift-protobuf"),
6662
.product(name: "_NIOFileSystem", package: "swift-nio"),
6763
"ContainerizationArchive",
6864
"ContainerizationOCI",

Protobuf.Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,13 @@ $(PROTOC):
3333
.PHONY: protoc-gen-swift
3434
protoc-gen-swift:
3535
@$(SWIFT) build --product protoc-gen-swift
36-
@$(SWIFT) build --product protoc-gen-grpc-swift-2
36+
@$(SWIFT) build --product protoc-gen-grpc-swift
3737

3838
.PHONY: protos
3939
protos: $(PROTOC) protoc-gen-swift
4040
@echo Generating protocol buffers source code...
4141
@$(PROTOC) Sources/Containerization/SandboxContext/SandboxContext.proto \
42-
--plugin=protoc-gen-grpc-swift=$(BUILD_BIN_DIR)/protoc-gen-grpc-swift-2 \
42+
--plugin=protoc-gen-grpc-swift=$(BUILD_BIN_DIR)/protoc-gen-grpc-swift \
4343
--plugin=protoc-gen-swift=$(BUILD_BIN_DIR)/protoc-gen-swift \
4444
--proto_path=Sources/Containerization/SandboxContext \
4545
--grpc-swift_out="Sources/Containerization/SandboxContext" \

0 commit comments

Comments
 (0)