You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
For audit purposes, I am trying to make pronto review a large pull request from branch B to branch A.
I set pronto with the -c parameter and manage to run pronto locally successfully but can't manage to make -f github_pr work.
Command used is PRONTO_GITHUB_ACCESS_TOKEN=real_token PRONTO_PULL_REQUEST_ID=1 bundle exec pronto run -f github_pr -c branch_A
Output is:
warning: parser/current is loading parser/ruby27, which recognizes
warning: 2.7.4-compliant syntax, but you are running 2.7.1.
warning: please see https://github.com/whitequark/parser#compatibility-with-ruby-mri.
Unknown file type: rake, defaulting to ruby
Unknown file type: rake, defaulting to ruby
Unknown file type: rake, defaulting to ruby
Unknown file type: rake, defaulting to ruby
Unknown file type: rake, defaulting to ruby
Unknown file type: rake, defaulting to ruby
Unknown file type: rake, defaulting to ruby
Unknown file type: rake, defaulting to ruby
Unknown file type: rake, defaulting to ruby
Unknown file type: rake, defaulting to ruby
undefined method `force_encoding' for #<Pathname:0x00007f9a353cb618>
skipping /Users/ali/Documents/Code/GitHub/repo/mes-demarches/spec/models/s3_synchronization_spec.rb
bundler: failed to load command: pronto (/Users/ali/.rbenv/versions/2.7.1/bin/pronto)
Octokit::NotFound: POST https://api.github.com/repos/AliHoussein/mes-demarches/commits//comments: 404 - Not Found // See: https://docs.github.com/rest
/Users/ali/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/octokit-4.21.0/lib/octokit/response/raise_error.rb:14:in `on_complete'
/Users/ali/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/faraday-1.7.0/lib/faraday/middleware.rb:19:in `block in call'
/Users/ali/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/faraday-1.7.0/lib/faraday/response.rb:59:in `on_complete'
/Users/ali/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/faraday-1.7.0/lib/faraday/middleware.rb:18:in `call'
/Users/ali/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/octokit-4.21.0/lib/octokit/middleware/follow_redirects.rb:73:in `perform_with_redirection'
/Users/ali/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/octokit-4.21.0/lib/octokit/middleware/follow_redirects.rb:61:in `call'
/Users/ali/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/faraday-1.7.0/lib/faraday/request/retry.rb:148:in `call'
/Users/ali/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/faraday-1.7.0/lib/faraday/rack_builder.rb:154:in `build_response'
/Users/ali/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/faraday-1.7.0/lib/faraday/connection.rb:496:in `run_request'
/Users/ali/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/faraday-1.7.0/lib/faraday/connection.rb:281:in `post'
/Users/ali/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/sawyer-0.8.2/lib/sawyer/agent.rb:94:in `call'
/Users/ali/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/octokit-4.21.0/lib/octokit/connection.rb:156:in `request'
/Users/ali/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/octokit-4.21.0/lib/octokit/connection.rb:28:in `post'
/Users/ali/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/octokit-4.21.0/lib/octokit/client/commit_comments.rb:63:in `create_commit_comment'
/Users/ali/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/pronto-0.11.0/lib/pronto/github.rb:33:in `create_commit_comment'
/Users/ali/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/pronto-0.11.0/lib/pronto/github.rb:44:in `create_pull_comment'
/Users/ali/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/pronto-0.11.0/lib/pronto/formatter/pull_request_formatter.rb:11:in `block in submit_comments'
/Users/ali/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/pronto-0.11.0/lib/pronto/formatter/pull_request_formatter.rb:11:in `each'
/Users/ali/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/pronto-0.11.0/lib/pronto/formatter/pull_request_formatter.rb:11:in `submit_comments'
/Users/ali/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/pronto-0.11.0/lib/pronto/formatter/git_formatter.rb:9:in `format'
/Users/ali/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/pronto-0.11.0/lib/pronto.rb:69:in `block in run'
/Users/ali/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/pronto-0.11.0/lib/pronto.rb:68:in `each'
/Users/ali/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/pronto-0.11.0/lib/pronto.rb:68:in `run'
/Users/ali/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/pronto-0.11.0/lib/pronto/cli.rb:66:in `block in run'
/Users/ali/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/pronto-0.11.0/lib/pronto/cli.rb:64:in `chdir'
/Users/ali/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/pronto-0.11.0/lib/pronto/cli.rb:64:in `run'
/Users/ali/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/thor-1.1.0/lib/thor/command.rb:27:in `run'
/Users/ali/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/thor-1.1.0/lib/thor/invocation.rb:127:in `invoke_command'
/Users/ali/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/thor-1.1.0/lib/thor.rb:392:in `dispatch'
/Users/ali/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/thor-1.1.0/lib/thor/base.rb:485:in `start'
/Users/ali/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/pronto-0.11.0/bin/pronto:6:in `<top (required)>'
/Users/ali/.rbenv/versions/2.7.1/bin/pronto:23:in `load'
/Users/ali/.rbenv/versions/2.7.1/bin/pronto:23:in `<top (required)>'
Hi,
For audit purposes, I am trying to make pronto review a large pull request from branch B to branch A.
I set pronto with the -c parameter and manage to run pronto locally successfully but can't manage to make -f github_pr work.
Command used is
PRONTO_GITHUB_ACCESS_TOKEN=real_token PRONTO_PULL_REQUEST_ID=1 bundle exec pronto run -f github_pr -c branch_A
Output is:
Gemfile contains
Couldn't find any documentation or clue online from what the issue could be. If anybody has some pointers.
The text was updated successfully, but these errors were encountered: