Skip to content
Myr

github: convert bug-report issue template to issue form

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Trying this to see how well it works. PR #2560

authored by dana · committed by GitHub · parent a4387ed · Browse files · 2 files+101 added−55 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+101 added−55 removed

  • other:+101 added−55 removed

2 files+101 added−55 removed

deleted:.github/ISSUE_TEMPLATE/bug_report.md-55 removed
added:.github/ISSUE_TEMPLATE/bug_report.yml+101 added
1name: Bug Report2description: An issue with ripgrep or any of its crates (ignore, globset, etc.).3body:4 - type: markdown5 attributes:6 value: |7 Please review the following common issues before filing a bug. You may also be interested in reading the [FAQ](https://github.com/BurntSushi/ripgrep/blob/master/FAQ.md)8 and the [user guide](https://github.com/BurntSushi/ripgrep/blob/master/GUIDE.md).910 * Unable to search for text with leading dash/hyphen: This is not a bug. Use `rg -- -mytext` or `rg -e -mytext`. See #102, #215, #624.11 * Unable to build with old version of Rust. This is not a bug. ripgrep tracks the latest stable release of Rust. See #1019, #1433, #2534.12 * ripgrep package is broken or out of date. ripgrep's author does not maintain packages for Red Hat, Ubuntu, Arch, Homebrew, WinGet, etc. If you have an issue with one of these, please contact your package maintainer. See #1637, #2264, #2459.1314 - type: checkboxes15 id: issue-not-common16 attributes:17 label: Please tick this box to confirm you have reviewed the above.18 options:19 - label: I have a different issue.20 required: true2122 - type: textarea23 id: ripgrep-version24 attributes:25 label: What version of ripgrep are you using?26 description: Enter the output of `rg --version`.27 placeholder: ex. ripgrep 13.0.028 validations:29 required: true3031 - type: textarea32 id: install-method33 attributes:34 label: How did you install ripgrep?35 description: |36 If you installed ripgrep with snap and are getting strange file permission or file not found errors, then please do not file a bug. Instead, use one of the GitHub binary releases.3738 Please report any other issues with downstream ripgrep packages to their respective maintainers as mentioned above.39 placeholder: ex. Cargo, APT, Homebrew40 validations:41 required: true4243 - type: textarea44 id: operating-system45 attributes:46 label: What operating system are you using ripgrep on?47 description: Enter the name and version of your operating system.48 placeholder: ex. Debian 12.0, macOS 13.4.149 validations:50 required: true5152 - type: textarea53 id: description54 attributes:55 label: Describe your bug.56 description: Give a high level description of the bug.57 placeholder: ex. ripgrep fails to return the expected matches when...58 validations:59 required: true6061 - type: textarea62 id: steps-to-reproduce63 attributes:64 label: What are the steps to reproduce the behavior?65 description: |66 If possible, please include both your search patterns and the corpus on which you are searching. Unless the bug is very obvious, then it is unlikely that it will be fixed if the ripgrep maintainers cannot reproduce it.6768 If the corpus is too big and you cannot decrease its size, file the bug anyway and the ripgrep maintainers will help figure out next steps.69 placeholder: >70 ex. Run `rg bar` in a directory containing a file with the lines 'bar' and 'barbaz'71 validations:72 required: true7374 - type: textarea75 id: actual-behavior76 attributes:77 label: What is the actual behavior?78 description: |79 Show the command you ran and the actual output. **Include the `--debug` flag in your invocation of ripgrep.**8081 If the output is large, put it in a gist: <https://gist.github.com/>8283 If the output is small, put it in code fences (see placeholder text).84 placeholder: |85 ex.86 ```87 $ rg --debug bar88 DEBUG|grep_regex::literal|crates/regex/src/literal.rs:58: literal prefixes detected: Literals { lits: [Complete(bar)], limit_size: 250, limit_class: 10 }89 ...90 ```91 validations:92 required: true9394 - type: textarea95 id: expected-behavior96 attributes:97 label: What is the expected behavior?98 description: What do you think ripgrep should have done?99 placeholder: ex. ripgrep should have returned 2 matches100 validations:101 required: true