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
The idea is you run git pr and it makes a pull request in upstream for the current branch with a title that is the current branch name. But when I run it I get:
/home/stuart/.rvm/gems/ruby-1.9.3-p125/gems/octokit-1.0.0/lib/faraday/response/raise_octokit_error.rb:16:in `on_complete': POST https://api.github.com/repos/sakaiproject/nakamura/pulls: 404: Not Found (Octokit::NotFound)
from /home/stuart/.rvm/gems/ruby-1.9.3-p125/gems/faraday-0.7.6/lib/faraday/response.rb:9:in `block in call'
from /home/stuart/.rvm/gems/ruby-1.9.3-p125/gems/faraday-0.7.6/lib/faraday/response.rb:62:in `on_complete'
from /home/stuart/.rvm/gems/ruby-1.9.3-p125/gems/faraday-0.7.6/lib/faraday/response.rb:8:in `call'
from /home/stuart/.rvm/gems/ruby-1.9.3-p125/gems/faraday-0.7.6/lib/faraday/request/json.rb:32:in `call'
from /home/stuart/.rvm/gems/ruby-1.9.3-p125/gems/faraday-0.7.6/lib/faraday/connection.rb:210:in `run_request'
from /home/stuart/.rvm/gems/ruby-1.9.3-p125/gems/faraday-0.7.6/lib/faraday/connection.rb:98:in `post'
from /home/stuart/.rvm/gems/ruby-1.9.3-p125/gems/octokit-1.0.0/lib/octokit/request.rb:28:in `request'
from /home/stuart/.rvm/gems/ruby-1.9.3-p125/gems/octokit-1.0.0/lib/octokit/request.rb:18:in `post'
from /home/stuart/.rvm/gems/ruby-1.9.3-p125/gems/octokit-1.0.0/lib/octokit/client/pulls.rb:11:in `create_pull_request'
from /home/stuart/bin/git-pr:17:in `<main>'
I have a script like:
The idea is you run
git pr
and it makes a pull request inupstream
for the current branch with a title that is the current branch name. But when I run it I get:Which doesn't make sense to me because a GET to https://api.github.com/repos/sakaiproject/nakamura/pulls works fine. Am I doing something wrong or is this a bug in octokit or the github api?
The text was updated successfully, but these errors were encountered: