Skip to content

Plan for implementing a Github pull request #79

Open
wants to merge 1 commit into from

3 participants

@lorensr
lorensr commented Dec 9, 2011

See #19. If this looks like it's on the right track, I'll work on it and rename the old pull-request command to something else.

@lorensr lorensr commented on the diff Dec 19, 2011
lib/commands/commands.rb
+
+ # get username and repo name from the remote url, eg:
+ # origin git@github.com:lorensr/github-gem.git (fetch)
+
+ # determine which repo my Github repo is forked from with:
+ # GET "/repos/#{from_user}/#{repo}
+ to_user ||= forked_from
+
+ puts "Creating pull request from #{from_user}/#{repo} to #{to_user}/#{repo}."
+ puts "Title: "
+ title = gets.chomp
+ puts "Body: "
+ body = gets.chomp
+ puts "Password: "
+ password = gets.chomp
+
@lorensr
lorensr added a note Dec 19, 2011

(authenticate to the API here)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
@drnic
Collaborator
drnic commented Apr 15, 2012

Is this finished as is?

@lorensr
lorensr commented Apr 17, 2012

No, it's just a request for feedback on the plan.

@AdamMichaelLong

keen on seeing some movement on this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.