This extension allows you to navigate to a crbug page, click a button, and import the bug into a github repository.
You can download the extension or load it as an unpacked extension. Then you need to set up API access for both Google Project Hosting API and GitHub to make the extension work.
Follow these directions to create an API key, which are summarized here:
- Go to Google Developers Console
- Click Create project
- Click on "APIs" under "APIs & auth"
- Enable "Project Hosting API"
- Click on "Credentials" under "APIs & auth"
- Click "Create New Key", then "Browser Key", then "Create".
The "API key" you created can be added in the extension options under "Crbug API key".
Use this page to register a new GitHub OAuth application.
- Set the application name, homepage url, and application description to whatever you want.
- Get the Chrome extension ID. If you downloaded from the Chrome web store it's hhiilahjifpaibhpbnhhhlgblambpgcn; if you're running an unpacked extension it's chrome.runtime.id.
- Set the Authorization callback URL to https://[CHROME EXTENSION ID HERE].chromiumapp.org/provider_cb
Copy the Client ID and GitHub Client Secret to the extension options under "GitHub Client ID" and "GitHub Client Secret".
In the options, set the GitHub repo username and repo name to the user and repo of the issue tracker you want to import into (https://GitHub.com/[user]/[repo]/issues).
- Navigate to a crbug page you want to migrate to GitHub.
- Click the GitHub issue icon.
- The list of labels for the issue will appear. You can uncheck or modify any labels you don't want to import as-is.
- Click the "Start Import" button.
- The crbug issue is added to your GitHub ssue tracker. The issue will be created with your username and the current date, but the original issue author and date will be noted.