This is an automated email from the ASF dual-hosted git repository. chunshao pushed a commit to tag v2.0.0-rc.4 in repository https://gitbox.apache.org/repos/asf/incubator-horaedb.git
commit 03fa16a0c509fce4e43d6d529959e516e499d47e Author: chunshao.rcs <[email protected]> AuthorDate: Wed Mar 13 15:33:00 2024 +0800 chore: add some dependency project descriptions in notice (#1499) ## Rationale Add some dependency project descriptions in `NOTICE`. ## Detailed Changes 1. Add some dependency project descriptions in `NOTICE`. 2. Add `DEPENDENCIES` file. ## Test Plan No need. --- DEPENDENCIES.tsv | 726 +++++++++++++++++++++++++++++ Makefile | 6 + NOTICE | 40 ++ horaemeta/DEPENDENCIES.csv | 77 +++ licenserc.toml | 15 +- licenses/LICENSE-consistent.txt | 21 + src/components/future_ext/src/cancel.rs | 17 - src/components/size_ext/src/lib.rs | 17 - src/components/skiplist/Cargo.toml | 17 - src/components/skiplist/benches/bench.rs | 17 - src/components/skiplist/src/key.rs | 17 - src/components/skiplist/src/lib.rs | 17 - src/components/skiplist/src/list.rs | 17 - src/components/skiplist/tests/tests.rs | 17 - src/components/tracing_util/Cargo.toml | 17 - src/components/tracing_util/src/lib.rs | 17 - src/components/tracing_util/src/logging.rs | 17 - src/server/src/federated.rs | 21 +- src/server/src/session.rs | 21 +- 19 files changed, 888 insertions(+), 226 deletions(-) diff --git a/DEPENDENCIES.tsv b/DEPENDENCIES.tsv new file mode 100644 index 00000000..629ce2bf --- /dev/null +++ b/DEPENDENCIES.tsv @@ -0,0 +1,726 @@ +crate 0BSD Apache-2.0 Apache-2.0 WITH LLVM-exception BSD-2-Clause BSD-3-Clause BSL-1.0 CC0-1.0 CDDL-1.0 ISC MIT MIT-0 MPL-2.0 MulanPSL-2.0 Unicode-DFS-2016 Unlicense Zlib Unlicensed [email protected] X X [email protected] X X X [email protected] X X [email protected] X X [email protected] X X [email protected] X [email protected] X [email protected] X [email protected] X X [email protected] X [email protected] X X [email protected] X X [email protected] X X [email protected] X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X [email protected] X X [email protected] X [email protected] X X [email protected] X [email protected] X [email protected] X [email protected] X [email protected] X [email protected] X [email protected] X [email protected] X [email protected] X [email protected] X [email protected] X [email protected] X [email protected] X [email protected] X [email protected] X [email protected] X [email protected] X [email protected] X [email protected] X [email protected] X [email protected] X [email protected] X [email protected] X [email protected] X [email protected] X [email protected] X [email protected] X [email protected] X [email protected] X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X [email protected] X [email protected] X X [email protected] X [email protected] X [email protected] X X [email protected] X [email protected] X [email protected] X X [email protected] X X [email protected] X X [email protected] X [email protected] X [email protected] X X [email protected] X [email protected] X [email protected] X [email protected] X X [email protected] X X [email protected] X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X X [email protected] X X [email protected] X [email protected] X [email protected] X X [email protected]+1.0.8 X X [email protected] X X [email protected] X X [email protected] X [email protected] X X [email protected] X [email protected] X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X [email protected] X [email protected] X [email protected] X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X [email protected] X [email protected] X X [email protected] X [email protected] X [email protected] X X [email protected] X [email protected] X [email protected] X [email protected] X X [email protected] X [email protected] X [email protected] X X [email protected] X X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X [email protected] X [email protected] X [email protected] X [email protected] X [email protected] X [email protected] X [email protected] X [email protected] X [email protected] X [email protected] X [email protected] X [email protected] X [email protected] X [email protected] X [email protected] X [email protected] X X [email protected] X [email protected] X X [email protected] X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X [email protected] X [email protected] X X [email protected] X X [email protected] X X [email protected] X [email protected] X [email protected] X X [email protected] X X [email protected] X X X [email protected] X X [email protected] X X [email protected] X X [email protected] X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X [email protected] X X [email protected] X X [email protected] X X [email protected] X [email protected] X [email protected] X [email protected] X [email protected] X [email protected] X [email protected] X [email protected] X [email protected] X [email protected] X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X [email protected] X [email protected] X X [email protected] X X [email protected] X X [email protected] X [email protected] X X [email protected] X X [email protected] X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X [email protected] X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X [email protected] X [email protected] X [email protected] X [email protected] X [email protected] X X [email protected] X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X [email protected] X X X [email protected] X X [email protected] X [email protected] X X [email protected] X X [email protected] X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X [email protected] X X [email protected] X X [email protected] X [email protected] X [email protected] X [email protected] X X [email protected] X X X [email protected] X X [email protected] X X [email protected] X X [email protected] X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X [email protected] X X [email protected] X [email protected] X [email protected] X X [email protected] X X [email protected] X X X [email protected] X X [email protected] X X [email protected] X X [email protected] X [email protected] X [email protected] X [email protected] X [email protected] X [email protected] X [email protected] X X [email protected] X [email protected] X [email protected] X [email protected] X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X [email protected] X [email protected] X [email protected] X [email protected] X X [email protected] X [email protected] X X [email protected] X X X [email protected] X [email protected] X X [email protected] X X [email protected] X X [email protected] X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X [email protected] X [email protected] X X [email protected] X [email protected] X [email protected] X [email protected] X X [email protected] X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X [email protected] X [email protected] X X [email protected] X X [email protected] X [email protected] X [email protected] X [email protected] X [email protected] X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X [email protected] X [email protected] X [email protected] X [email protected] X [email protected] X X [email protected] X X [email protected] X X [email protected] X [email protected] X [email protected] X [email protected] X X [email protected] X [email protected] X [email protected] X X [email protected] X X [email protected] X X [email protected] X [email protected] X [email protected] X [email protected] X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X [email protected] X [email protected] X [email protected] X X [email protected] X X [email protected] X X [email protected] X [email protected] X X [email protected] X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected]+deprecated X X [email protected] X X [email protected] X [email protected] X [email protected] X [email protected] X X [email protected] X X [email protected] X [email protected] X [email protected] X [email protected] X [email protected] X [email protected] X [email protected] X [email protected] X [email protected] X [email protected] X [email protected] X [email protected] X [email protected] X [email protected] X [email protected] X [email protected] X [email protected] X [email protected] X [email protected] X [email protected] X [email protected] X X [email protected] X X [email protected] X [email protected] X [email protected] X X [email protected] X X [email protected] X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X [email protected] X X [email protected] X X [email protected] X [email protected] X [email protected] X [email protected] X [email protected] X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X [email protected] X X [email protected] X [email protected] X [email protected] X [email protected] X [email protected] X [email protected] X X [email protected] X [email protected] X X [email protected] X [email protected] X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X X [email protected] X X X [email protected] X X X [email protected] X X X [email protected] X X X [email protected] X X X [email protected] X X [email protected] X [email protected] X [email protected] X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X [email protected] X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X X [email protected] X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X [email protected] X X [email protected] X X [email protected] X X [email protected] X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X [email protected] X X [email protected] X [email protected] X [email protected] X X X [email protected] X X X [email protected] X [email protected] X X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X [email protected] X [email protected] X X [email protected] X X [email protected] X [email protected] X [email protected] X X [email protected] X [email protected] X [email protected] X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X [email protected] X [email protected] X [email protected] X [email protected] X [email protected] X [email protected] X X [email protected] X [email protected] X [email protected] X [email protected] X X [email protected] X X [email protected] X [email protected] X [email protected] X [email protected] X [email protected] X [email protected] X [email protected] X X [email protected] X [email protected] X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X [email protected] X X [email protected] X X [email protected] X X [email protected] X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X [email protected] X [email protected] X X [email protected] X X X [email protected] X X X [email protected] X [email protected] X X [email protected] X [email protected] X X [email protected] X X [email protected] X [email protected] X [email protected] X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X [email protected] X [email protected] X [email protected] X [email protected] X [email protected] X [email protected] X [email protected] X [email protected] X [email protected] X [email protected] X [email protected] X [email protected] X [email protected] X [email protected] X [email protected] X [email protected] X [email protected] X [email protected] X [email protected] X X [email protected] X [email protected] X X [email protected] X X [email protected] X [email protected] X X [email protected] X X [email protected] X X [email protected] X X X [email protected] X X [email protected] X X [email protected] X X [email protected] X [email protected] X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X [email protected] X X [email protected] X [email protected] X [email protected]+wasi-snapshot-preview1 X X X [email protected]+wasi-snapshot-preview1 X X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X [email protected] X [email protected] X [email protected] X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X X [email protected] X [email protected] X [email protected] X [email protected] X [email protected] X [email protected] X X [email protected] X X [email protected] X X [email protected]+zstd.1.5.2 X [email protected] X [email protected]+zstd.1.5.4 X X [email protected] X X [email protected]+zstd.1.5.4 X X diff --git a/Makefile b/Makefile index 9d4bcb4f..6569ebf0 100644 --- a/Makefile +++ b/Makefile @@ -152,3 +152,9 @@ fix: cargo fmt cargo sort --workspace cargo clippy --fix --allow-staged --all-targets --all-features --workspace -- -D warnings + +update-licenses: + # Update Horaedb dependencies + cargo install --locked cargo-deny && cargo deny list -f tsv -l crate > DEPENDENCIES.tsv + # Update Horaemeta dependencies + cd $(DIR)/horaemeta; go install github.com/google/go-licenses@latest && go-licenses report ./... > DEPENDENCIES.csv diff --git a/NOTICE b/NOTICE index cd5de63d..0914029d 100644 --- a/NOTICE +++ b/NOTICE @@ -3,3 +3,43 @@ Copyright 2024 The Apache Software Foundation This product includes software developed at The Apache Software Foundation (http://www.apache.org/). + +================================================================ + +This product includes a number of Dependencies with separate copyright notices +and license terms. Your use of these submodules is subject to the terms and +conditions of the following licenses. + +================================================================ + +================================================================ +Apache-2.0 licenses +================================================================ +The following components are provided under the Apache-2.0 License.See project link for details. +The text of each license is the standard Apache 2.0 license. + +* prometheus-common(https://github.com/prometheus/common) +* greptimedb(https://github.com/GreptimeTeam/greptimedb) +* agatedb(https://github.com/tikv/agatedb) +* tikv(https://github.com/tikv/tikv) +* influxdb(https://github.com/influxdata/influxdb) +* databend(https://github.com/datafuselabs/databend) + +File horaemeta/server/service/http/route.go is modified from Prometheus-common. +Files src/server/src/federated.rs, src/server/src/session.rs are modified from greptimedb. +Files src/components/skiplist/benches/bench.rs, src/components/skiplist/src/lib.rs, src/components/skiplist/src/key.rs, +src/components/skiplist/src/list.rs, src/components/skiplist/tests/tests.rs, src/components/skiplist/Cargo.toml are modified from agatedb. +File src/components/size_ext/src/lib.rs is modified from tikv. +File src/components/future_ext/src/cancel.rs is modified from influxdb. +Files src/components/tracing_util/src/lib.rs, src/components/tracing_util/src/logging.rs, src/components/tracing_util/Cargo.toml are modified from databend. + +================================================================ +MIT licenses +================================================================ +The following components are provided under the MIT License. See project link for details. +The text of each license is also included in licenses/LICENSE-[project].txt + +* consistent(https://github.com/buraksezer/consistent) + +Files horaemeta/server/coordinator/scheduler/nodepicker/hash/consistent_uniform.go, +horaemeta/server/coordinator/scheduler/nodepicker/hash/consistent_uniform_test.go are modified from consistent. diff --git a/horaemeta/DEPENDENCIES.csv b/horaemeta/DEPENDENCIES.csv new file mode 100644 index 00000000..bd0189b2 --- /dev/null +++ b/horaemeta/DEPENDENCIES.csv @@ -0,0 +1,77 @@ +github.com/apache/incubator-horaedb-meta,https://github.com/apache/incubator-horaedb-meta/blob/HEAD/licenserc.toml,Apache-2.0 +github.com/apache/incubator-horaedb-proto/golang/pkg,https://github.com/apache/incubator-horaedb-proto/blob/92152841fc8a/golang/LICENSE,Apache-2.0 +github.com/beorn7/perks/quantile,https://github.com/beorn7/perks/blob/v1.0.1/LICENSE,MIT +github.com/caarlos0/env/v6,https://github.com/caarlos0/env/blob/v6.10.1/LICENSE.md,MIT +github.com/cenkalti/backoff/v4,https://github.com/cenkalti/backoff/blob/v4.2.1/LICENSE,MIT +github.com/cespare/xxhash/v2,https://github.com/cespare/xxhash/blob/v2.2.0/LICENSE.txt,MIT +github.com/coreos/go-semver/semver,https://github.com/coreos/go-semver/blob/v0.3.1/LICENSE,Apache-2.0 +github.com/coreos/go-systemd/v22/journal,https://github.com/coreos/go-systemd/blob/v22.5.0/LICENSE,Apache-2.0 +github.com/davecgh/go-spew/spew,https://github.com/davecgh/go-spew/blob/v1.1.1/LICENSE,ISC +github.com/dustin/go-humanize,https://github.com/dustin/go-humanize/blob/v1.0.1/LICENSE,MIT +github.com/go-logr/logr,https://github.com/go-logr/logr/blob/v1.4.1/LICENSE,Apache-2.0 +github.com/go-logr/stdr,https://github.com/go-logr/stdr/blob/v1.2.2/LICENSE,Apache-2.0 +github.com/gogo/protobuf,https://github.com/gogo/protobuf/blob/v1.3.2/LICENSE,BSD-3-Clause +github.com/golang-jwt/jwt/v4,https://github.com/golang-jwt/jwt/blob/v4.5.0/LICENSE,MIT +github.com/golang/protobuf,https://github.com/golang/protobuf/blob/v1.5.4/LICENSE,BSD-3-Clause +github.com/google/btree,https://github.com/google/btree/blob/v1.1.2/LICENSE,Apache-2.0 +github.com/gorilla/websocket,https://github.com/gorilla/websocket/blob/v1.5.1/LICENSE,BSD-3-Clause +github.com/grpc-ecosystem/go-grpc-middleware,https://github.com/grpc-ecosystem/go-grpc-middleware/blob/v1.4.0/LICENSE,Apache-2.0 +github.com/grpc-ecosystem/go-grpc-prometheus,https://github.com/grpc-ecosystem/go-grpc-prometheus/blob/v1.2.0/LICENSE,Apache-2.0 +github.com/grpc-ecosystem/grpc-gateway,https://github.com/grpc-ecosystem/grpc-gateway/blob/v1.16.0/LICENSE.txt,BSD-3-Clause +github.com/grpc-ecosystem/grpc-gateway/v2,https://github.com/grpc-ecosystem/grpc-gateway/blob/v2.19.1/LICENSE,BSD-3-Clause +github.com/jonboulle/clockwork,https://github.com/jonboulle/clockwork/blob/v0.4.0/LICENSE,Apache-2.0 +github.com/json-iterator/go,https://github.com/json-iterator/go/blob/v1.1.12/LICENSE,MIT +github.com/julienschmidt/httprouter,https://github.com/julienschmidt/httprouter/blob/v1.3.0/LICENSE,BSD-3-Clause +github.com/looplab/fsm,https://github.com/looplab/fsm/blob/v0.3.0/LICENSE,Apache-2.0 +github.com/modern-go/concurrent,https://github.com/modern-go/concurrent/blob/bacd9c7ef1dd/LICENSE,Apache-2.0 +github.com/modern-go/reflect2,https://github.com/modern-go/reflect2/blob/v1.0.2/LICENSE,Apache-2.0 +github.com/pelletier/go-toml/v2,https://github.com/pelletier/go-toml/blob/v2.0.6/LICENSE,MIT +github.com/pingcap/log,https://github.com/pingcap/log/blob/v1.1.0/LICENSE,Apache-2.0 +github.com/pkg/errors,https://github.com/pkg/errors/blob/v0.9.1/LICENSE,BSD-2-Clause +github.com/pmezard/go-difflib/difflib,https://github.com/pmezard/go-difflib/blob/v1.0.0/LICENSE,BSD-3-Clause +github.com/prometheus/client_golang/prometheus,https://github.com/prometheus/client_golang/blob/v1.19.0/LICENSE,Apache-2.0 +github.com/prometheus/client_model/go,https://github.com/prometheus/client_model/blob/v0.6.0/LICENSE,Apache-2.0 +github.com/prometheus/common,https://github.com/prometheus/common/blob/v0.50.0/LICENSE,Apache-2.0 +github.com/prometheus/common/internal/bitbucket.org/ww/goautoneg,https://github.com/prometheus/common/blob/v0.50.0/internal/bitbucket.org/ww/goautoneg/README.txt,BSD-3-Clause +github.com/prometheus/procfs,https://github.com/prometheus/procfs/blob/v0.13.0/LICENSE,Apache-2.0 +github.com/sirupsen/logrus,https://github.com/sirupsen/logrus/blob/v1.9.3/LICENSE,MIT +github.com/soheilhy/cmux,https://github.com/soheilhy/cmux/blob/v0.1.5/LICENSE,Apache-2.0 +github.com/spaolacci/murmur3,https://github.com/spaolacci/murmur3/blob/v1.1.0/LICENSE,BSD-3-Clause +github.com/spf13/pflag,https://github.com/spf13/pflag/blob/v1.0.5/LICENSE,BSD-3-Clause +github.com/stretchr/testify,https://github.com/stretchr/testify/blob/v1.8.4/LICENSE,MIT +github.com/tikv/pd/pkg/tempurl,https://github.com/tikv/pd/blob/v2.1.19/LICENSE,Apache-2.0 +github.com/tmc/grpc-websocket-proxy/wsproxy,https://github.com/tmc/grpc-websocket-proxy/blob/673ab2c3ae75/LICENSE,MIT +github.com/xiang90/probing,https://github.com/xiang90/probing/blob/a49e3df8f510/LICENSE,MIT +go.etcd.io/bbolt,https://github.com/etcd-io/bbolt/blob/v1.3.9/LICENSE,MIT +go.etcd.io/etcd/api/v3,https://github.com/etcd-io/etcd/blob/api/v3.5.12/api/LICENSE,Apache-2.0 +go.etcd.io/etcd/client/pkg/v3,https://github.com/etcd-io/etcd/blob/client/pkg/v3.5.12/client/pkg/LICENSE,Apache-2.0 +go.etcd.io/etcd/client/v2,https://github.com/etcd-io/etcd/blob/client/v2.305.12/client/v2/LICENSE,Apache-2.0 +go.etcd.io/etcd/client/v3,https://github.com/etcd-io/etcd/blob/client/v3.5.12/client/v3/LICENSE,Apache-2.0 +go.etcd.io/etcd/pkg/v3,https://github.com/etcd-io/etcd/blob/pkg/v3.5.12/pkg/LICENSE,Apache-2.0 +go.etcd.io/etcd/raft/v3,https://github.com/etcd-io/etcd/blob/raft/v3.5.12/raft/LICENSE,Apache-2.0 +go.etcd.io/etcd/server/v3,https://github.com/etcd-io/etcd/blob/server/v3.5.12/server/LICENSE,Apache-2.0 +go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc,https://github.com/open-telemetry/opentelemetry-go-contrib/blob/instrumentation/google.golang.org/grpc/otelgrpc/v0.49.0/instrumentation/google.golang.org/grpc/otelgrpc/LICENSE,Apache-2.0 +go.opentelemetry.io/otel,https://github.com/open-telemetry/opentelemetry-go/blob/v1.24.0/LICENSE,Apache-2.0 +go.opentelemetry.io/otel/exporters/otlp/otlptrace,https://github.com/open-telemetry/opentelemetry-go/blob/exporters/otlp/otlptrace/v1.24.0/exporters/otlp/otlptrace/LICENSE,Apache-2.0 +go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc,https://github.com/open-telemetry/opentelemetry-go/blob/exporters/otlp/otlptrace/otlptracegrpc/v1.24.0/exporters/otlp/otlptrace/otlptracegrpc/LICENSE,Apache-2.0 +go.opentelemetry.io/otel/metric,https://github.com/open-telemetry/opentelemetry-go/blob/metric/v1.24.0/metric/LICENSE,Apache-2.0 +go.opentelemetry.io/otel/sdk,https://github.com/open-telemetry/opentelemetry-go/blob/sdk/v1.24.0/sdk/LICENSE,Apache-2.0 +go.opentelemetry.io/otel/trace,https://github.com/open-telemetry/opentelemetry-go/blob/trace/v1.24.0/trace/LICENSE,Apache-2.0 +go.opentelemetry.io/proto/otlp,https://github.com/open-telemetry/opentelemetry-proto-go/blob/otlp/v1.1.0/otlp/LICENSE,Apache-2.0 +go.uber.org/multierr,https://github.com/uber-go/multierr/blob/v1.11.0/LICENSE.txt,MIT +go.uber.org/zap,https://github.com/uber-go/zap/blob/v1.27.0/LICENSE,MIT +golang.org/x/crypto,https://cs.opensource.google/go/x/crypto/+/v0.21.0:LICENSE,BSD-3-Clause +golang.org/x/net,https://cs.opensource.google/go/x/net/+/v0.22.0:LICENSE,BSD-3-Clause +golang.org/x/sync/errgroup,https://cs.opensource.google/go/x/sync/+/v0.6.0:LICENSE,BSD-3-Clause +golang.org/x/sys/unix,https://cs.opensource.google/go/x/sys/+/v0.18.0:LICENSE,BSD-3-Clause +golang.org/x/text,https://cs.opensource.google/go/x/text/+/v0.14.0:LICENSE,BSD-3-Clause +golang.org/x/time/rate,https://cs.opensource.google/go/x/time/+/v0.5.0:LICENSE,BSD-3-Clause +google.golang.org/genproto/googleapis/api,https://github.com/googleapis/go-genproto/blob/29370a3891b7/googleapis/api/LICENSE,Apache-2.0 +google.golang.org/genproto/googleapis/rpc,https://github.com/googleapis/go-genproto/blob/29370a3891b7/googleapis/rpc/LICENSE,Apache-2.0 +google.golang.org/genproto/protobuf/field_mask,https://github.com/googleapis/go-genproto/blob/29370a3891b7/LICENSE,Apache-2.0 +google.golang.org/grpc,https://github.com/grpc/grpc-go/blob/v1.62.1/LICENSE,Apache-2.0 +google.golang.org/protobuf,https://github.com/protocolbuffers/protobuf-go/blob/v1.33.0/LICENSE,BSD-3-Clause +gopkg.in/natefinch/lumberjack.v2,https://github.com/natefinch/lumberjack/blob/v2.2.1/LICENSE,MIT +gopkg.in/yaml.v3,https://github.com/go-yaml/yaml/blob/v3.0.1/LICENSE,MIT +sigs.k8s.io/yaml,https://github.com/kubernetes-sigs/yaml/blob/v1.4.0/LICENSE,Apache-2.0 +sigs.k8s.io/yaml/goyaml.v2,https://github.com/kubernetes-sigs/yaml/blob/v1.4.0/goyaml.v2/LICENSE,Apache-2.0 diff --git a/licenserc.toml b/licenserc.toml index d8310c50..e08f40f9 100644 --- a/licenserc.toml +++ b/licenserc.toml @@ -21,5 +21,18 @@ excludes = [ # Derived "horaemeta/server/coordinator/scheduler/nodepicker/hash/consistent_uniform_test.go", "horaemeta/server/coordinator/scheduler/nodepicker/hash/consistent_uniform.go", - "horaemeta/server/service/http/route.go" + "horaemeta/server/service/http/route.go", + "src/server/src/federated.rs", + "src/server/src/session.rs", + "src/components/skiplist/benches/bench.rs", + "src/components/skiplist/src/lib.rs", + "src/components/skiplist/src/key.rs", + "src/components/skiplist/src/list.rs", + "src/components/skiplist/tests/tests.rs", + "src/components/skiplist/Cargo.toml", + "src/components/size_ext/src/lib.rs", + "src/components/future_ext/src/cancel.rs", + "src/components/tracing_util/src/lib.rs", + "src/components/tracing_util/src/logging.rs", + "src/components/tracing_util/Cargo.toml" ] diff --git a/licenses/LICENSE-consistent.txt b/licenses/LICENSE-consistent.txt new file mode 100644 index 00000000..9b28a31a --- /dev/null +++ b/licenses/LICENSE-consistent.txt @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2018-2021 Burak Sezer + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/src/components/future_ext/src/cancel.rs b/src/components/future_ext/src/cancel.rs index 56df39f7..ab223b04 100644 --- a/src/components/future_ext/src/cancel.rs +++ b/src/components/future_ext/src/cancel.rs @@ -1,20 +1,3 @@ -// Licensed to the Apache Software Foundation (ASF) under one -// or more contributor license agreements. See the NOTICE file -// distributed with this work for additional information -// regarding copyright ownership. The ASF licenses this file -// to you 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. - //! A future wrapper to ensure the wrapped future must be polled. //! //! This implementation is forked from: https://github.com/influxdata/influxdb_iox/blob/885767aa0a6010de592bde9992945b01389eb994/cache_system/src/cancellation_safe_future.rs diff --git a/src/components/size_ext/src/lib.rs b/src/components/size_ext/src/lib.rs index 1b8e8ead..e35f1135 100644 --- a/src/components/size_ext/src/lib.rs +++ b/src/components/size_ext/src/lib.rs @@ -1,20 +1,3 @@ -// Licensed to the Apache Software Foundation (ASF) under one -// or more contributor license agreements. See the NOTICE file -// distributed with this work for additional information -// regarding copyright ownership. The ASF licenses this file -// to you 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. - // Copyright 2016 TiKV Project Authors. Licensed under Apache-2.0. //! Configure utils diff --git a/src/components/skiplist/Cargo.toml b/src/components/skiplist/Cargo.toml index 84b0a5ce..38ecab19 100644 --- a/src/components/skiplist/Cargo.toml +++ b/src/components/skiplist/Cargo.toml @@ -1,20 +1,3 @@ -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you 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. - [package] name = "skiplist" authors = ["Jay Lee <[email protected]>", "HoraeDB Authors"] diff --git a/src/components/skiplist/benches/bench.rs b/src/components/skiplist/benches/bench.rs index b048f737..a3b5f392 100644 --- a/src/components/skiplist/benches/bench.rs +++ b/src/components/skiplist/benches/bench.rs @@ -1,20 +1,3 @@ -// Licensed to the Apache Software Foundation (ASF) under one -// or more contributor license agreements. See the NOTICE file -// distributed with this work for additional information -// regarding copyright ownership. The ASF licenses this file -// to you 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. - use std::{ collections::*, sync::{atomic::*, *}, diff --git a/src/components/skiplist/src/key.rs b/src/components/skiplist/src/key.rs index db1c6f2f..cda4ded0 100644 --- a/src/components/skiplist/src/key.rs +++ b/src/components/skiplist/src/key.rs @@ -1,20 +1,3 @@ -// Licensed to the Apache Software Foundation (ASF) under one -// or more contributor license agreements. See the NOTICE file -// distributed with this work for additional information -// regarding copyright ownership. The ASF licenses this file -// to you 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. - use std::cmp::Ordering; use bytes::Bytes; diff --git a/src/components/skiplist/src/lib.rs b/src/components/skiplist/src/lib.rs index 02d6cecb..0bd650b7 100644 --- a/src/components/skiplist/src/lib.rs +++ b/src/components/skiplist/src/lib.rs @@ -1,20 +1,3 @@ -// Licensed to the Apache Software Foundation (ASF) under one -// or more contributor license agreements. See the NOTICE file -// distributed with this work for additional information -// regarding copyright ownership. The ASF licenses this file -// to you 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. - //! Forked from <https://github.com/tikv/agatedb/blob/8510bff2bfde5b766c3f83cf81c00141967d48a4/skiplist> //! //! Differences: diff --git a/src/components/skiplist/src/list.rs b/src/components/skiplist/src/list.rs index 1fb1312b..4e4114c1 100644 --- a/src/components/skiplist/src/list.rs +++ b/src/components/skiplist/src/list.rs @@ -1,20 +1,3 @@ -// Licensed to the Apache Software Foundation (ASF) under one -// or more contributor license agreements. See the NOTICE file -// distributed with this work for additional information -// regarding copyright ownership. The ASF licenses this file -// to you 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. - use std::{ alloc::Layout, convert::TryInto, diff --git a/src/components/skiplist/tests/tests.rs b/src/components/skiplist/tests/tests.rs index f2b60837..f152acc6 100644 --- a/src/components/skiplist/tests/tests.rs +++ b/src/components/skiplist/tests/tests.rs @@ -1,20 +1,3 @@ -// Licensed to the Apache Software Foundation (ASF) under one -// or more contributor license agreements. See the NOTICE file -// distributed with this work for additional information -// regarding copyright ownership. The ASF licenses this file -// to you 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. - use std::{ str, sync::{atomic::*, *}, diff --git a/src/components/tracing_util/Cargo.toml b/src/components/tracing_util/Cargo.toml index cdd6a415..4992e542 100644 --- a/src/components/tracing_util/Cargo.toml +++ b/src/components/tracing_util/Cargo.toml @@ -1,20 +1,3 @@ -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you 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. - [package] name = "tracing_util" authors = ["Databend Authors <[email protected]>", "HoraeDB Authors"] diff --git a/src/components/tracing_util/src/lib.rs b/src/components/tracing_util/src/lib.rs index 638e5939..2fcad4b5 100644 --- a/src/components/tracing_util/src/lib.rs +++ b/src/components/tracing_util/src/lib.rs @@ -1,20 +1,3 @@ -// Licensed to the Apache Software Foundation (ASF) under one -// or more contributor license agreements. See the NOTICE file -// distributed with this work for additional information -// regarding copyright ownership. The ASF licenses this file -// to you 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. - // Copyright 2020 Datafuse Labs. // fork from:https://github.com/datafuselabs/databend/tree/master/common/tracing diff --git a/src/components/tracing_util/src/logging.rs b/src/components/tracing_util/src/logging.rs index 07b57bbf..e9c327ac 100644 --- a/src/components/tracing_util/src/logging.rs +++ b/src/components/tracing_util/src/logging.rs @@ -1,20 +1,3 @@ -// Licensed to the Apache Software Foundation (ASF) under one -// or more contributor license agreements. See the NOTICE file -// distributed with this work for additional information -// regarding copyright ownership. The ASF licenses this file -// to you 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. - // Copyright 2020 Datafuse Labs. use std::{ diff --git a/src/server/src/federated.rs b/src/server/src/federated.rs index f1636445..1b2df5e1 100644 --- a/src/server/src/federated.rs +++ b/src/server/src/federated.rs @@ -1,22 +1,3 @@ -// Licensed to the Apache Software Foundation (ASF) under one -// or more contributor license agreements. See the NOTICE file -// distributed with this work for additional information -// regarding copyright ownership. The ASF licenses this file -// to you 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. - -// Forked from https://github.com/GreptimeTeam/greptimedb/blob/702ea32538a99e2d163fb1fbd3e75b1ce4ec4232/src/servers/src/mysql/federated.rs. - // Copyright 2023 Greptime Team // // Licensed under the Apache License, Version 2.0 (the "License"); @@ -31,6 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. +// Forked from https://github.com/GreptimeTeam/greptimedb/blob/702ea32538a99e2d163fb1fbd3e75b1ce4ec4232/src/servers/src/mysql/federated.rs. + //! Use regex to filter out some MySQL federated components' emitted statements. //! Inspired by Databend's "[mysql_federated.rs](https://github.com/datafuselabs/databend/blob/ac706bf65845e6895141c96c0a10bad6fdc2d367/src/query/service/src/servers/mysql/mysql_federated.rs)". diff --git a/src/server/src/session.rs b/src/server/src/session.rs index d095999e..907dd8a1 100644 --- a/src/server/src/session.rs +++ b/src/server/src/session.rs @@ -1,22 +1,3 @@ -// Licensed to the Apache Software Foundation (ASF) under one -// or more contributor license agreements. See the NOTICE file -// distributed with this work for additional information -// regarding copyright ownership. The ASF licenses this file -// to you 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. - -// Forked from https://github.com/GreptimeTeam/greptimedb/blob/ca4d690424b03806ea0f8bd5e491585224bbf220/src/session/src/lib.rs - // Copyright 2023 Greptime Team // // Licensed under the Apache License, Version 2.0 (the "License"); @@ -31,6 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. +// Forked from https://github.com/GreptimeTeam/greptimedb/blob/ca4d690424b03806ea0f8bd5e491585224bbf220/src/session/src/lib.rs + use std::{ fmt::{Display, Formatter}, net::SocketAddr, --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
