diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md deleted file mode 100644 index c14c479fc..000000000 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ /dev/null @@ -1,46 +0,0 @@ ---- -name: Bug report -about: Create a report to help us improve `renterd` -title: '' -labels: '' -assignees: '' - ---- - -## Describe the bug -A clear and concise description of what the bug is. - -## Expected behaviour -A clear and concise description of what you expected to happen. - -## Additional context - -### General Information -Are you running a fork of `renterd`? -Are you on the mainnet or on the testnet? - -### Renterd Config -Please provide us the following information: - -**Autopilot Config** - -```bash -curl -u ":[YOUR_PASSWORD]" http://localhost:9980/api/autopilot/config -``` - -**Bus Config** - -```bash -curl -u ":[YOUR_PASSWORD]" http://localhost:9980/api/bus/setting/redundancy - -curl -u ":[YOUR_PASSWORD]" http://localhost:9980/api/bus/setting/gouging -``` - -**Contract Set Contracts** - -```bash -curl -u ":[YOUR_PASSWORD]" http://localhost:9980/api/bus/contracts/set/autopilot | grep '"id"' | wc -l -``` - -### Renterd Logs -If applicable, upload your `renterd.log` file or part of the file you think is relevant to the issue. diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml new file mode 100644 index 000000000..379c4e6cd --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -0,0 +1,94 @@ +name: Bug Report +description: File a bug report +labels: ["bug"] +body: + - type: markdown + attributes: + value: | + Thanks for taking the time to fill out this bug report! + Note: Please search to see if an issue already exists for the bug you encountered. + - type: textarea + id: current-behavior + attributes: + label: Current Behavior + description: A concise description of what you're experiencing. + placeholder: Tell us what you see! + validations: + required: true + - type: textarea + id: expected-behavior + attributes: + label: Expected Behavior + description: A concise description of what you expected to happen. + placeholder: Tell us what you want to see! + validations: + required: true + - type: textarea + id: steps-to-reproduce + attributes: + label: Steps to Reproduce + description: Detailed steps to reproduce the behavior. + placeholder: | + 1. Go to '...' + 2. Click on '....' + 3. Scroll down to '....' + 4. See error + - type: input + id: version + attributes: + label: Version + description: What version of reneterd are you running? If you are running from source, please provide the commit hash. + placeholder: v1.0.0 + validations: + required: true + - type: input + id: os + attributes: + label: What operating system did the problem occur on (e.g. Ubuntu 22.04, macOS 12.0, Windows 11)? + validations: + required: true + - type: input + id: apCfg + attributes: + label: Autopilot Config + description: | + The configuration of your autopilot + ```bash + curl -u ":[YOUR_PASSWORD]" http://localhost:9980/api/autopilot/config + ``` + placeholder: Paste the output of the above command here ``` + validations: + required: true + - type: input + id: busCfg + attributes: + label: Bus Config + description: | + The configuration of your bus + ```bash + curl -u ":[YOUR_PASSWORD]" http://localhost:9980/api/bus/setting/redundancy + + curl -u ":[YOUR_PASSWORD]" http://localhost:9980/api/bus/setting/gouging + ``` + placeholder: Paste the output of the above commands here + validations: + required: true + - type: input + id: csContracts + attributes: + label: Contract Set Contracts + description: | + The number of contracts in your contract set + ```bash + curl -u ":[YOUR_PASSWORD]" http://localhost:9980/api/bus/contracts/set/autopilot | grep '"id"' | wc -l + placeholder: Paste the output of the above command here ``` + validations: + required: true + - type: textarea + attributes: + label: Anything else? + description: | + Links? References? Anything that will give us more context about the issue you are encountering! + Tip: You can attach images or log files by clicking this area to highlight it and then dragging files in. + validations: + required: false \ No newline at end of file