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.
Usage
Git-Review Palette
Cmd-Shift-R R
on MacOSCtrl-Shift-R R
on Windows + LinuxGit Review: Menu
on the atom command palette.
Commands
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
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
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
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