From 7bfd40c104d86aba47dc67da56479d40d1bae4de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Nowacki?= Date: Sat, 7 Dec 2024 12:52:16 +0100 Subject: [PATCH] add prometheus and protobuf as submodules --- .gitmodules | 6 ++++++ app/src/project/core/prometheus_protobuf/README.md | 2 +- prometheus | 1 + protobuf | 1 + 4 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 .gitmodules create mode 160000 prometheus create mode 160000 protobuf diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..8dd4be9 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,6 @@ +[submodule "prometheus"] + path = prometheus + url = git@github.com:prometheus/prometheus.git +[submodule "protobuf"] + path = protobuf + url = https://github.com/gogo/protobuf.git diff --git a/app/src/project/core/prometheus_protobuf/README.md b/app/src/project/core/prometheus_protobuf/README.md index 847b136..5f8a36f 100644 --- a/app/src/project/core/prometheus_protobuf/README.md +++ b/app/src/project/core/prometheus_protobuf/README.md @@ -1,6 +1,6 @@ These files were created by: -1. cloning prometheus (git@github.com:prometheus/prometheus.git) and protobuf (git clone https://github.com/gogo/protobuf.git) +1. checking out submodules of this repository (prometheus and protobuf) 2. Installing go and a bunch of stuff I'm not sure is necessary 3. Running `make proto` in prometheus's root dir until the error was `--gogofast_out: protoc-gen-gogofast: Plugin failed with status code 1.` - not sure if that was necessary 4. running `protoc -I=. -I=../../protobuf --python_out=. ../../protobuf/gogoproto/gogo.proto types.proto remote.proto` in `prometheus/prompb` diff --git a/prometheus b/prometheus new file mode 160000 index 0000000..af2a1cb --- /dev/null +++ b/prometheus @@ -0,0 +1 @@ +Subproject commit af2a1cb10c89de496cd4309ac532624b34112d74 diff --git a/protobuf b/protobuf new file mode 160000 index 0000000..f67b897 --- /dev/null +++ b/protobuf @@ -0,0 +1 @@ +Subproject commit f67b8970b736e53dbd7d0a27146c8f1ac52f74e5