This is an automated email from the ASF dual-hosted git repository.
tison pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-horaedb-proto.git
The following commit(s) were added to refs/heads/main by this push:
new 12559a9 chore: after repo transfer rename (#114)
12559a9 is described below
commit 12559a9f0a63c00a492d2498fa869ed94572442d
Author: tison <[email protected]>
AuthorDate: Wed Dec 20 20:44:33 2023 +0800
chore: after repo transfer rename (#114)
Signed-off-by: tison <[email protected]>
---
CHANGELOG.md | 2 +-
README.md | 17 ++----
golang/gen-go.sh | 2 +-
golang/go.mod | 2 +-
golang/pkg/metaeventpb/meta_event.pb.go | 4 +-
golang/pkg/metaservicepb/meta_service.pb.go | 4 +-
golang/pkg/storagepb/storage.pb.go | 4 +-
java/pom.xml | 95 +++++++----------------------
protos/cluster.proto | 2 +-
protos/common.proto | 4 +-
protos/meta_event.proto | 2 +-
protos/meta_service.proto | 2 +-
protos/meta_storage.proto | 2 +-
protos/prometheus.proto | 4 +-
protos/storage.proto | 4 +-
rust/Cargo.toml | 2 +-
16 files changed, 47 insertions(+), 105 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 11155d9..424e14a 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,6 +1,6 @@
# 1.0.1
-- [rust] Fix protoc's automatic download in build script
[#65](https://github.com/CeresDB/horaedbproto/pull/65)
+- [rust] Fix protoc's automatic download in build script
[#65](https://github.com/apache/incubator-horaedbproto/pull/65)
# 1.0.0
diff --git a/README.md b/README.md
index 356d927..349572f 100644
--- a/README.md
+++ b/README.md
@@ -1,12 +1,10 @@
-# Protocol of [HoraeDB](https://github.com/CeresDB/horaedb)
+# Protocol of [HoraeDB](https://github.com/apache/incubator-horaedb)
[](https://crates.io/crates/horaedbproto)
-[](https://pkg.go.dev/github.com/CeresDB/horaedbproto)
+[](https://pkg.go.dev/github.com/apache/incubator-horaedbproto)
Protocol buffer files for HoraeDB. Projects that manage generated code of
different languages are also in this repository. They acts as underlying
dependency of client, server and meta.
----
-
## User Guide
### Rust
@@ -18,7 +16,7 @@ cargo add horaedbproto
### Golang
```sh
-go get github.com/CeresDB/horaedbproto/golang
+go get github.com/apache/incubator-horaedbproto/golang
```
### Java
@@ -27,14 +25,12 @@ Add a maven dependency to your project.
```xml
<dependency>
- <groupId>io.ceresdb</groupId>
+ <groupId>org.apache.horaedb</groupId>
<artifactId>horaedb-proto-internal</artifactId>
- <version>1.0.0</version>
+ <version>${horaedb-proto-internal.version}</version>
</dependency>
```
----
-
## Developer Guide
After modifying the proto files, something else for different programming
languages should be done.
@@ -51,6 +47,5 @@ As for the Rust projects that depends on this project,
everything will be genera
### Golang
-1. Install the prerequisites:
-* Install [Protocol Buffers
v3.20.1](https://github.com/protocolbuffers/protobuf/releases/tag/v3.20.1)
compiler.
+1. Install [Protocol Buffers
v3.20.1](https://github.com/protocolbuffers/protobuf/releases/tag/v3.20.1)
compiler.
2. Execute `make build`.
diff --git a/golang/gen-go.sh b/golang/gen-go.sh
index b1ac0cf..1b51e8e 100755
--- a/golang/gen-go.sh
+++ b/golang/gen-go.sh
@@ -17,7 +17,7 @@
set -ex
-GO_PREFIX_PATH=github.com/CeresDB/horaedbproto/golang
+GO_PREFIX_PATH=github.com/apache/incubator-horaedbproto/golang
protoc --proto_path=../protos --go_out=. --go-grpc_out=.
../protos/cluster.proto ../protos/common.proto ../protos/meta_event.proto
../protos/meta_service.proto ../protos/meta_storage.proto
../protos/prometheus.proto ../protos/storage.proto
diff --git a/golang/go.mod b/golang/go.mod
index c51a4b6..bd70f0d 100644
--- a/golang/go.mod
+++ b/golang/go.mod
@@ -1,4 +1,4 @@
-module github.com/CeresDB/horaedbproto/golang
+module github.com/apache/incubator-horaedbproto/golang
go 1.18
diff --git a/golang/pkg/metaeventpb/meta_event.pb.go
b/golang/pkg/metaeventpb/meta_event.pb.go
index c2f5d4f..837de67 100644
--- a/golang/pkg/metaeventpb/meta_event.pb.go
+++ b/golang/pkg/metaeventpb/meta_event.pb.go
@@ -22,8 +22,8 @@
package metaeventpb
import (
- commonpb "github.com/CeresDB/horaedbproto/golang/pkg/commonpb"
- metaservicepb "github.com/CeresDB/horaedbproto/golang/pkg/metaservicepb"
+ commonpb "github.com/apache/incubator-horaedbproto/golang/pkg/commonpb"
+ metaservicepb
"github.com/apache/incubator-horaedbproto/golang/pkg/metaservicepb"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
diff --git a/golang/pkg/metaservicepb/meta_service.pb.go
b/golang/pkg/metaservicepb/meta_service.pb.go
index 7db528d..fdb4ee5 100644
--- a/golang/pkg/metaservicepb/meta_service.pb.go
+++ b/golang/pkg/metaservicepb/meta_service.pb.go
@@ -22,8 +22,8 @@
package metaservicepb
import (
- clusterpb "github.com/CeresDB/horaedbproto/golang/pkg/clusterpb"
- commonpb "github.com/CeresDB/horaedbproto/golang/pkg/commonpb"
+ clusterpb
"github.com/apache/incubator-horaedbproto/golang/pkg/clusterpb"
+ commonpb "github.com/apache/incubator-horaedbproto/golang/pkg/commonpb"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
diff --git a/golang/pkg/storagepb/storage.pb.go
b/golang/pkg/storagepb/storage.pb.go
index 55f34f3..376b145 100644
--- a/golang/pkg/storagepb/storage.pb.go
+++ b/golang/pkg/storagepb/storage.pb.go
@@ -22,8 +22,8 @@
package storagepb
import (
- commonpb "github.com/CeresDB/horaedbproto/golang/pkg/commonpb"
- horaeprompb "github.com/CeresDB/horaedbproto/golang/pkg/horaeprompb"
+ commonpb "github.com/apache/incubator-horaedbproto/golang/pkg/commonpb"
+ horaeprompb
"github.com/apache/incubator-horaedbproto/golang/pkg/horaeprompb"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
diff --git a/java/pom.xml b/java/pom.xml
index 57c5d75..d78eaef 100644
--- a/java/pom.xml
+++ b/java/pom.xml
@@ -18,54 +18,42 @@
-->
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
- <groupId>io.ceresdb</groupId>
+
+ <parent>
+ <groupId>org.apache</groupId>
+ <artifactId>apache</artifactId>
+ <version>29</version>
+ </parent>
+
+ <groupId>org.apache.horaedb</groupId>
<artifactId>horaedb-proto-internal</artifactId>
<version>1.0.0</version>
- <packaging>jar</packaging>
- <name>horaedb-proto-internal</name>
-
- <description>This is a project that manages Java code generated by gRPC
tool set</description>
- <url>https://github.com/CeresDB/horaedbproto</url>
<licenses>
<license>
<name>The Apache Software License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
- <distribution>repo,manual</distribution>
</license>
</licenses>
- <developers>
- <developer>
- <name>HoraeDB Team</name>
- <email>[email protected]</email>
- </developer>
- </developers>
-
- <scm>
- <connection>https://github.com/CeresDB/HoraeDBdbproto</connection>
-
<developerConnection>https://github.com/CeresDB/HoraeDBdbproto</developerConnection>
- <url>https://github.com/CeresDB/HoraeDBdbproto</url>
- </scm>
-
- <distributionManagement>
- <repository>
- <id>ossrh</id>
-
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
- </repository>
- <snapshotRepository>
- <id>ossrh</id>
-
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
- </snapshotRepository>
- </distributionManagement>
+ <url>https://horaedb.apache.org</url>
+ <mailingLists>
+ <mailingList>
+ <name>Develop List</name>
+ <subscribe>[email protected]</subscribe>
+ <unsubscribe>[email protected]</unsubscribe>
+ <post>[email protected]</post>
+
<archive>https://lists.apache.org/[email protected]</archive>
+ </mailingList>
+ </mailingLists>
<properties>
- <io.grpc.version>1.23.0</io.grpc.version>
- <junit.version>4.13.1</junit.version>
<maven.compiler.source>8</maven.compiler.source>
<maven.compiler.target>8</maven.compiler.target>
- <maven.deploy.skip>false</maven.deploy.skip>
<project.encoding>UTF-8</project.encoding>
+
+ <io.grpc.version>1.23.0</io.grpc.version>
+ <junit.version>4.13.1</junit.version>
<protobuf.version>3.20.1</protobuf.version>
</properties>
@@ -185,47 +173,6 @@
</includes>
</configuration>
</plugin>
- <plugin>
- <groupId>org.sonatype.plugins</groupId>
- <artifactId>nexus-staging-maven-plugin</artifactId>
- <version>1.6.7</version>
- <extensions>true</extensions>
- <configuration>
- <serverId>ossrh</serverId>
- <nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
- <autoReleaseAfterClose>true</autoReleaseAfterClose>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-gpg-plugin</artifactId>
- <version>1.6</version>
- <executions>
- <execution>
- <phase>verify</phase>
- <goals>
- <goal>sign</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-javadoc-plugin</artifactId>
- <version>2.9.1</version>
- <executions>
- <execution>
- <phase>package</phase>
- <goals>
- <goal>jar</goal>
- </goals>
- </execution>
- </executions>
- <configuration>
- <!-- ignore javadoc check-->
- <additionalparam>-Xdoclint:none</additionalparam>
- </configuration>
- </plugin>
</plugins>
</build>
</project>
diff --git a/protos/cluster.proto b/protos/cluster.proto
index bbafc97..e3a2d38 100644
--- a/protos/cluster.proto
+++ b/protos/cluster.proto
@@ -17,7 +17,7 @@
syntax = "proto3";
package cluster;
-option go_package = "github.com/CeresDB/horaedbproto/golang/pkg/clusterpb";
+option go_package =
"github.com/apache/incubator-horaedbproto/golang/pkg/clusterpb";
enum NodeState {
ONLINE = 0;
diff --git a/protos/common.proto b/protos/common.proto
index e196b2b..8b197d8 100644
--- a/protos/common.proto
+++ b/protos/common.proto
@@ -17,9 +17,9 @@
syntax = "proto3";
package common;
-option java_package = "io.ceresdb.proto.internal";
+option java_package = "org.apache.horaedb.proto.internal";
option java_outer_classname = "Common";
-option go_package = "github.com/CeresDB/horaedbproto/golang/pkg/commonpb";
+option go_package =
"github.com/apache/incubator-horaedbproto/golang/pkg/commonpb";
message ResponseHeader {
uint32 code = 1;
diff --git a/protos/meta_event.proto b/protos/meta_event.proto
index 842e846..8e6090d 100644
--- a/protos/meta_event.proto
+++ b/protos/meta_event.proto
@@ -17,7 +17,7 @@
syntax = "proto3";
package meta_event;
-option go_package = "github.com/CeresDB/horaedbproto/golang/pkg/metaeventpb";
+option go_package =
"github.com/apache/incubator-horaedbproto/golang/pkg/metaeventpb";
import "common.proto";
import "meta_service.proto";
diff --git a/protos/meta_service.proto b/protos/meta_service.proto
index 6722d64..8a109a4 100644
--- a/protos/meta_service.proto
+++ b/protos/meta_service.proto
@@ -17,7 +17,7 @@
syntax = "proto3";
package meta_service;
-option go_package = "github.com/CeresDB/horaedbproto/golang/pkg/metaservicepb";
+option go_package =
"github.com/apache/incubator-horaedbproto/golang/pkg/metaservicepb";
import "common.proto";
import "cluster.proto";
diff --git a/protos/meta_storage.proto b/protos/meta_storage.proto
index 71f4bc8..c0d6284 100644
--- a/protos/meta_storage.proto
+++ b/protos/meta_storage.proto
@@ -17,7 +17,7 @@
syntax = "proto3";
package meta_storage;
-option go_package = "github.com/CeresDB/horaedbproto/golang/pkg/metastoragepb";
+option go_package =
"github.com/apache/incubator-horaedbproto/golang/pkg/metastoragepb";
message Member {
string name = 1;
diff --git a/protos/prometheus.proto b/protos/prometheus.proto
index a906031..6c33347 100644
--- a/protos/prometheus.proto
+++ b/protos/prometheus.proto
@@ -17,9 +17,9 @@
syntax = "proto3";
package prometheus;
-option java_package = "io.ceresdb.proto.internal";
+option java_package = "org.apache.horaedb.proto.internal";
option java_outer_classname = "Prometheus";
-option go_package = "github.com/CeresDB/horaedbproto/golang/pkg/horaeprompb";
+option go_package =
"github.com/apache/incubator-horaedbproto/golang/pkg/horaeprompb";
message Expr {
oneof node {
diff --git a/protos/storage.proto b/protos/storage.proto
index 71ba368..80ba364 100644
--- a/protos/storage.proto
+++ b/protos/storage.proto
@@ -17,9 +17,9 @@
syntax = "proto3";
package storage;
-option java_package = "io.ceresdb.proto.internal";
+option java_package = "org.apache.horaedb.proto.internal";
option java_outer_classname = "Storage";
-option go_package = "github.com/CeresDB/horaedbproto/golang/pkg/storagepb";
+option go_package =
"github.com/apache/incubator-horaedbproto/golang/pkg/storagepb";
import "common.proto";
import "prometheus.proto";
diff --git a/rust/Cargo.toml b/rust/Cargo.toml
index 894cf1d..b9ac324 100644
--- a/rust/Cargo.toml
+++ b/rust/Cargo.toml
@@ -17,7 +17,7 @@ name = "horaedbproto"
version = "1.0.24"
authors = ["HoraeDB Authors"]
edition = "2021"
-repository = "https://github.com/CeresDB/horaedbproto"
+repository = "https://github.com/apache/incubator-horaedbproto"
license = "Apache-2.0"
description = "Protobuf specs for HoraeDB"
readme = "../README.md"
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]