5 ms·
Octogit - Giving git more tentacles
- joshontheweb 15y agoThis 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.
- googletron 15y agoI built this. If there are bugs makes issues; I will fix them. I welcome suggestions and feature requests.
- perlgeek 15y agoNot a bug, just a question. 'octogit login' says "You need both a password and username to login". Where do I provide them?
- googletron 15y agooctogit login <username> <password> I am updating the site now.
- nooooooo 15y agoIs 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.
- googletron 15y agoAs 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.
- TazeTSchnitzel 15y agoHmm, GitHub has SSL certificate authentication. Could that be used for login?
- mofle 15y agoWhy 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-authorization http://developer.github.com/v3/oauth/#create-a-new-authoriza... [2]: https://github.com/jeresig/pulley https://github.com/jeresig/pulley
- SkyMarshal 15y agoVery cool, does it support organizations? Eg, can octogit create a repo in one of my organizations, instead of my main account? Perhaps: octogit create git@github.com:org-name/new-repo-name.git 'new repo desc'
- googletron 15y agoThat is definitely a feature I can put into the mix. if you create an issue on github; I will definitely get on it. :D
- googletron 15y agoI have completed the feature it will be in the next release.
- SkyMarshal 15y agoExcellent! I went to submit it as an issue, but several people had beat me to it. Guess it's popular. Thanks!
- adr_ 15y agoWould 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 http://docs.python.org/library/getpass.html
- googletron 15y agoif you raise the issue; I will look into incorporating it in a new release.
- halostatue 15y agoSeems pretty neat, but I personally find 'hub' (https://github.com/defunkt/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.
- googletron 15y agoThey 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.
- deleted 15y ago[deleted]
- Produce 15y agoYou 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 <username> <password> # allows you to store your github authetication data octogit create <reponame> '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 <number> # lets you see a specific issue with summary octogit issues <number> close # lets you close an issue <'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?
- arkitaip 15y ago"You could at least tidy up the presentation." It's your grouchy tone.
- Produce 15y agoI'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.
- jvm 15y agoYour 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.
- 15y ago
- fcoury 15y agoDidn'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?
- googletron 15y agoIts a feature that has been requested. I am going to implement it soon. https://github.com/myusuf3/octogit/issues/19 https://github.com/myusuf3/octogit/issues/19
- googletron 15y agoSo I finished the feature. It should be in the next release.
- feiern 15y agoOne 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.
- deleted 15y ago[deleted]
- homosaur 15y agoPeople 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`
- Skywing 15y agoFor what it's worth, the pip website does explain that you can install pip with easy_install.
- chris_wot 15y agoActually, 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 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!
- chris_wot 15y agoThis 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?