Hacker News new | past | comments | ask | show | jobs | submit login
Octogit - Giving git more tentacles (myusuf3.github.com)
113 points by googletron on April 21, 2012 | hide | past | favorite | 35 comments



Seems pretty neat, but I personally find 'hub' (https://github.com/defunkt/hub) a better fit: it acts as a filter to git itself. This might be interesting for issues handling. (But it could probably be added to 'hub').

There are some things in 'hub' that aren't working in the release because of github's move away from user tokens—but there's an active branch with a proposed fix.


They were working on providing CLI OAuth waiting for that; It was mainly to scratch an itch I had. If others can benefit from it great. I will keep it maintained and in working order.


I built this. If there are bugs makes issues; I will fix them. I welcome suggestions and feature requests.


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'


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


I have completed the feature it will be in the next release.


Excellent! I went to submit it as an issue, but several people had beat me to it. Guess it's popular. Thanks!


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


if you raise the issue; I will look into incorporating it in a new release.


Not a bug, just a question. 'octogit login' says "You need both a password and username to login". Where do I provide them?


octogit login <username> <password>

I am updating the site now.


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.


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.


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


Hmm, GitHub has SSL certificate authentication. Could that be used for login?


You could at least tidy up the presentation.

> A free, open source solution for creating github repositories from the commandline avoid the usual copy and paste. Keep up to date on issues, and much more.

Needs a comma.

> octogit login &ltusername> &ltpassword> # allows you to store your github authetication data octogit create &ltreponame> 'description' # lets you create the repository both locally and on github octogit issues # lets you see all the related issues in the current repository octogit issues &ltnumber> # lets you see a specific issue with summary octogit issues &ltnumber> close # lets you close an issue

&lt's everywhere.

The "follow" link's right hand corners are cut off.

The title is showing Octogit plus a unicode D with a horizontal line through it (can't seem to paste it here).

EDIT: Downvotes for constructive criticism? Really?


It's on Github. That means you could fix that and send a pull request to the developer (which is consructive) instead of making a "constructive criticsm".


Contributing to open source comes in many flavours. Bug reporting is one of them. I simply don't have the motivation to contribute more than this to a project which doesn't personally interest me. Instead of throwing the little I do give back in my face, why not make use of it?


> I simply don't have the motivation to contribute more than this to a project which doesn't personally interest me

Creating an issue wouldn't have taken much more effort. I think your tone is what most people are having a problem with. Re-read your comment, and imagine that it's someone commenting on one of your projects.


pavel_lishin is right.

Had you changed your tone, submitted an issue, or as farslan suggested you could have taken an extra 5 minutes and submitted the changes yourself. If you had done that you would be a contributor to a great project, but unfortunately now you're just an ass.


"You could at least tidy up the presentation."

It's your grouchy tone.


I'm sticking to my guns on this one. Had my comment contained personal insults or bad language or negativity, I would agree with you. Try reading that sentence in a standoffish tone with furrowed eyebrows while scoffing at the author. Now read it again in a neutral tone with one eyebrow raised which places no judgement on the person but full judgement on the work itself. I was aiming for the latter.

The bottom line is that these are glaring problems that a five year old could spot and, to most people, it's pretty obvious that if you're presenting something you should proof read it.


Your points in this comment are basically, "I didn't think it was rude so it's not rude" and "I was right so I have the right to be rude."

If you really think those things, I don't really know what to tell you to help you understand what rudeness is.


Similarly, everyone else's points are basically "we think it's rude so it's rude".


Didn't play with it yet, but I have a question. I have an organization linked with my personal account. Is it possible to creat a repo for that organization, instead of one for myself using this tool?


Its a feature that has been requested. I am going to implement it soon.

https://github.com/myusuf3/octogit/issues/19


So I finished the feature. It should be in the next release.


People that make projects using pip need to explain how to install pip. It doesn't come with Mac or Ubuntu by default. I know what the package is for Ubuntu but Mac, I have no idea.

EDIT: after 5 minutes of Googling since "PIP" is a common acronym that stands for a bunch of things, you can install it on Mac via `easy_install` which comes on it by default.

`sudo easy_install pip`


For what it's worth, the pip website does explain that you can install pip with easy_install.


Actually, it took me about 30 minutes to find how to install onto 64-bit Windows. You need to first install Python, then run the following:

http://peak.telecommunity.com/dist/ez_setup.py

Then you use easy install to install pip. That's how I got it working, but I'm a complete Python newbie!


For future reference, http://www.lfd.uci.edu/~gohlke/pythonlibs/ contains tons of Python packages (including pip!) with nice installers for various Python versions.


Sir, best reply ever! Thank you so much for this!


One thing I noticed: Could you link more prominently to the github page/repo of the project? One has to click the "watch" button to get there (which I didn't know before, so at least I learned something :D).

My idea would be to make a prominent "on github" link or link the big title to the repo.


This is pretty cool. I don't know if I would use it for everything but 'create' and 'issues' looks sweet! I'm assuming you can use it with git interchangeably.


This looks pretty awesome! After installing it though I get an error saying it can't find git... but git is in my path. Any ideas how to troubleshoot this?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: