The missing Github Command Line Interface.
Install Gub:
$ gem install gub
If this is your first time, execute:
$ gub setup
Please see the wiki for basic usage and other documentation on using Gub.
Released under the MIT LICENSE.
The missing Github command line tool
License: MIT License
gub clone
currently accepts user/repository as a parameter, should also accept repository name only.
gub start [id]
should set remote tracking for issue branch so that subsequent git push
would automatically push to origin.
Gub fork should automatically fork a given repository.
start
task should check if there's a branch with that name already.
ERROR: While executing gem ... (Gem::RemoteFetcher::UnknownHostError)
no such name (https://api.rubygems.org/quick/Marshal.4.8/octokit-1.9.3.gemspec.rz)
any ideas?
Here's a quick workflow:
devin@kodiak-dev:~/projects/Kodiak$ gub issues
Issues disabled dhoss/Kodiak.
Listing issues for :
+----+----------------------------------------------------------------------------+--------+----------+--------+
| ID | Title | Author | Assignee | Status |
+----+----------------------------------------------------------------------------+--------+----------+--------+
| 60 | make sure only admins and owners can edit/delete/etc posts respectively | dhoss | dhoss | open |
| 59 | turn off SHOW_SQL by default | dhoss | dhoss | open |
| 58 | fix author display name on posts | dhoss | dhoss | open |
| 57 | health check functionality | dhoss | dhoss | open |
| 55 | store app config in db | dhoss | dhoss | open |
| 4 | Use bundler for gem-ification | dhoss | dhoss | open |
| 3 | Configuration | dhoss | dhoss | open |
| 2 | Documentation | dhoss | dhoss | open |
| 1 | Add tests | dhoss | dhoss | open |
| 54 | initial configurable display items | dhoss | dhoss | open |
| 53 | Response messages should be internationalized so that they're standardized | dhoss | dhoss | open |
| 51 | notifications | dhoss | dhoss | open |
| 50 | admin panel | dhoss | dhoss | open |
| 49 | Add logging | dhoss | dhoss | open |
| 47 | Fix acts_as_sane_tree deprecation error | dhoss | dhoss | open |
| 46 | Die immediately if anything in the setup process goes wrong | dhoss | dhoss | open |
| 45 | switch tags to use postgres arrays | dhoss | dhoss | open |
| 44 | Api version routes | dhoss | dhoss | open |
| 43 | post karma | dhoss | dhoss | open |
| 42 | email notifications | dhoss | dhoss | open |
| 38 | heartbeat endpoint | dhoss | dhoss | open |
| 33 | autosave drafts | dhoss | dhoss | open |
| 32 | diffs/versioning for posts | dhoss | dhoss | open |
| 31 | basic "similar posts" functionality | dhoss | dhoss | open |
| 29 | Basic api | dhoss | dhoss | open |
| 27 | Allow users to create lists of associations | dhoss | dhoss | open |
| 26 | track user actions | dhoss | dhoss | open |
| 25 | basic stats | dhoss | dhoss | open |
| 22 | documentation | dhoss | dhoss | open |
| 20 | multiple sign in options | dhoss | dhoss | open |
+----+----------------------------------------------------------------------------+--------+----------+--------+
Found 30 issue(s).
Hint: use "gub start" to start working on an issue.
devin@kodiak-dev:~/projects/Kodiak$ gub start 58
Unable to find token. You might need to run 'gub setup'.
devin@kodiak-dev:~/projects/Kodiak$ cat ~/.gubrc
---
token:*****
Pertinent system information:
OS | RVM version | Ruby version |
---|---|---|
Debian Wheezy (Linux kodiak-dev 3.2.0-4-amd64 #1 SMP Debian 3.2.60-1+deb7u3 x86_64 GNU/Linux) | rvm 1.25.28 (stable) by Wayne E. Seguin [email protected], Michal Papis [email protected] [https://rvm.io/] | ruby 2.1.2p95 (2014-05-08 revision 45877) [x86_64-linux] |
Please let me know if I need to provide more information.
clone task produces an error after successfully cloning the repository.
Instead of converting current issue to a pull request, create a pull request and reference the issue.
Hey, I just downloaded this and tried running gub start 100
on my repo. I was on a branch, and it auto-checked out master. Not cool, I had unstaged changes. Then it tried upload all my local branches. Really not cool, I didn't want many of those on remote at all.
Also got this:
fatal: 'upstream' does not appear to be a git repository
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
merge: upstream/master - not something we can merge
I think this gem needs to do a little more asking before doing, or change its default behavior. When would I want to push up all my local branches? Maybe filter it by branches whose names start with issue-
or something.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.