You've already forked opentelemetry-go
							
							
				mirror of
				https://github.com/open-telemetry/opentelemetry-go.git
				synced 2025-10-31 00:07:40 +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:
		
				
					committed by
					
						 GitHub
						GitHub
					
				
			
			
				
	
			
			
			
						parent
						
							1d2189088d
						
					
				
				
					commit
					2e221fdf3e
				
			
							
								
								
									
										3
									
								
								.github/dependabot.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								.github/dependabot.yml
									
									
									
									
										vendored
									
									
								
							| @@ -83,8 +83,7 @@ updates: | ||||
|       interval: "weekly" | ||||
|       day: "sunday" | ||||
|   - package-ecosystem: "gomod" | ||||
|     directory: "/tools" | ||||
|     directory: "/internal/tools" | ||||
|     schedule: | ||||
|       interval: "weekly" | ||||
|       day: "sunday" | ||||
|  | ||||
|   | ||||
| @@ -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 | ||||
|  | ||||
|   | ||||
							
								
								
									
										2
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								Makefile
									
									
									
									
									
								
							| @@ -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) | ||||
|   | ||||
| @@ -1,4 +1,4 @@ | ||||
| module go.opentelemetry.io/otel/tools | ||||
| module go.opentelemetry.io/otel/internal/tools | ||||
| 
 | ||||
| go 1.14 | ||||
| 
 | ||||
							
								
								
									
										2
									
								
								tag.sh
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								tag.sh
									
									
									
									
									
								
							| @@ -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() { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user