News for hackers. Stuff that matters.
Re:Octogit - Giving git more tentacles by googletron on Saturday April 21, 2012 @11:34AM (#3872025)
I built this. If there are bugs makes issues; I will fix them. I welcome suggestions and feature requests.
Re:Octogit - Giving git more tentacles by SkyMarshal on Saturday April 21, 2012 @02:30PM (#3872521)
Very cool, does it support organizations? Eg, can octogit create a repo in one of my organizations, instead of my main account?

Perhaps:

octogit create [email protected]:org-name/new-repo-name.git 'new repo desc'

Re:Octogit - Giving git more tentacles by googletron on Saturday April 21, 2012 @02:55PM (#3872632)
That is definitely a feature I can put into the mix. if you create an issue on github; I will definitely get on it. :D
Re:Octogit - Giving git more tentacles by googletron on Sunday April 22, 2012 @12:19AM (#3873937)
I have completed the feature it will be in the next release.
Re:Octogit - Giving git more tentacles by SkyMarshal on Sunday April 22, 2012 @11:39AM (#3875075)
Excellent! I went to submit it as an issue, but several people had beat me to it. Guess it's popular. Thanks!
Re:Octogit - Giving git more tentacles by adr_ on Saturday April 21, 2012 @09:59PM (#3873660)
Would you mind using getpass if the "octogit login" command is only given one argument? It'd be cool to be able to use it with other people in the room and without leaving it in the shell history. It would also be nice to know where my password is being stored and to have a logout command that securely erases it.

http://docs.python.org/library/getpass.html

Re:Octogit - Giving git more tentacles by googletron on Sunday April 22, 2012 @12:23AM (#3873951)
if you raise the issue; I will look into incorporating it in a new release.
Re:Octogit - Giving git more tentacles by perlgeek on Saturday April 21, 2012 @02:18PM (#3872474)
Not a bug, just a question. 'octogit login' says "You need both a password and username to login". Where do I provide them?
Re:Octogit - Giving git more tentacles by googletron on Saturday April 21, 2012 @02:19PM (#3872486)
octogit login <username> <password>

I am updating the site now.

Re:Octogit - Giving git more tentacles by nooooooo on Saturday April 21, 2012 @02:36PM (#3872548)
Is it possible to use an oauth-based thing instead? I don't know if github lets you do much with oauth, I'm just a little wary of storing my password in what would presumably be plaintext.
Re:Octogit - Giving git more tentacles by googletron on Saturday April 21, 2012 @02:55PM (#3872630)
As soon as they implement a CLI based OAuth, I will definitely add it.

I understand your concerns, but if someone has access to your machine your Github password is the least of your worries.

Re:Octogit - Giving git more tentacles by mofle on Saturday April 21, 2012 @05:49PM (#3873121)
Why would you need that?

You can just request a token[1] using the GitHub API on first load and then use that. I implemented that recently in Pulley[2], which is a GitHub Pull Request Lander.

[1]: http://developer.github.com/v3/oauth/#create-a-new-authoriza...

[2]: https://github.com/jeresig/pulley

Re:Octogit - Giving git more tentacles by TazeTSchnitzel on Saturday April 21, 2012 @05:16PM (#3873029)
Hmm, GitHub has SSL certificate authentication. Could that be used for login?