forked from microsoft/vcpkg
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'microsoft:master' into master
- Loading branch information
Showing
6,985 changed files
with
106,625 additions
and
59,161 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
47 changes: 47 additions & 0 deletions
47
.github/ISSUE_TEMPLATE/00-report-package-build-failure.yml
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,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 |
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,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 |
23 changes: 23 additions & 0 deletions
23
.github/ISSUE_TEMPLATE/02-request-an-update-to-an-existing-port.yml
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,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 |
29 changes: 29 additions & 0 deletions
29
.github/ISSUE_TEMPLATE/03-request-a-feature-or-improvement-to-a-port.yml
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,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 |
29 changes: 29 additions & 0 deletions
29
.github/ISSUE_TEMPLATE/04-request-a-feature-or-improvement.yml
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,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 |
File renamed without changes.
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,5 @@ | ||
blank_issues_enabled: true | ||
contact_links: | ||
- name: I have a question | ||
url: https://github.com/microsoft/vcpkg/discussions | ||
about: Please ask and answer questions here. |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
22 changes: 0 additions & 22 deletions
22
.github/ISSUE_TEMPLATE/request-a-feature-or-improvement-to-a-port.md
This file was deleted.
Oops, something went wrong.
22 changes: 0 additions & 22 deletions
22
.github/ISSUE_TEMPLATE/request-a-feature-or-improvement.md
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
14 changes: 0 additions & 14 deletions
14
.github/ISSUE_TEMPLATE/request-an-update-to-an-existing-port.md
This file was deleted.
Oops, something went wrong.
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
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,44 @@ | ||
name: Check For Common Issues | ||
|
||
on: | ||
issues: | ||
types: | ||
- opened | ||
|
||
jobs: | ||
check-for-common-issues: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
issues: write | ||
steps: | ||
- uses: actions/github-script@v6 | ||
with: | ||
script: | | ||
let issue_query = { | ||
issue_number: context.issue.number, | ||
owner: context.repo.owner, | ||
repo: context.repo.repo | ||
}; | ||
let issue = await github.rest.issues.get(issue_query) | ||
// missing-windows-sdk-issue | ||
let reg = /RC Pass 1: command "rc .*" failed \(exit code 0\) with the following output:/; | ||
if (reg.test(issue.data.body)){ | ||
await github.rest.issues.removeAllLabels(issue_query); | ||
await github.rest.issues.setLabels({...issue_query, labels: ["category:question"]}); | ||
let body = "Thanks for posting this issue. Please make sure you have the following installed.\n" + | ||
"- Visual Studio Desktop development with C++.\n" + | ||
"- Windows 10 SDK or Windows 11 SDK."; | ||
await github.rest.issues.createComment({...issue_query, body}); | ||
// Close the issue? | ||
} | ||
// msys2 download fails => old vcpkg version | ||
reg = /error: https:\/\/repo\.msys2\.org\/.*: failed: status code 404/; | ||
if (reg.test(issue.data.body)){ | ||
await github.rest.issues.removeAllLabels(issue_query); | ||
await github.rest.issues.setLabels({...issue_query, labels: ["category:question"]}); | ||
let body = "Try updating your vcpkg version via `git pull` to resolve this issue. MSYS2 downloads are removed from the upstream servers from time to time, so using an up-to-date vcpkg version is necessary." | ||
await github.rest.issues.createComment({...issue_query, body}); | ||
// Close the issue? | ||
} |
Oops, something went wrong.