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

Allow custom command execution before install #9638

Open
1 task done
pdebakker-auguria opened this issue Apr 30, 2024 · 0 comments
Open
1 task done

Allow custom command execution before install #9638

pdebakker-auguria opened this issue Apr 30, 2024 · 0 comments
Labels
L: go:modules Golang modules T: feature-request Requests for new features

Comments

@pdebakker-auguria
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Feature description

We currently use protobuf which gets compiled from the .proto files into (in our case) .pb.go files.
Because we don't want to clutter our VCS with the changes in these auto generated code files, we only store the .proto files in git.

But, when dependabot tries to update our go modules and run go install to check for conflicts, this won't work.

This is a small snippet from the resulting logs, starting when we see the first error.
I could also send the full log file, but I don't want to clutter.

  proxy | 2024/04/30 11:20:51 [291] 200 https://proxy.golang.org:443/gopkg.in/yaml.v2/@v/v2.4.0.info
  proxy | 2024/04/30 11:20:51 [293] GET https://proxy.golang.org:443/github.com/stretchr/testify/@v/v1.8.4.zip
  proxy | 2024/04/30 11:20:51 [293] 200 https://proxy.golang.org:443/github.com/stretchr/testify/@v/v1.8.4.zip
updater | 2024/04/30 11:20:52 ERROR <job_821671931> Error processing github.com/xitongsys/parquet-go (Dependabot::DependabotError)
updater | 2024/04/30 11:20:52 ERROR <job_821671931> go: downloading google.golang.org/protobuf v1.33.0
updater | go: downloading github.com/golang/protobuf v1.5.0
updater | go: downloading github.com/olekukonko/tablewriter v0.0.5
updater | go: downloading github.com/segmentio/encoding v0.4.0
updater | go: downloading github.com/andybalholm/brotli v1.1.0
updater | go: auguria-pipeline imports
updater | 	auguria-pipeline/lib/storage imports
updater | 	auguria-pipeline/auguria_pb: package auguria-pipeline/auguria_pb is not in std (/opt/go/src/auguria-pipeline/auguria_pb)
updater | go: downloading github.com/stretchr/testify v1.8.4
updater | go: module github.com/golang/protobuf is deprecated: Use the "google.golang.org/protobuf" module instead.
updater | 2024/04/30 11:20:52 ERROR <job_821671931> /home/dependabot/go_modules/lib/dependabot/go_modules/file_updater/go_mod_updater.rb:328:in `handle_subprocess_error'
updater | 2024/04/30 11:20:52 ERROR <job_821671931> /home/dependabot/dependabot-updater/vendor/ruby/3.1.0/gems/sorbet-runtime-0.5.11353/lib/types/private/methods/call_validation.rb:270:in `bind_call'
updater | 2024/04/30 11:20:52 ERROR <job_821671931> /home/dependabot/dependabot-updater/vendor/ruby/3.1.0/gems/sorbet-runtime-0.5.11353/lib/types/private/methods/call_validation.rb:270:in `validate_call'
updater | 2024/04/30 11:20:52 ERROR <job_821671931> /home/dependabot/dependabot-updater/vendor/ruby/3.1.0/gems/sorbet-runtime-0.5.11353/lib/types/private/methods/_methods.rb:277:in `block in _on_method_added'
updater | 2024/04/30 11:20:52 ERROR <job_821671931> /home/dependabot/go_modules/lib/dependabot/go_modules/file_updater/go_mod_updater.rb:234:in `run_go_get'
updater | 2024/04/30 11:20:52 ERROR <job_821671931> /home/dependabot/dependabot-updater/vendor/ruby/3.1.0/gems/sorbet-runtime-0.5.11353/lib/types/private/methods/call_validation.rb:167:in `bind_call'
updater | 2024/04/30 11:20:52 ERROR <job_821671931> /home/dependabot/dependabot-updater/vendor/ruby/3.1.0/gems/sorbet-runtime-0.5.11353/lib/types/private/methods/call_validation.rb:167:in `validate_call_skip_block_type'
updater | 2024/04/30 11:20:52 ERROR <job_821671931> /home/dependabot/dependabot-updater/vendor/ruby/3.1.0/gems/sorbet-runtime-0.5.11353/lib/types/private/methods/call_validation.rb:109:in `block in create_validator_slow_skip_block_type'
updater | 2024/04/30 11:20:52 ERROR <job_821671931> 
@pdebakker-auguria pdebakker-auguria added the T: feature-request Requests for new features label Apr 30, 2024
@github-actions github-actions bot added L: git:submodules Git submodules L: go:modules Golang modules L: python L: ruby:bundler RubyGems via bundler labels Apr 30, 2024
@jonjanego jonjanego removed L: ruby:bundler RubyGems via bundler L: git:submodules Git submodules L: python labels May 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
L: go:modules Golang modules T: feature-request Requests for new features
Projects
Status: No status
Development

No branches or pull requests

2 participants