Skip to content

Commit 31c1670

Browse files
James DeFelicejieyu
authored andcommitted
spec: proto package incorporates major version
This patch also removes the `GetSupportedVersions` and per request Version field because of the newly introduced version in the package name.
1 parent a166515 commit 31c1670

File tree

7 files changed

+454
-961
lines changed

7 files changed

+454
-961
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1-
/csi.proto.tmp
1+
*.tmp
22
.DS_Store
3+
.build

Makefile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,7 @@ CSI_PROTO := csi.proto
88
# The temporary file is not versioned, and thus will always be
99
# built on Travis-CI.
1010
$(CSI_PROTO).tmp: $(CSI_SPEC)
11-
cat $? | \
12-
sed -n -e '/```protobuf$$/,/```$$/ p' | \
13-
sed -e 's@^```.*$$@////////@g' > $@
11+
cat $? | sed -n -e '/```protobuf$$/,/^```$$/ p' | sed '/^```/d' > "$@"
1412

1513
# This is the target for building the CSI protobuf file.
1614
#

0 commit comments

Comments
 (0)