Skip to content

Commit

Permalink
Update issue templates to remove discussions
Browse files Browse the repository at this point in the history
  • Loading branch information
ajcvickers committed Sep 23, 2020
1 parent 095841e commit 86c4b97
Show file tree
Hide file tree
Showing 4 changed files with 96 additions and 25 deletions.
52 changes: 52 additions & 0 deletions .github/ISSUE_TEMPLATE/ask_a_question.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
---
name: Ask a question
about: Ask a question about Entity Framework Core or Microsoft.Data.Sqlite
labels: customer-reported
---

## Please make your question as clear and specific as possible

### Include your code

Usually the best way to ask a clear question and get a quick response is to show your code. Preferably, attach a small, runnable project or post a small, runnable code listing that reproduces what you are seeing.

Use triple-tick code fences for any posted code. For example:

```C#
Console.WriteLine("Hello, World!");
```

### Include stack traces

Include the full exception message and stack trace for any exception you encounter.

Use triple-tick fences for stack traces. For example:

```
Unhandled exception. System.NullReferenceException: Object reference not set to an instance of an object.
at SixFour.Sub() in C:\Stuff\AllTogetherNow\SixFour\SixFour.cs:line 49
at SixFour.Main() in C:\Stuff\AllTogetherNow\SixFour\SixFour.cs:line 54
```

### Include verbose output

Please include verbose output when asking questions about the `dotnet ef` or Package Manager Console tools.

Use triple-tick fences for tool output. For example:

```
C:\Stuff\AllTogetherNow\FiveOh>dotnet ef dbcontext list --verbose
Using project 'C:\Stuff\AllTogetherNow\FiveOh\FiveOh.csproj'.
...
Finding DbContext classes in the project...
Found DbContext 'BlogContext'.
BlogContext
```

### Include provider and version information

EF Core version:
Database provider: (e.g. Microsoft.EntityFrameworkCore.SqlServer)
Target framework: (e.g. .NET Core 3.0)
Operating system:
IDE: (e.g. Visual Studio 2019 16.3)
39 changes: 28 additions & 11 deletions .github/ISSUE_TEMPLATE/bug_report_efcore.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,29 +4,46 @@ about: Create a report about something that isn't working
labels: customer-reported
---

<!-- Describe what isn't working as expected -->
### Include your code

To fix any bug we mus first reproduce it. To make this possible, please attach a small, runnable project or post a small, runnable code listing that reproduces what you are seeing.

It is often impossible for us to reproduce a bug when working with only code snippets since we have to guess at the missing code.

### Steps to reproduce
Use triple-tick code fences for any posted code. For example:

<!--
What steps can we follow to reproduce the issue?
```C#
Console.WriteLine("Hello, World!");
```

We ❤ code! Include a complete code listing or attach a simplified project
### Include stack traces

``` C#
Console.WriteLine("Hello, World!");
Include the full exception message and stack trace for any exception you encounter.

Use triple-tick fences for stack traces. For example:

```
Unhandled exception. System.NullReferenceException: Object reference not set to an instance of an object.
at SixFour.Sub() in C:\Stuff\AllTogetherNow\SixFour\SixFour.cs:line 49
at SixFour.Main() in C:\Stuff\AllTogetherNow\SixFour\SixFour.cs:line 54
```

Got Exceptions? Include both the message and the stack trace
### Include verbose output

For `dotnet ef` and PMC, share the --verbose output
-->
Please include `--verbose` output when filing bugs about the `dotnet ef` or Package Manager Console tools.

Use triple-tick fences for tool output. For example:

```
C:\Stuff\AllTogetherNow\FiveOh>dotnet ef dbcontext list --verbose
Using project 'C:\Stuff\AllTogetherNow\FiveOh\FiveOh.csproj'.
...
Finding DbContext classes in the project...
Found DbContext 'BlogContext'.
BlogContext
```

### Further technical details
### Include provider and version information

EF Core version:
Database provider: (e.g. Microsoft.EntityFrameworkCore.SqlServer)
Expand Down
27 changes: 16 additions & 11 deletions .github/ISSUE_TEMPLATE/bug_report_sqlite.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,28 +4,33 @@ about: Create a report about something that isn't working
labels: area-adonet-sqlite, customer-reported
---

<!-- Describe what isn't working as expected -->
### Include your code

To fix any bug we mus first reproduce it. To make this possible, please attach a small, runnable project or post a small, runnable code listing that reproduces what you are seeing.

It is often impossible for us to reproduce a bug when working with only code snippets since we have to guess at the missing code.

### To Reproduce
Use triple-tick code fences for any posted code. For example:

<!--
What steps can we follow to reproduce the issue?
We ❤ code! Include a complete code listing or attach a simplified project
``` C#
```C#
Console.WriteLine("Hello, World!");
```

Got Exceptions? Include both the message and the stack trace
-->
### Include stack traces

Include the full exception message and stack trace for any exception you encounter.

Use triple-tick fences for stack traces. For example:

```
Unhandled exception. System.NullReferenceException: Object reference not set to an instance of an object.
at SixFour.Sub() in C:\Stuff\AllTogetherNow\SixFour\SixFour.cs:line 49
at SixFour.Main() in C:\Stuff\AllTogetherNow\SixFour\SixFour.cs:line 54
```

### Additional context
### Include version information

Microsoft.Data.Sqlite version:
Target framework: (e.g. .NET Core 3.0)
Operating system:

3 changes: 0 additions & 3 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
blank_issues_enabled: true
contact_links:
- name: Got a question?
url: https://github.com/dotnet/efcore/discussions/new
about: Please use discussions to ask a question about using the product.
- name: Issue with ASP.NET Core
url: https://github.com/dotnet/aspnetcore/issues/new/choose
about: Please open issues relating to ASP.NET Core in dotnet/aspnetcore.
Expand Down

0 comments on commit 86c4b97

Please sign in to comment.