-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add a "bug report" issue template (#42)
- Loading branch information
Showing
1 changed file
with
79 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
name: Bug Report | ||
description: Create a report to help us improve `nu-git-manager` | ||
labels: ["needs-triage"] | ||
body: | ||
- type: textarea | ||
id: description | ||
attributes: | ||
label: Describe the bug | ||
description: A succint explaination of the context where the bug appears. | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: repro | ||
attributes: | ||
label: How to reproduce | ||
description: | | ||
Steps to reproduce the behavior. | ||
Make sure you run the following commands to use a blank store of repositories. | ||
1. define the reproduction environment | ||
```nushell | ||
const REPRO_ENV = { | ||
GIT_REPOS_HOME: ($nu.temp-path | path join "repos/"), | ||
GIT_REPOS_CACHE: ($nu.temp-path | path join "repos.cache"), | ||
} | ||
``` | ||
2. clean the reproduction environment | ||
```nushell | ||
with-env $REPRO_ENV { | ||
gm status | select root.path cache.path | values | each { | ||
if ($in | path exists) { rm --recursive --force --verbose $in } | ||
} | ||
} | ||
``` | ||
then run all the `gm` commands inside `with-env $REPRO_ENV { ... }` | ||
placeholder: | | ||
1. run `with-env $REPRO_ENV { gm clone https://github.com/amtoine/nu-git-manager }` | ||
2. run `with-env $REPRO_ENV { gm update-cache }` | ||
3. see the error | ||
4. ... | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: expected | ||
attributes: | ||
label: Expected behavior | ||
description: A clear and concise description of what you expected to happen. | ||
placeholder: I expected nu-git-manager to... | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: config | ||
attributes: | ||
label: Configuration | ||
description: "Please run `version | transpose key value | to md --pretty` and paste the output to show OS, features, etc." | ||
placeholder: | | ||
> version | transpose key value | to md --pretty | ||
| key | value | | ||
| ------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | ||
| version | 0.40.0 | | ||
| build_os | linux-x86_64 | | ||
| rust_version | rustc 1.56.1 | | ||
| cargo_version | cargo 1.56.0 | | ||
| pkg_version | 0.40.0 | | ||
| build_time | 1980-01-01 00:00:00 +00:00 | | ||
| build_rust_channel | release | | ||
| features | clipboard-cli, ctrlc, dataframe, default, rustyline, term, trash, uuid, which, zip | | ||
| installed_plugins | binaryview, chart bar, chart line, fetch, from bson, from sqlite, inc, match, post, ps, query json, s3, selector, start, sys, textview, to bson, to sqlite, tree, xpath | | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: context | ||
attributes: | ||
label: Additional context | ||
description: Add any other context about the problem here. | ||
validations: | ||
required: false | ||
|