VOL-2020 move voltha.pb and add placeholder go file
Change-Id: I6f882f951ac89a3d8f60eaaf7dc5f7c5eb91fb4c
diff --git a/Makefile b/Makefile
index b9083d5..6e472a3 100644
--- a/Makefile
+++ b/Makefile
@@ -33,7 +33,7 @@
PROTO_GO_PB:= $(foreach f, $(PROTO_FILES), $(patsubst protos/voltha_protos/%.proto,$(PROTO_GO_DEST_DIR)/$(call go_package_path,$(f))/%.pb.go,$(f)))
# Force pb file to be regenrated every time. Otherwise the make process assumes generated version is still valid
-.PHONY: go/voltha.pb protoc_check
+.PHONY: voltha.pb protoc_check
print:
@echo "Proto files: $(PROTO_FILES)"
@@ -92,7 +92,7 @@
$(PROTO_PYTHON_PB2_GRPC)
# Go targets
-go-protos: protoc_check $(PROTO_GO_PB) go/voltha.pb
+go-protos: protoc_check $(PROTO_GO_PB) voltha.pb
go_temp:
mkdir -p go_temp
@@ -105,7 +105,7 @@
mkdir -p $(dir $@)
mv go_temp/voltha_protos/$(notdir $@) $@
-go/voltha.pb: ${PROTO_FILES}
+voltha.pb: ${PROTO_FILES}
@echo "Creating $@"
protoc -I protos -I protos/google/api \
--include_imports --include_source_info \
diff --git a/VERSION b/VERSION
index 7dea76e..6d7de6e 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-1.0.1
+1.0.2
diff --git a/protoset.go b/protoset.go
new file mode 100644
index 0000000..2ab256d
--- /dev/null
+++ b/protoset.go
@@ -0,0 +1,22 @@
+/*
+ * Copyright 2018-present Open Networking Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+/*
+ * Import this file into a go project in order to cause `go mod vendor`
+ * to vendor the voltha.pb file.
+ */
+
+package volthaGoProtoSet;
diff --git a/go/voltha.pb b/voltha.pb
similarity index 100%
rename from go/voltha.pb
rename to voltha.pb
Binary files differ