1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2025-08-13 19:53:11 +02:00

Move tools package under internal (#1141)

It is not user-facing, so there is no reason to leave it in an
importable location. Fixes #1126.
This commit is contained in:
Anthony Mirabella
2020-09-09 12:14:03 -04:00
committed by GitHub
parent 1d2189088d
commit 2e221fdf3e
7 changed files with 5 additions and 5 deletions

View File

@@ -83,8 +83,7 @@ updates:
interval: "weekly"
day: "sunday"
- package-ecosystem: "gomod"
directory: "/tools"
directory: "/internal/tools"
schedule:
interval: "weekly"
day: "sunday"

View File

@@ -29,6 +29,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
This removal of the propagators is reflective of the OpenTelemetry specification for these propagators as well as cleans up the `go.opentelemetry.io/otel/api/trace` API. (#1118)
- Rename Jaeger tags used for instrumentation library information to reflect changes in OpenTelemetry specification. (#1119)
- Rename `ProbabilitySampler` to `TraceIDRatioBased` and change semantics to ignore parent span sampling status. (#1115)
- Move `tools` package under `internal`. (#1141)
## [0.11.0] - 2020-08-24

View File

@@ -13,7 +13,7 @@
# limitations under the License.
EXAMPLES := $(shell ./get_main_pkgs.sh ./example)
TOOLS_MOD_DIR := ./tools
TOOLS_MOD_DIR := ./internal/tools
# All source code and documents. Used in spell check.
ALL_DOCS := $(shell find . -name '*.md' -type f | sort)

View File

@@ -1,4 +1,4 @@
module go.opentelemetry.io/otel/tools
module go.opentelemetry.io/otel/internal/tools
go 1.14

2
tag.sh
View File

@@ -17,7 +17,7 @@
readonly PROGNAME=$(basename "$0")
readonly PROGDIR=$(readlink -m "$(dirname "$0")")
readonly EXCLUDE_PACKAGES="tools"
readonly EXCLUDE_PACKAGES="internal/tools"
readonly SEMVER_REGEX="v(0|[1-9][0-9]*)\\.(0|[1-9][0-9]*)\\.(0|[1-9][0-9]*)(\\-[0-9A-Za-z-]+(\\.[0-9A-Za-z-]+)*)?(\\+[0-9A-Za-z-]+(\\.[0-9A-Za-z-]+)*)?"
usage() {