diff --git a/.github/ISSUE_TEMPLATE/1_activation.md b/.github/ISSUE_TEMPLATE/1_activation.md deleted file mode 100644 index 07a8139117..0000000000 --- a/.github/ISSUE_TEMPLATE/1_activation.md +++ /dev/null @@ -1,53 +0,0 @@ ---- -name: I am having difficulty installing Flutter or getting it to work -about: You have run into problems while downloading or installing Flutter, or the - "flutter" tool is crashing, or you are running into some other issue before even - being able to use "flutter run". -title: '' -labels: '' -assignees: '' - ---- - - - -## Steps to Reproduce - - - -1. ... -2. ... -3. ... - -## Logs - -
-Logs - - - -``` -``` - - - -``` -``` - -
diff --git a/.github/ISSUE_TEMPLATE/1_activation.yml b/.github/ISSUE_TEMPLATE/1_activation.yml new file mode 100644 index 0000000000..4416807860 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/1_activation.yml @@ -0,0 +1,88 @@ +name: I am having difficulty installing Flutter or getting it to work +description: You have run into problems while downloading or installing Flutter, or the + "flutter" tool is crashing, or you are running into some other issue before even + being able to use "flutter run". +body: + - type: markdown + attributes: + value: | + Thank you for using Flutter! + + If you are looking for support, please check out our documentation + or consider asking a question on Stack Overflow: + + - https://flutter.dev/ + - https://api.flutter.dev/ + - https://stackoverflow.com/questions/tagged/flutter?sort=frequent + + If you have found a bug or if our documentation doesn't have an answer + to what you're looking for, then fill out the template below. + - type: checkboxes + attributes: + label: Is there an existing issue for this? + description: Please search to see if an issue already exists for the bug you encountered. + options: + - label: I have searched the [existing issues](https://github.com/flutter/flutter/issues) + required: true + - label: I have read the [guide to filing a bug](https://flutter.dev/docs/resources/bug-reports) + required: true + - type: textarea + attributes: + label: Steps to reproduce + description: Please tell us exactly how to reproduce the problem you are running into. + placeholder: | + 1. ... + 2. ... + 3. ... + validations: + required: true + - type: textarea + attributes: + label: Actual results + description: Please tell us what is actually happening + validations: + required: true + - type: textarea + attributes: + label: Logs + description: | + Include the full logs of the commands you are running between the lines + with the backticks below. If you are running any `flutter` commands, + please include the output of running them with `--verbose`; for example, + the output of running `flutter --verbose create foo`. + + If the logs are too large to be uploaded to Github, you may upload + them as a `txt` file or use online tools like https://pastebin.com to + share it. + + Note: Please do not upload screenshots of text. Instead, use code blocks + or the above mentioned ways to upload logs. + value: | +
+ Logs + + ```console + + + + ``` + +
+ - type: textarea + attributes: + label: Flutter Doctor output + description: | + Please provide the full output of running `flutter doctor -v` + value: | +
+ Doctor output + + ```console + + + + ``` + +
+ validations: + required: true diff --git a/bin/internal/update_dart_sdk.sh b/bin/internal/update_dart_sdk.sh index 82bd39c1f9..0f1a238048 100755 --- a/bin/internal/update_dart_sdk.sh +++ b/bin/internal/update_dart_sdk.sh @@ -169,7 +169,7 @@ if [ ! -f "$ENGINE_STAMP" ] || [ "$ENGINE_VERSION" != `cat "$ENGINE_STAMP"` ]; t >&2 echo >&2 echo "It appears that the downloaded file is corrupt; please try again." >&2 echo "If this problem persists, please report the problem at:" - >&2 echo " https://github.com/flutter/flutter/issues/new?template=1_activation.md" + >&2 echo " https://github.com/flutter/flutter/issues/new?template=1_activation.yml" >&2 echo rm -f -- "$DART_SDK_ZIP" exit 1 diff --git a/dev/bots/analyze.dart b/dev/bots/analyze.dart index cfa3cc4ecc..2323331b95 100644 --- a/dev/bots/analyze.dart +++ b/dev/bots/analyze.dart @@ -1048,7 +1048,7 @@ Future verifyIssueLinks(String workingDirectory) async { Directory(path.join(workingDirectory, '.github', 'ISSUE_TEMPLATE')) .listSync() .whereType() - .where((File file) => path.extension(file.path) == '.md') + .where((File file) => path.extension(file.path) == '.md' || path.extension(file.path) == '.yml') .map((File file) => path.basename(file.path)) .toSet(); final String kTemplates = 'The available templates are:\n${templateNames.map(_bullets).join("\n")}'; diff --git a/packages/flutter_tools/lib/src/cache.dart b/packages/flutter_tools/lib/src/cache.dart index f027848f36..1c31c1b5db 100644 --- a/packages/flutter_tools/lib/src/cache.dart +++ b/packages/flutter_tools/lib/src/cache.dart @@ -1148,7 +1148,7 @@ class ArtifactUpdater { status.pause(); _logger.printWarning( 'Downloading an artifact that may not be reachable in some environments (e.g. firewalled environments): $url\n' - 'This should not have happened. This is likely a Flutter SDK bug. Please file an issue at https://github.com/flutter/flutter/issues/new?template=1_activation.md' + 'This should not have happened. This is likely a Flutter SDK bug. Please file an issue at https://github.com/flutter/flutter/issues/new?template=1_activation.yml' ); status.resume(); }