Skip to content

Commit 6feb1bc

Browse files
Prepare release 0.0.8 (#163)
1 parent 5260706 commit 6feb1bc

File tree

13 files changed

+66
-27
lines changed

13 files changed

+66
-27
lines changed

benchmarks/go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ require (
77
github.com/klauspost/compress v1.18.0
88
github.com/open-telemetry/otel-arrow v0.31.0
99
github.com/parquet-go/parquet-go v0.23.0
10-
github.com/splunk/stef/go/otel v0.0.7
10+
github.com/splunk/stef/go/otel v0.0.8
1111
github.com/splunk/stef/go/pdata v0.0.0
12-
github.com/splunk/stef/go/pkg v0.0.7
12+
github.com/splunk/stef/go/pkg v0.0.8
1313
github.com/stretchr/testify v1.10.0
1414
go.opentelemetry.io/collector/pdata v1.19.0
1515
golang.org/x/text v0.29.0

examples/jsonl/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ go 1.23
55
require (
66
github.com/golang/protobuf v1.5.0
77
github.com/klauspost/compress v1.18.0
8-
github.com/splunk/stef/go/pkg v0.0.7
8+
github.com/splunk/stef/go/pkg v0.0.8
99
github.com/stretchr/testify v1.9.0
1010
google.golang.org/protobuf v1.36.9
1111
)

examples/profile/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ require (
66
github.com/google/go-cmp v0.6.0
77
github.com/google/pprof v0.0.0-20250630185457-6e76a2b096b5
88
github.com/klauspost/compress v1.17.8
9-
github.com/splunk/stef/go/pkg v0.0.6
9+
github.com/splunk/stef/go/pkg v0.0.8
1010
github.com/stretchr/testify v1.10.0
1111
modernc.org/b/v2 v2.1.4
1212
)

go/grpc/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ go 1.22.7
55
toolchain go1.23.2
66

77
require (
8-
github.com/splunk/stef/go/pkg v0.0.7
8+
github.com/splunk/stef/go/pkg v0.0.8
99
github.com/stretchr/testify v1.10.0
1010
google.golang.org/grpc v1.68.0
1111
google.golang.org/protobuf v1.35.2

go/otel/go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ go 1.22.7
55
toolchain go1.23.2
66

77
require (
8-
github.com/splunk/stef/go/grpc v0.0.7
9-
github.com/splunk/stef/go/pkg v0.0.7
8+
github.com/splunk/stef/go/grpc v0.0.8
9+
github.com/splunk/stef/go/pkg v0.0.8
1010
github.com/stretchr/testify v1.10.0
1111
google.golang.org/grpc v1.68.0
1212
)

go/pdata/go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ toolchain go1.23.2
66

77
require (
88
github.com/google/go-cmp v0.6.0
9-
github.com/splunk/stef/go/otel v0.0.7
10-
github.com/splunk/stef/go/pkg v0.0.7
9+
github.com/splunk/stef/go/otel v0.0.8
10+
github.com/splunk/stef/go/pkg v0.0.8
1111
github.com/stretchr/testify v1.10.0
1212
go.opentelemetry.io/collector/pdata v1.16.0
1313
modernc.org/b/v2 v2.1.0

makefile

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -45,25 +45,27 @@ ifndef VERSION
4545
@exit 1
4646
endif
4747

48+
RELEASE_MODULES := go/pkg go/grpc go/otel go/pdata
49+
ALL_MODULES += $(RELEASE_MODULES) stefc stefc/generator/testdata examples/jsonl examples/profile otelcol benchmarks
50+
4851
.PHONY: prepver
4952
prepver: verifyver
5053
echo Updating to version ${VERSION}
51-
cd go/grpc && go mod edit -require=github.com/splunk/stef/go/pkg@${VERSION} && go mod tidy
54+
cd go/grpc && go mod edit -require=github.com/splunk/stef/go/pkg@${VERSION}
5255
cd go/otel && go mod edit -require=github.com/splunk/stef/go/pkg@${VERSION} \
53-
&& go mod edit -require=github.com/splunk/stef/go/grpc@${VERSION} && go mod tidy
56+
&& go mod edit -require=github.com/splunk/stef/go/grpc@${VERSION}
5457
cd go/pdata && go mod edit -require=github.com/splunk/stef/go/pkg@${VERSION} \
55-
&& go mod edit -require=github.com/splunk/stef/go/otel@${VERSION} && go mod tidy
56-
cd stefc && go mod edit -require=github.com/splunk/stef/go/pkg@${VERSION} && go mod tidy
57-
cd examples/jsonl && go mod edit -require=github.com/splunk/stef/go/pkg@${VERSION} && go mod tidy
58-
cd otelcol && go mod tidy
59-
cd benchmarks && go mod tidy
60-
61-
MODULES := go/pkg go/grpc go/otel go/pdata
58+
&& go mod edit -require=github.com/splunk/stef/go/otel@${VERSION}
59+
cd stefc && go mod edit -require=github.com/splunk/stef/go/pkg@${VERSION}
60+
cd stefc/generator/testdata && go mod edit -require=github.com/splunk/stef/go/pkg@${VERSION}
61+
cd examples/jsonl && go mod edit -require=github.com/splunk/stef/go/pkg@${VERSION}
62+
cd examples/profile && go mod edit -require=github.com/splunk/stef/go/pkg@${VERSION}
63+
$(foreach gomod,$(ALL_MODULES),$(call exec-command,cd $(gomod) && go mod tidy))
6264

6365
.PHONY: releasever
6466
releasever: verifyver
6567
echo Tagging version $(VERSION)
66-
$(foreach gomod,$(MODULES),$(call exec-command,git tag $(gomod)/$(VERSION) && git push origin $(gomod)/$(VERSION)))
68+
$(foreach gomod,$(RELEASE_MODULES),$(call exec-command,git tag $(gomod)/$(VERSION) && git push origin $(gomod)/$(VERSION)))
6769

6870
# Docs validation targets
6971
.PHONY: docs-validate docs-validate-html docs-validate-css docs-check-links docs-install-deps

otelcol/go.mod

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ toolchain go1.23.2
66

77
require (
88
github.com/spf13/pflag v1.0.5 // indirect
9-
github.com/splunk/stef/go/grpc v0.0.7
9+
github.com/splunk/stef/go/grpc v0.0.8
1010
github.com/splunk/stef/go/pdata v0.0.0
1111
go.opentelemetry.io/collector v0.120.0 // indirect
1212
go.opentelemetry.io/collector/confmap v1.26.0
@@ -26,8 +26,8 @@ require (
2626
github.com/open-telemetry/opentelemetry-collector-contrib/receiver/filelogreceiver v0.120.0
2727
github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver v0.120.0
2828
github.com/open-telemetry/otel-arrow v0.24.0
29-
github.com/splunk/stef/go/otel v0.0.7
30-
github.com/splunk/stef/go/pkg v0.0.7
29+
github.com/splunk/stef/go/otel v0.0.8
30+
github.com/splunk/stef/go/pkg v0.0.8
3131
github.com/stretchr/testify v1.10.0
3232
go.opentelemetry.io/collector/component v0.120.0
3333
go.opentelemetry.io/collector/component/componentstatus v0.120.0

stefc/generator/generator_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ func TestGenerate(t *testing.T) {
4949

5050
// Run tests in the generated code
5151
cmd := exec.Command("go", "test", "-v", genGo.OutputDir+"/...")
52+
cmd.Dir = genGo.OutputDir
5253
stdoutStderr, err := cmd.CombinedOutput()
5354
if err != nil {
5455
fmt.Printf("%s\n", stdoutStderr)

stefc/generator/testdata/go.mod

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
module github.com/splunk/stef/stefc/generator/testdata
2+
3+
go 1.24
4+
5+
require (
6+
github.com/splunk/stef/go/pkg v0.0.8
7+
github.com/stretchr/testify v1.9.0
8+
modernc.org/b/v2 v2.1.9
9+
)
10+
11+
require (
12+
github.com/davecgh/go-spew v1.1.1 // indirect
13+
github.com/klauspost/compress v1.17.8 // indirect
14+
github.com/pmezard/go-difflib v1.0.0 // indirect
15+
gopkg.in/yaml.v3 v3.0.1 // indirect
16+
)
17+
18+
replace github.com/splunk/stef/go/pkg => ../../../go/pkg

0 commit comments

Comments
 (0)