Octaccord is a small CLI tool to manipulate issues (tickets) for the GitHub. It reduces some complex operations on the issues of GitHub:
- Bulk label update with complex search queries
- Pretty issue printer in many format including Markdown
- Extract statistic information to the GitHub Wiki
Current code is a very alpha and kind of proof-of-concept demonstration. I recommend you not to install via usual gem-style procedure.
- Install rbenv + ruby-build
(see https://github.com/sstephenson/rbenv#basic-github-checkout for details)
$ git clone https://github.com/sstephenson/rbenv.git ~/.rbenv $ git clone https://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build # Edit your shell dot files to add some path and environment variables.
- Install Latest Ruby and bundler
# Install ruby 2.1.2 $ rbenv install 2.1.2 # Installation check $ rbenv global 2.1.2 $ ruby -v # -> You will see: ruby 2.1.2... # Install bundler for your new Ruby $ gem install bundler # Get back to your sytem default Ruby if you want $ rbenv global system # say, /usr/bin/ruby $ ruby -v
- Clone octaccord from github
$ git clone [email protected]:nomlab/octaccord.git ~/src/octaccord
- Set default ruby version in octaccord project
$ cd ~/src/octaccord $ echo '2.1.2' > .ruby-version $ ruby -v # -> You will see: ruby 2.1.2...
- Install requied gem packages in sandbox ~/src/octaccord/vendor/bundle
$ cd ~/src/octaccord $ bundle install --path vendor/bundle
- Setup data-cache and auth-cache directory
$ mkdir -p ~/.cache/octaccord $ mkdir -p ~/.pit
- Check if octaccord is alive.
$ export EDITOR=vi $ ~/src/octaccord/bin/octaccord scan nomlab/octaccord
You may add ~/src/octaccord/bin directory to your $PATH for dogfooding. If you are zsh user, examples/octaccord-completion.zsh would help you.