Creates a nicely formatted Markdown file for reporting an Atom bug and posts the issue to a GitHub repo.
This package is no longer maintained and has been superseded by the town-crier package. Please take a look there for the latest in easy bug reporting in Atom.
Execute the bug-report:open
command (Ctrl+Alt+Shift+B by default) and a new Markdown file will be opened with fields for entering description, repro steps and images or movies, plus important diagnostic information to help make great Atom bug reports.
Sample bug report output:
[Enter description here]

## Repro Steps
1. [First Step]
2. [Second Step]
3. [and so on...]
**Expected:** [Enter expected behavior here]
**Actual:** [Enter actual behavior here]
## Command History
```
-0:22.6 pane-container:active-pane-item-changed (atom-pane-container.panes)
-0:22.6 active-buffer-changed (div.status-bar)
-0:22.6 pane:active-item-changed (atom-pane.pane.active.with-minimap)
-0:22.6 editor:detached (atom-text-editor.editor.editor-colors)
-0:22.6 editor:will-be-removed (atom-text-editor.editor.editor-colors)
-0:22.6 pane:item-removed (atom-pane.pane.active.with-minimap)
-0:22.5 editor:detached (atom-text-editor.editor.editor-colors)
-0:22.5 editor:will-be-removed (atom-text-editor.editor.editor-colors)
-0:22.5 minimap:scroll (div.minimap)
-0:00.0 bug-report:open (input.hidden-input)
```
## Versions
* **Atom:** 0.153.0-7738472
* **Atom-Shell:** 0.19.4
* **OS:** Mac OS X 10.10.1
* **Misc**
* apm 0.111.0
* npm 1.4.4
* node 0.10.33
* python 2.7.6
* git 1.9.3
---
<small>This report was created in and posted from the Atom editor using the package `bug-report` v0.5.3.</small>
When you create a new report, a pane will appear below the editor that enables posting your report as a GitHub Issue.
For the Bug Report package to post on your behalf, you need to supply a GitHub API token. You may obtain one by following the instructions on GitHub. Your token will need at least the repo
or public repo
permission for posting to work.
Instructions:
- Enter a title for the issue.
- Specify the repository to post the Issue against. It can be specified in any of the following ways:
- As a
user/repo
string —lee-dohm/bug-report
- As the URL to the repository's main GitHub page —
https://github.com/lee-dohm/bug-report
- As the HTTPS repository remote —
https://github.com/lee-dohm/bug-report.git
- As the SSH repository remote —
[email protected]:lee-dohm/bug-report.git
- Note: The default repository is for the core Atom editor at
atom/atom
. Only post there if you have checked that the problem isn't in a user-supplied package. Do this by running Atom in safe mode withatom --safe
.
- As a
- Enter your GitHub API token.
- By default, this token is saved for future sessions. See the Configuration section for more information.
- Click
Post Issue
. It should only take a few seconds for Bug Report to post the Issue, after which the panel will show you a link to it.
Once you have posted you will not be able to post this same report again. If you wish, you may copy this report and open a new one to start over.
bug-report.saveToken
true
— Saves the token in the file specified bytokenPath
. Also uses the token from the file, if it exists.false
— Does not save the token nor does it use it if the file attokenPath
exists. It will need to be entered each time a report is posted on your behalf.
bug-report.tokenPath
— Path at which the API token will be saved to and loaded from ifsaveToken
is enabled.
bug-report:open
— Opens the bug report template with version information already includedbug-report:insert-version-info
— Inserts the formatted version information into the active text editor
ctrl-shift-alt-b
— Executesbug-report:open
Copyright © 2014-2015 by Lee Dohm and Lifted Studios. See LICENSE for details.