[issues] Use issue forms instead of markdown templates (#30605)

This commit is contained in:
autoantwort 2023-04-07 01:45:55 +02:00 committed by GitHub
parent df1fcfb1a6
commit 92acffb8d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
13 changed files with 169 additions and 119 deletions

View File

@ -0,0 +1,47 @@
name: Report package build failure
description: Let us know about build failures in ports.
title: "[<port name>] build failure"
labels: ["category:port-bug"]
body:
- type: markdown
attributes:
value: |
⚠ Please use the generated issue template instead to report a port build failure. ⚠ <br>
See [here](https://github.com/microsoft/vcpkg/issues/30604) how to properly report an issue with the latest vcpkg version:
<video width="800" controls="controls" muted="muted" src="https://user-images.githubusercontent.com/41973254/229313721-b82c2d3d-b0f9-4e31-98df-08d75831f695.mp4"></video>
- type: input
id: os
attributes:
label: Operating system
placeholder: "e.g. Windows/Linux etc..."
validations:
required: true
- type: input
id: compiler
attributes:
label: Compiler
placeholder: "GCC, Clang, MSVC, MinGW, ..."
validations:
required: false
- type: textarea
id: reproduce
attributes:
label: Steps to reproduce the behavior
placeholder: "`./vcpkg install xxxx`"
render: "Shell"
validations:
required: true
- type: textarea
id: logs
attributes:
label: Failure logs
description: The console output and all the logs metioned in the output
validations:
required: true
- type: textarea
id: context
attributes:
label: Additional context
description: Add any other context about the problem here, such as what you have already tried to resolve the issue.
validations:
required: false

View File

@ -0,0 +1,36 @@
name: Request a new port
description: Request a new port/library that vcpkg should support
title: "[New Port Request] <library name here>"
labels: ["category:new-port", "info:good-first-issue"]
body:
- type: input
id: name
attributes:
label: Library name
validations:
required: true
- type: input
id: description
attributes:
label: Library description
validations:
required: false
- type: input
id: url
attributes:
label: Source repository URL
validations:
required: true
- type: input
id: homepage
attributes:
label: Project homepage (if different from the source repository)
validations:
required: false
- type: textarea
id: additional-info
attributes:
label: Anything else that is useful to know when adding (such as optional features the library may have that should be included)
validations:
required: false

View File

@ -0,0 +1,23 @@
name: Request an update to an existing port
description: Let us know about a new version of a library we should pick up.
title: "[<port name>] update to <version>"
labels: ['category:port-update']
body:
- type: input
id: name
attributes:
label: Library name
validations:
required: true
- type: input
id: version
attributes:
label: New version number
validations:
required: true
- type: textarea
id: information
attributes:
label: Other information that may be useful (release notes, etc...)
validations:
required: false

View File

@ -0,0 +1,29 @@
name: Request a feature or improvement to a port
description: Suggest an improvement to one the the ports/libraries in vcpkg
title: "[<portname>] <short description of feature>"
labels: ["category:port-feature"]
body:
- type: textarea
attributes:
label: Is your feature request related to a problem? Please describe.
placeholder: A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
validations:
required: true
- type: textarea
attributes:
label: Proposed solution
placeholder: A clear and concise description of what you want to happen.
validations:
required: true
- type: textarea
attributes:
label: Describe alternatives you've considered
placeholder: A clear and concise description of any alternative solutions or features you've considered if applicable.
validations:
required: false
- type: textarea
attributes:
label: Additional context
placeholder: Add any other context or screenshots about the feature request here.
validations:
required: false

View File

@ -0,0 +1,29 @@
name: Request a feature or improvement
description: Suggest an improvement to vcpkg
title: ''
labels: ["category:vcpkg-feature"]
body:
- type: textarea
attributes:
label: Is your feature request related to a problem? Please describe.
placeholder: A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
validations:
required: true
- type: textarea
attributes:
label: Proposed solution
placeholder: A clear and concise description of what you want to happen.
validations:
required: true
- type: textarea
attributes:
label: Describe alternatives you've considered
placeholder: A clear and concise description of any alternative solutions or features you've considered.
validations:
required: false
- type: textarea
attributes:
label: Additional context
placeholder: Add any other context or screenshots about the feature request here.
validations:
required: false

5
.github/ISSUE_TEMPLATE/config.yml vendored Normal file
View File

@ -0,0 +1,5 @@
blank_issues_enabled: false
contact_links:
- name: I have a question
url: https://github.com/microsoft/vcpkg/discussions
about: Please ask and answer questions here.

View File

@ -1,10 +0,0 @@
---
name: I have a question
about: I have a question and don't see a clear answer in documentation
title: How do I ...
labels: Question
assignees: ''
---
Please create a discussion in https://github.com/microsoft/vcpkg/discussions/new instead.

View File

@ -1,33 +0,0 @@
---
name: Report package build failure
about: Let us know about build failures in ports.
title: "[<port name>] build failure"
labels: category:port-bug
assignees: ''
---
<!-- ⚠ Please use the generated issue template instead to report a port build failure. ⚠ -->
<!-- ⁉ You can find its location at the end of the console output. ⁉ -->
**Host Environment**
- OS: [e.g. Windows/Linux etc...]
- Compiler: revision
**To Reproduce**
Steps to reproduce the behavior:
`./vcpkg install xxxx`
**Failure logs**
- Cut and paste the appropriate build messages from the console output.
- Attach ***every failure log file*** mentioned in the console output.
<!-- ‼ **The console output by itself is not enough to investigate a build failure.** ‼ -->
**Additional context**
Add any other context about the problem here, such as what you have already tried to resolve the issue.

View File

@ -1,22 +0,0 @@
---
name: Request a feature or improvement to a port
about: Suggest an improvement to one the the ports/libraries in vcpkg
title: "[<portname>] <short description of feature>"
labels: port feature
assignees: ''
---
****
**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
**Proposed solution**
A clear and concise description of what you want to happen.
**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered if applicable.
**Additional context**
Add any other context or screenshots about the feature request here.

View File

@ -1,22 +0,0 @@
---
name: Request a feature or improvement
about: Suggest an improvement to vcpkg
title: ''
labels: vcpkg feature
assignees: ''
---
****
**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
**Proposed solution**
A clear and concise description of what you want to happen.
**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
**Additional context**
Add any other context or screenshots about the feature request here.

View File

@ -1,18 +0,0 @@
---
name: Request a new port
about: Request a new port/library that vcpkg should support
title: "[New Port Request] <library name here>"
labels: "category:new-port,info:good-first-issue"
assignees: ''
---
Library name:
Library description:
Source repository URL:
Project homepage (if different from the source repository):
Anything else that is useful to know when adding (such as optional features the library may have that should be included):

View File

@ -1,14 +0,0 @@
---
name: Request an update to an existing port
about: Let us know about a new version of a library we should pick up.
title: "[<port name>] update to <version>"
labels: 'category:port-update'
assignees: ''
---
Library name:
New version number:
Other information that may be useful (release notes, etc...)