All Projects → jakub-g → gh-code-review-assistant

jakub-g / gh-code-review-assistant

Licence: other
(no longer maintained) GitHub Code Review Assistant tool is a userscript (lightweight extension) for Firefox / Chrome

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to gh-code-review-assistant

Cargo Crev
A cryptographically verifiable code review system for the cargo (Rust) package manager.
Stars: ✭ 1,268 (+4272.41%)
Mutual labels:  code-review
Gerrit Rest Java Client
Java REST client for Gerrit Code Review
Stars: ✭ 133 (+358.62%)
Mutual labels:  code-review
Awesome Code Review
An "Awesome" list of code review resources - articles, papers, tools, etc
Stars: ✭ 3,205 (+10951.72%)
Mutual labels:  code-review
Reviewboard
An extensible and friendly code review tool for projects and companies of all sizes.
Stars: ✭ 1,334 (+4500%)
Mutual labels:  code-review
Owasp Orizon
Owasp Orizon is a source code static analyzer tool designed to spot security issues in Java applications.
Stars: ✭ 130 (+348.28%)
Mutual labels:  code-review
Mutant
Automated code reviews via mutation testing - semantic code coverage.
Stars: ✭ 1,794 (+6086.21%)
Mutual labels:  code-review
Git Autofixup
create fixup commits for topic branches
Stars: ✭ 63 (+117.24%)
Mutual labels:  code-review
code-review
Automated static analysis & linting bot for Mozilla repositories
Stars: ✭ 51 (+75.86%)
Mutual labels:  code-review
Nodejsscan
nodejsscan is a static security code scanner for Node.js applications.
Stars: ✭ 1,874 (+6362.07%)
Mutual labels:  code-review
Code Review Checklist
This code review checklist helps you be a more effective and efficient code reviewer.
Stars: ✭ 214 (+637.93%)
Mutual labels:  code-review
Reviewbot
A tool for running automated static analysis on code posted to a Review Board instance.
Stars: ✭ 99 (+241.38%)
Mutual labels:  code-review
Vscode Pull Request Github
GitHub Pull Requests for Visual Studio Code
Stars: ✭ 1,769 (+6000%)
Mutual labels:  code-review
Hound
Automated code review for GitHub pull requests.
Stars: ✭ 1,904 (+6465.52%)
Mutual labels:  code-review
Ruby Saddler
Stars: ✭ 93 (+220.69%)
Mutual labels:  code-review
abapOpenReview
ABAP Review Tool
Stars: ✭ 19 (-34.48%)
Mutual labels:  code-review
All About Code Review
This is a curated list of resources about code reviews: articles, tools, trainings...
Stars: ✭ 80 (+175.86%)
Mutual labels:  code-review
Lookout
Assisted code review, running custom code analyzers on pull requests
Stars: ✭ 140 (+382.76%)
Mutual labels:  code-review
z-pot
project overview tool, used to analyze the amount of code, the number of files, code statistics and so on.
Stars: ✭ 18 (-37.93%)
Mutual labels:  code-review
effective-code-review
Presentation about my process for making code reviews as effective as possible
Stars: ✭ 63 (+117.24%)
Mutual labels:  code-review
Github Review
Github code reviews with Emacs.
Stars: ✭ 210 (+624.14%)
Mutual labels:  code-review

GitHub Code Review Assistant


DEPRECATION NOTE

The project is no longer maintained and left here for historical reasons.

Since GitHub is evolving at a steady pace and updating the script would require a regular effort, and since I use GitHub way less often than before, I will no longer maintain the script for now.

However, see instead: https://github.com/sindresorhus/refined-github

What's that?

Github Assistant is a UserScript, i.e. a piece of JavaScript code, that runs in your browser on Github pages to enhance your code review experience:

  1. Mark the files as Reviewed / Rejected (this is stored in browser's local storage, so you can safely reload the page or close the browser and come back later).
  2. Expand / collapse files comprising the diff individually (by clicking the header of each file).
  3. Configure the script to collapse the files automatically if there are >N files or the diff is >M lines.
  4. A footer and sidebar are added next to each file to quickly jump to its top.
  5. Serialize & export the code review status into the URL's hash

Works on /commit, /pull, /compare pages.

Configuration

You can configure all the options right from the config dialog in the browser.

Scroll to the bottom of any pull request and you will see a number of buttons added by the script.

Preview

GitHub Code Review Assistant Screenshot - can take a while to load...

Supported browsers

Firefox, Chrome (should work on any reasonably modern version), Opera 12.

Installation guide

Firefox

  1. Install GreaseMonkey and restart the browser.
  2. Navigate to ghAssistant.user.js on GitHub.
  3. You should see an installation prompt. Accept the installation.
  4. GH Assistant should work right away.

Chrome

  1. Install TamperMonkey.
  2. Navigate to ghAssistant.user.js on GitHub.
  3. You should see an installation prompt. Click "OK" (Install with Tampermonkey).
  4. GH Assistant should work right away.

Opera 12

  1. Launch the following addresses to configure the browser: set the directory on your disk where to store UserScripts, and activate UserScripts on HTTPS (GitHub is served via HTTPS):

    opera:config#UserPrefs|UserJavaScriptFile
    opera:config#UserPrefs|UserJavaScriptonHTTPS
    
  2. Download the ghAssistant.user.js and put it in the UserScripts folder declared above.

  3. Restart the browser.

Updates

The userscript has an URL to this GitHub repo in its metadata. Hence in Firefox and Chrome you can benefit from easy updates.

Firefox

Go to about:addons (or Tools > Addons from Firefox menu, or Ctrl+Shift+A from keyboard) to GreaseMonkey tab. Right click on the entry and choose "Find updates".

If you opted in to have automatic updates in Firefox, the same setting will also apply to GreaseMonkey which will periodically automatically check for updates of UserScripts.

Chrome

Open Tampermonkey menu > Options. Select the entry and choose "Trigger an update" from the dropdown.

Tampermonkey also checks for UserScripts updates periodically (configurable in extension's settings; default is 12h).

Opera 12

AFAIK you'll have to do it manually.

Checking if the extension works

Navigate to some of the /commit, /pull, or /compare URL on Github. The longer the diff, the better you'll see the advantages of the script.

Example: ariatemplates # pull 427

I like it!

Spread the word and and star this repo on GitHub. Fork it and submit patches if you found bugs.

You may also like some other of my userscripts:

  • GitHub: hide pull requests from issues page
  • GitHub: go to pull request branch from pull request
  • Wiki language switcher
  • and several other

See them on Github or Userscripts.org

Author's homepage: jakub-g.github.io

Credits

This extension was developed using the following Firefox extensions:

Credits to all the respective authors.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].