Unverified Commit e5a382ec authored by Nabeel Parkar's avatar Nabeel Parkar Committed by GitHub

Migrate activation issue template to Github form issues (#119916)

Migrate activation issue template to Github form issues
parent d57dc6d7
---
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: ''
---
<!-- 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. Please read
our guide to filing a bug first: https://flutter.dev/docs/resources/bug-reports
-->
## Steps to Reproduce
<!-- Please tell us exactly how to reproduce the problem you are running into. -->
1. ...
2. ...
3. ...
## Logs
<details>
<summary>Logs</summary>
<!--
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 possible, paste the output of running `flutter doctor -v` here. -->
```
```
</details>
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: |
<details>
<summary>Logs</summary>
```console
<!-- Paste your logs here -->
```
</details>
- type: textarea
attributes:
label: Flutter Doctor output
description: |
Please provide the full output of running `flutter doctor -v`
value: |
<details>
<summary>Doctor output</summary>
```console
<!-- Paste your output here -->
```
</details>
validations:
required: true
......@@ -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
......
......@@ -1048,7 +1048,7 @@ Future<void> verifyIssueLinks(String workingDirectory) async {
Directory(path.join(workingDirectory, '.github', 'ISSUE_TEMPLATE'))
.listSync()
.whereType<File>()
.where((File file) => path.extension(file.path) == '.md')
.where((File file) => path.extension(file.path) == '.md' || path.extension(file.path) == '.yml')
.map<String>((File file) => path.basename(file.path))
.toSet();
final String kTemplates = 'The available templates are:\n${templateNames.map(_bullets).join("\n")}';
......
......@@ -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();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment