Skip to content

Commit 2e221fd

Browse files
authored
Move tools package under internal (open-telemetry#1141)
It is not user-facing, so there is no reason to leave it in an importable location. Fixes open-telemetry#1126.
1 parent 1d21890 commit 2e221fd

File tree

7 files changed

+5
-5
lines changed

7 files changed

+5
-5
lines changed

.github/dependabot.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,7 @@ updates:
8383
interval: "weekly"
8484
day: "sunday"
8585
- package-ecosystem: "gomod"
86-
directory: "/tools"
86+
directory: "/internal/tools"
8787
schedule:
8888
interval: "weekly"
8989
day: "sunday"
90-

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
2929
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)
3030
- Rename Jaeger tags used for instrumentation library information to reflect changes in OpenTelemetry specification. (#1119)
3131
- Rename `ProbabilitySampler` to `TraceIDRatioBased` and change semantics to ignore parent span sampling status. (#1115)
32+
- Move `tools` package under `internal`. (#1141)
3233

3334
## [0.11.0] - 2020-08-24
3435

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# limitations under the License.
1414

1515
EXAMPLES := $(shell ./get_main_pkgs.sh ./example)
16-
TOOLS_MOD_DIR := ./tools
16+
TOOLS_MOD_DIR := ./internal/tools
1717

1818
# All source code and documents. Used in spell check.
1919
ALL_DOCS := $(shell find . -name '*.md' -type f | sort)

tools/go.mod internal/tools/go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module go.opentelemetry.io/otel/tools
1+
module go.opentelemetry.io/otel/internal/tools
22

33
go 1.14
44

tools/go.sum internal/tools/go.sum

File renamed without changes.
File renamed without changes.

tag.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
readonly PROGNAME=$(basename "$0")
1818
readonly PROGDIR=$(readlink -m "$(dirname "$0")")
1919

20-
readonly EXCLUDE_PACKAGES="tools"
20+
readonly EXCLUDE_PACKAGES="internal/tools"
2121
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-]+)*)?"
2222

2323
usage() {

0 commit comments

Comments
 (0)