Skip to content

Commit bfbace7

Browse files
authored
chore: add go-license to go mod as tool (#96)
Integrate `go-license` in go mod and update to latest version. --------- Signed-off-by: joka134 <27293650+joka134@users.noreply.github.com>
1 parent 6bc9790 commit bfbace7

File tree

5 files changed

+139
-62
lines changed

5 files changed

+139
-62
lines changed

Makefile

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,6 @@ lint: install-build-deps
2727
go tool golangci-lint run
2828

2929
install-build-deps:
30-
ifeq (, $(shell which go-licenses))
31-
go install github.com/google/go-licenses/v2@v2.0.1
32-
endif
3330
ifeq (, $(shell which copywrite))
3431
go install github.com/hashicorp/copywrite@v0.22.0
3532
endif
@@ -51,7 +48,7 @@ docs:
5148
cp docs/oms-cli.md docs/README.md
5249

5350
generate-license: generate
54-
go-licenses report --template .NOTICE.template ./... > NOTICE
51+
go tool go-licenses report --template .NOTICE.template ./... > NOTICE
5552
copywrite headers apply
5653

5754
run-lima:

NOTICE

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ License URL: https://github.com/googleapis/google-cloud-go/blob/artifactregistry
1111

1212
----------
1313
Module: cloud.google.com/go/auth
14-
Version: v0.18.1
14+
Version: v0.18.2
1515
License: Apache-2.0
16-
License URL: https://github.com/googleapis/google-cloud-go/blob/auth/v0.18.1/auth/LICENSE
16+
License URL: https://github.com/googleapis/google-cloud-go/blob/auth/v0.18.2/auth/LICENSE
1717

1818
----------
1919
Module: cloud.google.com/go/auth/oauth2adapt
@@ -59,9 +59,9 @@ License URL: https://github.com/googleapis/google-cloud-go/blob/serviceusage/v1.
5959

6060
----------
6161
Module: code.gitea.io/sdk/gitea
62-
Version: v0.22.1
62+
Version: v0.23.2
6363
License: MIT
64-
License URL: https://gitea.com/gitea/go-sdk/src/tag/gitea/v0.22.1/gitea/LICENSE
64+
License URL: https://gitea.com/gitea/go-sdk/src/tag/gitea/v0.23.2/gitea/LICENSE
6565

6666
----------
6767
Module: github.com/42wim/httpsig
@@ -95,9 +95,9 @@ License URL: https://github.com/clipperhouse/uax29/blob/v2.4.0/LICENSE
9595

9696
----------
9797
Module: github.com/codesphere-cloud/cs-go
98-
Version: v0.17.0
98+
Version: v0.17.2
9999
License: Apache-2.0
100-
License URL: https://github.com/codesphere-cloud/cs-go/blob/v0.17.0/LICENSE
100+
License URL: https://github.com/codesphere-cloud/cs-go/blob/v0.17.2/LICENSE
101101

102102
----------
103103
Module: github.com/codesphere-cloud/oms/internal/tmpl
@@ -173,9 +173,9 @@ License URL: https://github.com/google/uuid/blob/v1.6.0/LICENSE
173173

174174
----------
175175
Module: github.com/googleapis/enterprise-certificate-proxy/client
176-
Version: v0.3.11
176+
Version: v0.3.12
177177
License: Apache-2.0
178-
License URL: https://github.com/googleapis/enterprise-certificate-proxy/blob/v0.3.11/LICENSE
178+
License URL: https://github.com/googleapis/enterprise-certificate-proxy/blob/v0.3.12/LICENSE
179179

180180
----------
181181
Module: github.com/googleapis/gax-go/v2
@@ -275,9 +275,9 @@ License URL: https://github.com/ulikunitz/xz/blob/v0.5.15/LICENSE
275275

276276
----------
277277
Module: gitlab.com/gitlab-org/api/client-go
278-
Version: v1.24.0
278+
Version: v1.39.0
279279
License: Apache-2.0
280-
License URL: https://gitlab.com/gitlab-org/api/client-go/-/blob/v1.24.0/LICENSE
280+
License URL: https://gitlab.com/gitlab-org/api/client-go/-/blob/v1.39.0/LICENSE
281281

282282
----------
283283
Module: go.opentelemetry.io/auto/sdk
@@ -311,39 +311,39 @@ License URL: https://github.com/open-telemetry/opentelemetry-go-contrib/blob/ins
311311

312312
----------
313313
Module: go.opentelemetry.io/otel
314-
Version: v1.39.0
314+
Version: v1.40.0
315315
License: Apache-2.0
316-
License URL: https://github.com/open-telemetry/opentelemetry-go/blob/v1.39.0/LICENSE
316+
License URL: https://github.com/open-telemetry/opentelemetry-go/blob/v1.40.0/LICENSE
317317

318318
----------
319319
Module: go.opentelemetry.io/otel
320-
Version: v1.39.0
320+
Version: v1.40.0
321321
License: BSD-3-Clause
322-
License URL: https://github.com/open-telemetry/opentelemetry-go/blob/v1.39.0/LICENSE
322+
License URL: https://github.com/open-telemetry/opentelemetry-go/blob/v1.40.0/LICENSE
323323

324324
----------
325325
Module: go.opentelemetry.io/otel/metric
326-
Version: v1.39.0
326+
Version: v1.40.0
327327
License: Apache-2.0
328-
License URL: https://github.com/open-telemetry/opentelemetry-go/blob/metric/v1.39.0/metric/LICENSE
328+
License URL: https://github.com/open-telemetry/opentelemetry-go/blob/metric/v1.40.0/metric/LICENSE
329329

330330
----------
331331
Module: go.opentelemetry.io/otel/metric
332-
Version: v1.39.0
332+
Version: v1.40.0
333333
License: BSD-3-Clause
334-
License URL: https://github.com/open-telemetry/opentelemetry-go/blob/metric/v1.39.0/metric/LICENSE
334+
License URL: https://github.com/open-telemetry/opentelemetry-go/blob/metric/v1.40.0/metric/LICENSE
335335

336336
----------
337337
Module: go.opentelemetry.io/otel/trace
338-
Version: v1.39.0
338+
Version: v1.40.0
339339
License: Apache-2.0
340-
License URL: https://github.com/open-telemetry/opentelemetry-go/blob/trace/v1.39.0/trace/LICENSE
340+
License URL: https://github.com/open-telemetry/opentelemetry-go/blob/trace/v1.40.0/trace/LICENSE
341341

342342
----------
343343
Module: go.opentelemetry.io/otel/trace
344-
Version: v1.39.0
344+
Version: v1.40.0
345345
License: BSD-3-Clause
346-
License URL: https://github.com/open-telemetry/opentelemetry-go/blob/trace/v1.39.0/trace/LICENSE
346+
License URL: https://github.com/open-telemetry/opentelemetry-go/blob/trace/v1.40.0/trace/LICENSE
347347

348348
----------
349349
Module: go.yaml.in/yaml/v3
@@ -401,15 +401,15 @@ License URL: https://cs.opensource.google/go/x/time/+/v0.14.0:LICENSE
401401

402402
----------
403403
Module: google.golang.org/api
404-
Version: v0.267.0
404+
Version: v0.269.0
405405
License: BSD-3-Clause
406-
License URL: https://github.com/googleapis/google-api-go-client/blob/v0.267.0/LICENSE
406+
License URL: https://github.com/googleapis/google-api-go-client/blob/v0.269.0/LICENSE
407407

408408
----------
409409
Module: google.golang.org/api/internal/third_party/uritemplates
410-
Version: v0.267.0
410+
Version: v0.269.0
411411
License: BSD-3-Clause
412-
License URL: https://github.com/googleapis/google-api-go-client/blob/v0.267.0/internal/third_party/uritemplates/LICENSE
412+
License URL: https://github.com/googleapis/google-api-go-client/blob/v0.269.0/internal/third_party/uritemplates/LICENSE
413413

414414
----------
415415
Module: google.golang.org/genproto/googleapis
@@ -425,9 +425,9 @@ License URL: https://github.com/googleapis/go-genproto/blob/546029d2fa20/googlea
425425

426426
----------
427427
Module: google.golang.org/genproto/googleapis/rpc
428-
Version: v0.0.0-20260203192932-546029d2fa20
428+
Version: v0.0.0-20260217215200-42d3e9bedb6d
429429
License: Apache-2.0
430-
License URL: https://github.com/googleapis/go-genproto/blob/546029d2fa20/googleapis/rpc/LICENSE
430+
License URL: https://github.com/googleapis/go-genproto/blob/42d3e9bedb6d/googleapis/rpc/LICENSE
431431

432432
----------
433433
Module: google.golang.org/grpc

go.mod

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -519,18 +519,23 @@ require (
519519
github.com/golangci/gofmt v0.0.0-20250106114630-d62b90e6713d // indirect
520520
github.com/google/go-cmp v0.7.0 // indirect
521521
github.com/google/go-github/v83 v83.0.0 // indirect
522+
github.com/google/go-licenses/v2 v2.0.1 // indirect
522523
github.com/google/go-querystring v1.2.0 // indirect
524+
github.com/google/licenseclassifier/v2 v2.0.0 // indirect
523525
github.com/google/pprof v0.0.0-20260115054156-294ebfa9ad83 // indirect
524526
github.com/goreleaser/go-shellwords v1.0.13 // indirect
525527
github.com/inconshreveable/mousetrap v1.1.0 // indirect
526528
github.com/mattn/go-runewidth v0.0.19 // indirect
529+
github.com/otiai10/copy v1.14.1 // indirect
530+
github.com/otiai10/mint v1.6.3 // indirect
527531
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
528532
github.com/rogpeppe/go-internal v1.14.1 // indirect
529533
github.com/russross/blackfriday/v2 v2.1.0 // indirect
530534
github.com/santhosh-tekuri/jsonschema/v5 v5.3.1 // indirect
531535
github.com/spf13/pflag v1.0.10 // indirect
532536
github.com/stretchr/objx v0.5.3 // indirect
533537
github.com/ulikunitz/xz v0.5.15 // indirect
538+
go.opencensus.io v0.24.0 // indirect
534539
golang.org/x/mod v0.33.0 // indirect
535540
golang.org/x/net v0.50.0 // indirect
536541
golang.org/x/oauth2 v0.35.0 // indirect
@@ -540,10 +545,12 @@ require (
540545
golang.org/x/tools v0.42.0 // indirect
541546
google.golang.org/protobuf v1.36.11 // indirect
542547
gopkg.in/yaml.v3 v3.0.1 // indirect
548+
k8s.io/klog/v2 v2.130.1 // indirect
543549
)
544550

545551
tool (
546552
github.com/golangci/golangci-lint/v2/cmd/golangci-lint
553+
github.com/google/go-licenses/v2
547554
github.com/goreleaser/goreleaser/v2
548555
github.com/vektra/mockery/v3
549556
)

0 commit comments

Comments
 (0)