Skip to content

Need a way to work with gerrit in atom. This is a plugin for using git-review on atom.

License

Notifications You must be signed in to change notification settings

happymedium/atom-git-review

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

git-review package for atom

Introduction

I recently started using atom allot because of it's light weight and super configurable nature. I'm a big gerrit user too, and most of my interactions are with git-review (another awesome tool from Openstack).

Enter git-review for atom. The goal for this project is simple. Lets enable git-review usage within atom so we don't have to switch back and forth between the command prompt and atom for normal developer workflow.

Visit the project on github to learn more about git-review.

A screenshot git-review in

Usage

Git-Review Palette

  • Cmd-Shift-R R on MacOS
  • Ctrl-Shift-R R on Windows + Linux
  • Git Review: Menu on the atom command palette.

Commands

  1. Review download

Download a change request from gerrit review system. This is equivalent to git-review -d [change].

Default key binding: Cmd-Shift-R D

  1. Review submit

Submit a review to gerrit change control system. This is the same as git-review.Will pull up a commit message file.

Default key binding: Cmd-Shift-R S

  1. Review list List current review open on a project to select to download from. This is equivalent to: git-review -l

Default key binding: Cmd-Shift-R l

  1. Review version

Check what version of git-review you have available.

Default key binding: Cmd-Shift-R V

Contributing

  • Fork it and hack on it with github

Developing

Here are a few shortcuts to help developers get started with adding to this plugin with atom.

  • Clone the project
  git clone https://github.com/wenlock/atom-git-review.git
  • Link the source folder to your ~/.atom/packages
  cd atom-git-review
  apm ln . --dev
  apm linked
  • Install native node modules for your plugin.
  cd atom-git-review
  apm install
  • Publish
  apm login
  apm publish v0.1.3

Credits

  • Another great addon for atom, git-plus. Credit for much of the structure & framework for this addon can be contributed to that project.

Project Status

  • This is a fun project and will only be developed as I find time and when the need is truly required for work.
  • This project is very basic in that it provides very bare integration, and requires the user to install git-review with pip.
  • I welcome other to contribute and help improve it, please checkout the TODO's.

TODO

  • create a topic for the review: git-review:topic
  • compare a patch: git-review:compare-patch
  • install git-review with pip, if pip found.
  • git-review setup

About

Need a way to work with gerrit in atom. This is a plugin for using git-review on atom.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • CoffeeScript 98.2%
  • CSS 1.8%