50

GitHub - dzhavat/potential-changes-for-github: Potential changes for GitHub: Bro...

 5 years ago
source link: https://github.com/dzhavat/potential-changes-for-github
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

README.md

Potential changes for GitHub

Browser extension that shows which pull requests contain changes related to a file.

Warning: This extension is still in a very early stage and it serves as a proof of concept. Please keep that in mind when you use it.

Install

Demo

Demo

Limitations

Currently, the extension has the following limitations:

  • It is limited to Public repositories only.
  • It is limited to repositories with 10 or less pull requests.
  • GitHub has a rate limit of 60 requests per hour. Usually same requests are cached but if you want to check multiple files in different repositories, you can quickly "run out" of requests.

Most of the limitations above are there just because I wanted to save time and focused on solving the core idea behind this extension.

Running locally

Chrome

  1. Go to chrome://extensions/ page.
  2. Toggle “Developer mode” in the upper right corner.
  3. Click the “Load unpacked” button.
  4. Select the source directory.

Firefox

  1. Open the source directory.
  2. Make an archive containing all files within the directory.
  3. Open Firefox and go to about:debugging page.
  4. Click the “Load Temporary Add-on...” button.
  5. Select the archive created on step 1.

Contributions

You're more than welcome to contribute. There are several things you can do:

  • Report bugs.
  • Submit a pull request to one of the issues.
  • Review pull requests.
  • Suggest new ideas.
  • Suggest improvements to the code.
  • Port the extension to another browser.

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK