Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump github.com/golangci/golangci-lint from 1.43.0 to 1.44.0 in /internal/tools #2567

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 30, 2022

Bumps github.com/golangci/golangci-lint from 1.43.0 to 1.44.0.

Release notes

Sourced from github.com/golangci/golangci-lint's releases.

v1.44.0

Changelog

  • 32cf48ed Add "grouper" linter (#2497)
  • 63f150ea Add decorder linter (#2453)
  • 55358972 Add errchkjson linter (#2362)
  • e3d0247e Add maintidx linter (#2435)
  • d2093896 Add support for multiple outputs (#2386)
  • efb35995 Bump github.com/ashanbrown/forbidigo from 1.2.0 to 1.3.0 (#2487)
  • 6e2e51d8 Bump makezero to v1.1.0 (#2490)
  • e788757b Ensure that the Issues key in JSON format is a list (#2358)
  • eaed228d Print error text in tag content for more readable junit report (#2460)
  • b5d8e698 Return error if any linter fails to run (#2471)
  • ec58c481 Show deprecated mark in the CLI linters help (#2350)
  • 68f530a8 add containedctx linter (#2382)
  • c53eb78a asciicheck: bump to v0.1.1 (#2510)
  • ae537189 bodyclose: bump to HEAD (#2508)
  • ba3453d2 build(deps): bump actions/cache from 2.1.6 to 2.1.7 (#2383)
  • 80659f85 build(deps): bump github.com/BurntSushi/toml from 0.4.1 to 1.0.0 (#2491)
  • 8bc95624 build(deps): bump github.com/breml/bidichk from 0.2.0 to 0.2.1 (#2354)
  • f311ffd2 build(deps): bump github.com/breml/errchkjson from 0.2.0 to 0.2.1 (#2493)
  • ec2820c5 build(deps): bump github.com/esimonov/ifshort from 1.0.3 to 1.0.4 (#2436)
  • 83962f47 build(deps): bump github.com/fzipp/gocyclo from 0.3.1 to 0.4.0 (#2425)
  • 6ddb9071 build(deps): bump github.com/go-critic/go-critic from 0.6.1 to 0.6.2 (#2474)
  • a79803fa build(deps): bump github.com/kulti/thelper from 0.4.0 to 0.5.0 (#2492)
  • 9e129498 build(deps): bump github.com/ldez/tagliatelle from 0.2.0 to 0.3.0 (#2454)
  • 0ac5d371 build(deps): bump github.com/mattn/go-colorable from 0.1.11 to 0.1.12 (#2384)
  • 620bd9bb build(deps): bump github.com/mgechev/revive from 1.1.2 to 1.1.3 (#2517)
  • ecbb9c47 build(deps): bump github.com/nishanths/exhaustive from 0.3.6 to 0.6.0 (#2353)
  • fc888cf0 build(deps): bump github.com/nishanths/exhaustive from 0.6.0 to 0.7.11 (#2371)
  • 88d3ec0f build(deps): bump github.com/quasilyte/go-ruleguard/dsl (#2455)
  • 131ab76b build(deps): bump github.com/quasilyte/go-ruleguard/dsl (#2472)
  • 441d8443 build(deps): bump github.com/quasilyte/go-ruleguard/dsl (#2519)
  • 7d5bc8f0 build(deps): bump github.com/securego/gosec/v2 from 2.9.1 to 2.9.2 (#2372)
  • d0aead44 build(deps): bump github.com/securego/gosec/v2 from 2.9.2 to 2.9.3 (#2385)
  • 56f27d0a build(deps): bump github.com/securego/gosec/v2 from 2.9.3 to 2.9.5 (#2413)
  • 9bad615c build(deps): bump github.com/securego/gosec/v2 from 2.9.5 to 2.9.6 (#2516)
  • d29d9f12 build(deps): bump github.com/shirou/gopsutil/v3 from 3.21.10 to 3.21.11 (#2405)
  • b4a3bd8c build(deps): bump github.com/shirou/gopsutil/v3 from 3.21.11 to 3.21.12 (#2456)
  • ca8cd60f build(deps): bump github.com/spf13/cobra from 1.2.1 to 1.3.0 (#2426)
  • 4ca6a2fc build(deps): bump github.com/spf13/viper from 1.10.0 to 1.10.1 (#2424)
  • f960879b build(deps): bump github.com/spf13/viper from 1.9.0 to 1.10.0 (#2412)
  • 018befd3 build(deps): bump github.com/tommy-muehle/go-mnd/v2 from 2.4.0 to 2.5.0 (#2518)
  • 8cdecc96 build(deps): bump gitlab.com/bosi/decorder from 0.2.0 to 0.2.1 (#2473)
  • 4119132f build(deps): bump honnef.co/go/tools from 0.2.1 to 0.2.2 (#2370)
  • b845512b build(deps): bump mvdan.cc/gofumpt from 0.1.1 to 0.2.0 (#2373)
  • 107b8307 build(deps): bump mvdan.cc/gofumpt from 0.2.0 to 0.2.1 (#2427)
  • 49501691 bump bidichk from v0.1.1 to v0.2.0
  • a471733b bump github.com/yeya24/promlinter from v0.1.0 to HEAD (#2500)
  • 7f25fee1 bump varnamelen from v0.4.0 to v0.5.0 (#2369)
  • 1b535204 bump varnamelen to v0.4.0 (#2348)

... (truncated)

Changelog

Sourced from github.com/golangci/golangci-lint's changelog.

v1.44.0

  1. new linters:
  2. updated linters:
    • asciicheck: bump to v0.1.1
    • bidichk: from 0.1.1 to 0.2.1
    • bodyclose: bump to HEAD
    • decorder: from 0.2.0 to 0.2.1
    • depguard: from 1.0.1 to 1.1.0
    • errchkjson: from 0.2.0 to 0.2.1
    • errorlint: bump to HEAD
    • exhaustive: drop deprecated/unused settings
    • exhaustive: from v0.2.3 to 0.7.11
    • forbidigo: from 1.2.0 to 1.3.0
    • forcetypeassert: bump to v0.1.0
    • gocritic: from 0.6.1 to 0.6.2
    • gocritic: support autofix
    • gocyclo: from 0.3.1 to 0.4.0
    • godot: add period option
    • gofumpt: from 0.1.1 to 0.2.1
    • gomnd: from 2.4.0 to 2.5.0
    • gomnd: new configuration
    • gosec: from 2.9.1 to 2.9.6
    • ifshort: from 1.0.3 to 1.0.4
    • ineffassign: bump to HEAD
    • makezero: to v1.1.0
    • promlinter: from v0.1.0 to HEAD
    • revive: fix enableAllRules
    • revive: from 1.1.2 to 1.1.3
    • staticcheck: from 0.2.1 to 0.2.2
    • tagliatelle: from 0.2.0 to 0.3.0
    • thelper: from 0.4.0 to 0.5.0
    • unparam: bump to HEAD
    • varnamelen: bump to v0.5.0
    • wrapcheck: update configuration to include ignoreSignRegexps
  3. documentation:
    • linters: improve pages about configuration
    • improve page about false-positive
    • nolintlint: fix wrong default value in comment
    • revive: add a more detailed configuration
  4. misc:
    • outputs: Add support for multiple outputs
    • outputs: Print error text in <failure> tag content for more readable JUnit output
    • outputs: ensure that the Issues key in JSON format is a list
    • Return error if any linter fails to run

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code Skip Changelog PRs that do not require a CHANGELOG.md entry labels Jan 30, 2022
Bumps [github.com/golangci/golangci-lint](https://github.com/golangci/golangci-lint) from 1.43.0 to 1.44.0.
- [Release notes](https://github.com/golangci/golangci-lint/releases)
- [Changelog](https://github.com/golangci/golangci-lint/blob/master/CHANGELOG.md)
- [Commits](golangci/golangci-lint@v1.43.0...v1.44.0)

---
updated-dependencies:
- dependency-name: github.com/golangci/golangci-lint
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/go_modules/internal/tools/github.com/golangci/golangci-lint-1.44.0 branch from 6a76d69 to c98300d Compare January 30, 2022 16:58
@MrAlias MrAlias closed this Jan 30, 2022
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 30, 2022

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@MrAlias MrAlias reopened this Jan 30, 2022
@codecov
Copy link

codecov bot commented Jan 30, 2022

Codecov Report

Merging #2567 (8019e7c) into main (d2459b8) will decrease coverage by 0.0%.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##            main   #2567     +/-   ##
=======================================
- Coverage   76.0%   76.0%   -0.1%     
=======================================
  Files        174     174             
  Lines      12091   12091             
=======================================
- Hits        9194    9192      -2     
- Misses      2652    2654      +2     
  Partials     245     245             
Impacted Files Coverage Δ
sdk/trace/batch_span_processor.go 81.1% <0.0%> (-1.0%) ⬇️

@MrAlias MrAlias added dependencies Pull requests that update a dependency file and removed dependencies Pull requests that update a dependency file labels Jan 30, 2022
@MrAlias MrAlias closed this Jan 30, 2022
@MrAlias MrAlias reopened this Jan 30, 2022
@MrAlias MrAlias merged commit 6c15f9d into main Jan 30, 2022
@MrAlias MrAlias deleted the dependabot/go_modules/internal/tools/github.com/golangci/golangci-lint-1.44.0 branch January 30, 2022 17:39
MrAlias added a commit that referenced this pull request Mar 21, 2022
* Allow setting the Sampler via environment variables (#2305)

* Add changelog entry.

* Replace t.Setenv with internaltest/SetEnvVariables for Go <= 1.6.

* Handle the lack of a sampler argument without logging errors.

* Add additional test cases and error checks.

* Refactor documentation.

Co-authored-by: Joshua MacDonald <jmacd@users.noreply.github.com>

* emitBatchOverhead should only be used for splitting spans into batches (#2512)

* emitBatchOverhead should only be used for splitting spans into batches (#2503)

* limit max packet size parameter

* Add additional errors types, simplify abstractions and error handling

* Make error comparisons less fragile.

* Fix typo in jaeger example (#2524)

* Fix some typos in docs for Go libraries (#2520)

Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>

* Fix getting-started.md Run function (#2527)

* Fix getting-started.md Run function, it assigns this new context to a variable shared between connections in to accept loop. Thus creating a growing chain of contexts. so every calculate fibonacci request, all spans in a trace.

* add a comment explaining the reason for that new variable

* update example fib

* Bump github.com/google/go-cmp from 0.5.6 to 0.5.7 across the project (#2545)

* update go-cmp to 0.5.7

* fixes go.sums

Co-authored-by: Aaron Clawson <MadVikingGod@users.noreply.github.com>

* Un-escape url coding when parsing baggage. (#2529)

* un-escape url coding when parsing baggage.

* Added changelog

Co-authored-by: Aaron Clawson <MadVikingGod@users.noreply.github.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>

* Bump go.opentelemetry.io/proto/otlp from 0.11.0 to 0.12.0 (#2546)

* Update go.opentelemetry.io/proto/otlp to v0.12.0

* Changelog

* Update CHANGELOG.md

Fix's md linting

Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>

Co-authored-by: Aaron Clawson <MadVikingGod@users.noreply.github.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>

* Remove unused sdk/internal/santize (#2549)

* Add links to code examples and docs (#2551)

* Bump github.com/prometheus/client_golang from 1.11.0 to 1.12.0 in /exporters/prometheus (#2541)

* Bump github.com/prometheus/client_golang in /exporters/prometheus

Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.11.0 to 1.12.0.
- [Release notes](https://github.com/prometheus/client_golang/releases)
- [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md)
- [Commits](prometheus/client_golang@v1.11.0...v1.12.0)

---
updated-dependencies:
- dependency-name: github.com/prometheus/client_golang
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* go mod tidy

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tyler Yahn <codingalias@gmail.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>

* Optimize evictedQueue implementation and use (#2556)

* Optimize evictedQueue impl and use

Avoid unnecessary allocations in the recordingSpan by using an
evictedQueue type instead of a pointer to one.

Lazy allocate the evictedQueue queue to prevent unnecessary operations
for spans without any use of the queue.

Document the evictedQueue

* Fix grammar

* Add env support for batch span processor (#2515)

* Add env support for batch span processor

* Update changelog

* lint

* Bump golang.org/x/tools from 0.1.8 to 0.1.9 in /internal/tools (#2566)

* Bump golang.org/x/tools from 0.1.8 to 0.1.9 in /internal/tools

Bumps [golang.org/x/tools](https://github.com/golang/tools) from 0.1.8 to 0.1.9.
- [Release notes](https://github.com/golang/tools/releases)
- [Commits](golang/tools@v0.1.8...v0.1.9)

---
updated-dependencies:
- dependency-name: golang.org/x/tools
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Auto-fix go.sum changes in dependent modules

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: MrAlias <MrAlias@users.noreply.github.com>

* Bump github.com/golangci/golangci-lint from 1.43.0 to 1.44.0 in /internal/tools (#2567)

* Bump github.com/golangci/golangci-lint in /internal/tools

Bumps [github.com/golangci/golangci-lint](https://github.com/golangci/golangci-lint) from 1.43.0 to 1.44.0.
- [Release notes](https://github.com/golangci/golangci-lint/releases)
- [Changelog](https://github.com/golangci/golangci-lint/blob/master/CHANGELOG.md)
- [Commits](golangci/golangci-lint@v1.43.0...v1.44.0)

---
updated-dependencies:
- dependency-name: github.com/golangci/golangci-lint
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Auto-fix go.sum changes in dependent modules

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: MrAlias <MrAlias@users.noreply.github.com>

* Bump github.com/prometheus/client_golang from 1.12.0 to 1.12.1 in /exporters/prometheus (#2570)

* Bump github.com/prometheus/client_golang in /exporters/prometheus

Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.12.0 to 1.12.1.
- [Release notes](https://github.com/prometheus/client_golang/releases)
- [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md)
- [Commits](prometheus/client_golang@v1.12.0...v1.12.1)

---
updated-dependencies:
- dependency-name: github.com/prometheus/client_golang
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Auto-fix go.sum changes in dependent modules

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: MrAlias <MrAlias@users.noreply.github.com>

* Fix TestBackoffRetry in otlp/internal/retry package (#2562)

* Fix TestBackoffRetry in otlp retry pkg

The delay of the retry is within two times a randomization factor (the
back-off time is delay * random number within [1 - factor, 1 + factor].
This means the waitFunc in TestBackoffRetry needs to check the delay is
within an appropriate delta, not equal to configure initial delay.

* Fix delta value

* Fix delta

Co-authored-by: Aaron Clawson <Aaron.Clawson@gmail.com>

* Bump google.golang.org/grpc from 1.43.0 to 1.44.0 in /exporters/otlp/otlptrace (#2568)

* Bump google.golang.org/grpc in /exporters/otlp/otlptrace

Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.43.0 to 1.44.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](grpc/grpc-go@v1.43.0...v1.44.0)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Auto-fix go.sum changes in dependent modules

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: MrAlias <MrAlias@users.noreply.github.com>

* Bump google.golang.org/grpc from 1.43.0 to 1.44.0 in /example/otel-collector (#2565)

* Bump google.golang.org/grpc in /example/otel-collector

Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.43.0 to 1.44.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](grpc/grpc-go@v1.43.0...v1.44.0)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Auto-fix go.sum changes in dependent modules

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: MrAlias <MrAlias@users.noreply.github.com>

* Bump google.golang.org/grpc from 1.43.0 to 1.44.0 in /exporters/otlp/otlpmetric (#2572)

* Bump google.golang.org/grpc in /exporters/otlp/otlpmetric

Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.43.0 to 1.44.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](grpc/grpc-go@v1.43.0...v1.44.0)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Auto-fix go.sum changes in dependent modules

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: MrAlias <MrAlias@users.noreply.github.com>

* Change Options to accept type not pointer (#2558)

* Change trace options to accept type not pointer

Add benchmark to show allocation improvement.

* Update CONTRIBUTING.md guidelines

* Update all Option iface

* Fix grammar in CONTRIBUTING

* Do not store TracerProvider or Tracer fields in SDK recordingSpan (#2575)

* Do not store TracerProvider fields in span

Instead of keeping a reference to the span's Tracer, and therefore also
it's TracerProvider, and the associated resource and spanLimits just
keep the reference to the Tracer. Refer to the TracerProvider fields
when needed instead.

* Make span refer to the inst lib via the Tracer

Instead of holding a field in the span, refer to the field in the parent
Tracer.

* [website_docs] fix page meta-links (#2580)

Contributes to open-telemetry/opentelemetry.io#1096

/cc @cartermp @austinlparker

* Validate members once, in `NewMember` (#2522)

* use NewMember, or specify if the member is not validated when creating new ones

* expect members to already be validated when creating a new package

* add changelog entry

* add an isEmpty field to member and property for quick validation

* rename isEmpty to hasData

So by default, an empty struct really is marked as having no data

* Update baggage/baggage_test.go

Co-authored-by: Aaron Clawson <Aaron.Clawson@gmail.com>

* don't validate the member in parseMember, we alredy ran that validation

We also don't want to use NewMember, as that runs the property
validation again, making the benchmark quite slower

* move changelog entry to the fixed section

* provide the member/property data when returning an invalid error

Co-authored-by: Aaron Clawson <Aaron.Clawson@gmail.com>

* Fix link to Zipkin exporter (#2581)

Currently it is linked to the old package that was moved.

* Unexport EnvBatchSpanProcessor* constants (#2583)

* Move BSP env support to internal

* Use pkg name

* Update env test

* Use internal/env in sdk/trace

* Avoid an extra allocation in applyTracerProviderEnvConfigs.

* Add additional errors for ratio > 1.0.

* Add test cases for ratio > 1.0.

* Update CHANGELOG.md

Co-authored-by: Joshua MacDonald <jmacd@users.noreply.github.com>
Co-authored-by: jaychung <ken8203@gmail.com>
Co-authored-by: Ben Wells <b.v.wells@gmail.com>
Co-authored-by: Jeremy Kaplan <jeremy@stytch.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
Co-authored-by: thinkgo <49174849+thinkgos@users.noreply.github.com>
Co-authored-by: Aaron Clawson <Aaron.Clawson@gmail.com>
Co-authored-by: Aaron Clawson <MadVikingGod@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tyler Yahn <codingalias@gmail.com>
Co-authored-by: Chao Weng <19381524+sincejune@users.noreply.github.com>
Co-authored-by: Patrice Chalin <chalin@users.noreply.github.com>
Co-authored-by: Damien Mathieu <42@dmathieu.com>
@pellared pellared added this to the untracked milestone Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file go Pull requests that update Go code Skip Changelog PRs that do not require a CHANGELOG.md entry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants