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.33.0 to 1.42.0 in /internal/tools #58

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Aug 17, 2021

Bumps github.com/golangci/golangci-lint from 1.33.0 to 1.42.0.

Release notes

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

v1.42.0

Changelog

652bd912 Add errname linter (#2129) c6142e38 Bump staticcheck to 2021.1.1 (v0.2.1) (#2179) 15963edb Revert "add nilassign linter" (#2154) cc0914ff Support RISV64 (#2080) bbf04502 add nilassign linter (#2131) ad4f9278 build(deps): bump color-string from 1.5.3 to 1.5.5 in /tools (#2081) 4f2c2725 build(deps): bump github.com/BurntSushi/toml from 0.3.1 to 0.4.1 (#2165) 879821e7 build(deps): bump github.com/daixiang0/gci from 0.2.8 to 0.2.9 (#2085) 2758e45c build(deps): bump github.com/gofrs/flock from 0.8.0 to 0.8.1 (#2083) a3d3ac2a build(deps): bump github.com/ldez/gomoddirectives from 0.2.1 to 0.2.2 (#2125) 38c6baa8 build(deps): bump github.com/mgechev/revive from 1.0.7 to 1.0.8 (#2086) d913078b build(deps): bump github.com/mgechev/revive from 1.0.8 to 1.0.9 (#2113) 842e1ecc build(deps): bump github.com/mgechev/revive from 1.0.9 to 1.1.0 (#2174) f285d2c5 build(deps): bump github.com/nishanths/exhaustive from 0.1.0 to 0.2.3 (#2112) 959d8dbe build(deps): bump github.com/ryancurrah/gomodguard from 1.2.2 to 1.2.3 (#2155) 8ab80c15 build(deps): bump github.com/securego/gosec/v2 from 2.8.0 to 2.8.1 (#2073) f090c7b1 build(deps): bump github.com/shirou/gopsutil/v3 from 3.21.5 to 3.21.6 (#2106) 85f8a604 build(deps): bump github.com/shirou/gopsutil/v3 from 3.21.6 to 3.21.7 (#2153) f9a31a07 build(deps): bump github.com/spf13/cobra from 1.1.3 to 1.2.1 (#2105) afb042ba build(deps): bump github.com/spf13/viper from 1.7.1 to 1.8.0 (#2072) 5f723146 build(deps): bump github.com/spf13/viper from 1.8.0 to 1.8.1 (#2082) 3799dd0e build(deps): bump github.com/tetafro/godot from 1.4.7 to 1.4.8 (#2123) c36909d7 build(deps): bump github.com/tomarrell/wrapcheck/v2 from 2.1.0 to 2.2.0 (#2071) 9e470905 build(deps): bump github.com/uudashr/gocognit from 1.0.1 to 1.0.5 (#2122) 1bb6885f build(deps): bump golang.org/x/tools from 0.1.3 to 0.1.4 (#2084) 511efdb3 build(deps): bump golang.org/x/tools from 0.1.4 to 0.1.5 (#2124) 141677d3 build(deps): bump path-parse from 1.0.6 to 1.0.7 in /.github/peril (#2169) b7384b11 build(deps): bump path-parse from 1.0.6 to 1.0.7 in /tools (#2166) a6fcf6f0 cleanup: Remove completion subcommand (#2107) 6c295e40 deps: Update Wrapcheck to v2.3.0 (#2145) b3f97632 errcheck: allow exclude config without extra file (#2110) 678ae9fc gofumpt: Add lang-version option (#2069) 9ce20f91 revive: add enable-all-rules. (#2075)

v1.41.1

Changelog

6924df8f Bump github.com/ryancurrah/gomodguard from 1.2.1 to 1.2.2 (#2065) a2074809 revive: fix exclude comment rule for const block. (#2064)

v1.41.0

Changelog

52b55141 Bump github.com/jgautheron/goconst from 0.5.6 to 0.5.7(#2044) f900232b Update errorlint to HEAD (#1996) 1c2c8ffd Update godot to 1.4.7 (#2010) 5d84fa5e Update makezero to HEAD (#2006)

... (truncated)

Commits
  • c6142e3 Bump staticcheck to 2021.1.1 (v0.2.1) (#2179)
  • 842e1ec build(deps): bump github.com/mgechev/revive from 1.0.9 to 1.1.0 (#2174)
  • 141677d build(deps): bump path-parse from 1.0.6 to 1.0.7 in /.github/peril (#2169)
  • b7384b1 build(deps): bump path-parse from 1.0.6 to 1.0.7 in /tools (#2166)
  • b18e312 dev: update feature_request.yml (#2168)
  • 4f2c272 build(deps): bump github.com/BurntSushi/toml from 0.3.1 to 0.4.1 (#2165)
  • a07b1fa docs: suggest golangci-lint help linters (#2117)
  • 652bd91 Add errname linter (#2129)
  • 959d8db build(deps): bump github.com/ryancurrah/gomodguard from 1.2.2 to 1.2.3 (#2155)
  • 15963ed Revert "add nilassign linter" (#2154)
  • Additional commits viewable in compare view

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)

Bumps [github.com/golangci/golangci-lint](https://github.com/golangci/golangci-lint) from 1.33.0 to 1.42.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.33.0...v1.42.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 added the dependencies Pull requests that update a dependency file label Aug 17, 2021
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Sep 6, 2021

Superseded by #59.

@dependabot dependabot bot closed this Sep 6, 2021
@dependabot dependabot bot deleted the dependabot/go_modules/internal/tools/github.com/golangci/golangci-lint-1.42.0 branch September 6, 2021 20:18
mx-psi pushed a commit that referenced this pull request Oct 29, 2021
Signed-off-by: Koichi Shiraishi <zchee.io@gmail.com>
mx-psi pushed a commit that referenced this pull request Oct 29, 2021
* Initial commit

* Add CODEOWNERS file (#2)

* Add CODEOWNERS file

* Update CODEOWNERS

* Moved from github.com/observatorium/opentelemetry-collector-builder (#3)

Signed-off-by: Juraci Paixão Kröhling <juraci@kroehling.de>

* fixed panics (#6)

Signed-off-by: Joe Elliott <number101010@gmail.com>

* Replace master with main in CI and mergify files (#8)

Signed-off-by: Juraci Paixão Kröhling <juraci@kroehling.de>

* Bump to OpenTelemetry Collector 0.20.0 (#10)

Closes #9

Signed-off-by: Juraci Paixão Kröhling <juraci@kroehling.de>

* Explicitly enable Go modules in quickstart instructions (#13)

* Update to collector v0.21.0 (#17)

Fixes #16

Signed-off-by: Juraci Paixão Kröhling <juraci@kroehling.de>

* Update to collector v0.22.0 (#19)

* Download go modules before building (#20)

Fixes #14

* Add version command (#25)

Signed-off-by: Ashmita Bohara <ashmita.bohara152@gmail.com>

* Pass errors from cobra Execute back to main for correct exit code (#28)

* pass errors from cobra execute back to main

* print the error

* Update to collector v0.23.0 (#27)

* Generate a warning if the builder and collector base version mismatch (#30)

* Generate a warning if the builder and collector base version mismatch

* Show current default version in the warning message

* Update to OpenTelemetry Collector 0.24.0

* Don't use %w formatting with log.Fatal (#35)

* Update to OpenTelemetry Collector 0.25.0 (#36)

Signed-off-by: Serge Catudal <serge.catudal@gmail.com>

* Update to 0.26.0 and update BuildInfo (#39)

* Sync build and CI Go versions at latest 1.16 (#34)

* Sync build and CI Go versions at latest 1.16

* Run go mod tidy

* Set go binary to use in the compilation phase in tests

Signed-off-by: Juraci Paixão Kröhling <juraci@kroehling.de>

Co-authored-by: Juraci Paixão Kröhling <juraci@kroehling.de>

* Add option to generate go code only (no compile) (#40)

* Issue#24 Add option to generate go code only (no compile)

* Update cmd/root.go logging

Suggested by @jpkkrohling

Co-authored-by: Juraci Paixão Kröhling <juraci.github@kroehling.de>

* remove verbose help .. created by corba

* suggestion by jpkrohling to keep generateandcompile

* lint error: remove unused var

* reword cmd option and add back help message for default

Co-authored-by: Juraci Paixão Kröhling <juraci.github@kroehling.de>

* Don't reuse exec.Cmd (#42)

* Update to OpenTelemetry Collector 0.27.0 (#43)

* Add CI Badge (#47)

* Update to Collector v0.28.0 (#49)

* Update to Collector v0.28.0

Closes #48

Addresses the breaking API change in
open-telemetry#3163,
besides the usual version number changes.

Signed-off-by: Fangyi Zhou <me@fangyi.io>

* Use `go mod tidy` instead of `go mod download`

It appears that this magically resolves the go.mod file issue.
https://stackoverflow.com/questions/67203641/missing-go-sum-entry-for-module-providing-package-package-name

Signed-off-by: Fangyi Zhou <me@fangyi.io>

* Account for go mod download in go1.17 not updating go.sum (#50)

* Update to collector v0.29.0 (#54)

* Update replaces.builder.yaml

* Update nocore.builder.yaml

* Update config.go

* Update README.md

* Update main.go

* Update to collector v0.30.0 (#57)

* cmd: fix module flag default value to github.com/open-telemetry (#58)

Signed-off-by: Koichi Shiraishi <zchee.io@gmail.com>

* Update to collector v0.31.0 (#60)

* Update to v0.33.0 (#62)

Signed-off-by: Anthony J Mirabella <a9@aneurysm9.com>

* Add excludes support to generated go.mod (#63)

Signed-off-by: Anthony J Mirabella <a9@aneurysm9.com>

Co-authored-by: Juraci Paixão Kröhling <juraci@kroehling.de>

* Small cleanup for the builder files (#64)

Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>

* Support building with Go 1.17 (#66)

* Support building with Go 1.17
Fixes #65

Signed-off-by: Juraci Paixão Kröhling <juraci@kroehling.de>

* Update workflows to use Go 1.17

Signed-off-by: Juraci Paixão Kröhling <juraci@kroehling.de>

* Add gosec exceptions for exec.Command

Signed-off-by: Juraci Paixão Kröhling <juraci@kroehling.de>

* Update to OpenTelemetry core 0.34.0 (#68)

Fixes #67

Signed-off-by: Juraci Paixão Kröhling <juraci@kroehling.de>

* Upgrade to OpenTelemetry Collector 0.35.0 (#70)

Signed-off-by: Fangyi Zhou <me@fangyi.io>

* Upgrade to OpenTelemetry Collector 0.36.0 (#76)

* Generate custom service code for Windows (#75)

* update main to include windows service code

* use main version from tag 0.35.0

* update main function

* align with upstream v0.36.0 tag

* dummy change to trigger build

* Revert "dummy change to trigger build"

This reverts commit 629d499461da2d2c240bf1e495b5fe0558e3547f.

* Remove Core from Module type (#77)

Fixes #15

Signed-off-by: yugo-horie <u5.horie@gmail.com>

* release 0.37.0 (#78)

* release 0.37.0

* update use of NewCommand

* Move builder to subdirectory

Signed-off-by: Juraci Paixão Kröhling <juraci@kroehling.de>

Co-authored-by: Bogdan Drutu <lazy@splunk.com>
Co-authored-by: Bogdan Drutu <bogdandrutu@gmail.com>
Co-authored-by: Joe Elliott <joe.elliott@grafana.com>
Co-authored-by: Eric Yang <jiwen624@gmail.com>
Co-authored-by: Brian Gibbins <eroteme@supernought.co.uk>
Co-authored-by: Ashmita <ashmita.bohara152@gmail.com>
Co-authored-by: Fangyi Zhou <me@fangyi.io>
Co-authored-by: Shaun Creary <65406540+crearys@users.noreply.github.com>
Co-authored-by: Patryk Małek <69143962+pmalek-sumo@users.noreply.github.com>
Co-authored-by: Serge Catudal <serge.catudal@gmail.com>
Co-authored-by: Aaron Stone <aaron@serendipity.cx>
Co-authored-by: Patryk Małek <pmalek@sumologic.com>
Co-authored-by: Aaron Stone <aaron.stone@udacity.com>
Co-authored-by: Kelvin Lo <kello@live.ca>
Co-authored-by: Himanshu <addyjeridiq@gmail.com>
Co-authored-by: Y.Horie <u5.horie@gmail.com>
Co-authored-by: Koichi Shiraishi <zchee.io@gmail.com>
Co-authored-by: Anthony Mirabella <a9@aneurysm9.com>
Co-authored-by: Cal Loomis <68860480+loomis-relativity@users.noreply.github.com>
Co-authored-by: alrex <aboten@lightstep.com>
mx-psi pushed a commit that referenced this pull request Jan 21, 2025
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description

The primary purpose of this PR is to provide greater flexibility in how
OTEL binaries are built, enabling the inclusion of debugging symbols
when needed, without always stripping them by default.

Currently, debugging symbols are only retained when
debug_compilation=true. However, this approach also disables all
compiler inlining and optimizations (gcflags=all=-N -l) to ensure an
exact match between written and executed code, resulting in a
significant increase in CPU consumption. There are scenarios where we
want binaries with debugging symbols and DWARF information while still
allowing the compiler to optimize and inline. This PR addresses that
need by introducing configurable GCFlags.

`ocb --ldflags="" --gcflags="" --config=builder-config.yaml`

<!-- Issue number if applicable -->
#### Link to tracking issue
Fixes
[#58](open-telemetry/opentelemetry-collector-releases#58)

<!--Describe what testing was performed and which tests were added.-->
#### Testing

Manual 

Override LDflags: 


![image](https://github.com/user-attachments/assets/6bcb0f7b-492a-45fb-a232-9c337afb5f5e)


Override both


![image](https://github.com/user-attachments/assets/00bc6c5f-37f0-438d-b4e1-f7a2d5833ec9)


<!--Describe the documentation added.-->
#### Documentation

README file updated.

-- 

Backward compatibility concerns: 
- As of today, passing cfg.LDFlags will append to LD flags that are by
default to `-s -w`.

Questions: 
- Should we deprecate DebugCompilation property? 
<!--Please delete paragraphs that you did not use before submitting.-->
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants