Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve issue reporting links #274

Merged
merged 3 commits into from
Nov 19, 2021
Merged

Improve issue reporting links #274

merged 3 commits into from
Nov 19, 2021

Conversation

dg0yt
Copy link
Contributor

@dg0yt dg0yt commented Nov 18, 2021

Adds link to search known issues, in order to avoid duplicates. e.g.
https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+cpr

Sets package name and template for reporting build errors. The links are somewhat ugly, but clickable in VS Code and in many terminals. E.g.
https://github.com/microsoft/vcpkg/issues/new?template=report-package-build-failure.md&title=[cpr]+Build+error

Full output:

Error: Building package cpr:x64-linux failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with `git pull` and `./vcpkg update`.
Then check for known issues at:
  https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+cpr
You can submit a new issue at:
  https://github.com/microsoft/vcpkg/issues/new?template=report-package-build-failure.md&title=[cpr]+Build+error
including:
  package: cpr[core]:x64-linux -> 1.6.2#1
  vcpkg version: cbc22a396 2021-11-17 (13 hours ago)
  vcpkg-tool version: 2021-11-15-unknownhash-debug

Additionally, attach any relevant sections from the log files above.

@BillyONeal BillyONeal merged commit c388d3a into microsoft:main Nov 19, 2021
@dg0yt dg0yt deleted the issue-links branch January 2, 2023 17:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants