Skip to content

Commit 3ece1b1

Browse files
authored
[Doc] create doc (Azure#24578)
* create doc * remove to the folder * remove to the folder
1 parent ad64f60 commit 3ece1b1

File tree

1 file changed

+59
-0
lines changed

1 file changed

+59
-0
lines changed
Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
# Resolve Issues Effectively
2+
3+
Azure Python SDK is an open-source project. It allows users to create issues in the forum to ask questions, report bugs and provide feedback.
4+
5+
Most issues can be classified into 3 categories. They are
6+
7+
1. Usage error.
8+
2. Feature request.
9+
3. Bug report.
10+
11+
## Usage error (For users)
12+
If you are not familiar with the SDK usage of a service, you can find relevant examples in [this repo][sample repo] in most cases.
13+
14+
## Feature Request(For users)
15+
16+
See [here][request_a_feature] for more details.
17+
18+
## Bug Report (For users)
19+
20+
Please describe the bug in as much detail as possible, such as listing the SDK package name, version and operating system info you use.
21+
22+
If you can provide detailed reproduction steps, it will help us locate and solve the issue.
23+
24+
<hr/>
25+
26+
## Resolve issue (For contributors)
27+
28+
Bug report is one of the most common issues reported in open-source community. Basic steps to resolve a bug report are
29+
30+
1. Confirm the bug.
31+
2. Locate the fault.
32+
3. Fix the bug.
33+
34+
### Confirm the Bug
35+
36+
Confirm whether it is a bug. If you can definitely identify it is a bug according description of the issue, then go to next step. Otherwise, try to reproduce the bug by yourself. You can ask the issue reporter for details such as version, concrete steps and logs so that you can understand the issue better and it is more likely to be able to reproduce the bug. It is not rare that it is not a bug. Instead, it is a usage error. Refer to "Usage Error" section.
37+
38+
### Locate the Fault
39+
40+
Fault localization is critical to bug fix. Some tips:
41+
42+
1. Analyzing logs. It helps you understand the bug.
43+
44+
2. Step-by-step debugging. Most modern IDEs provide integrated debugging experience.
45+
46+
47+
### Fix the bug
48+
49+
Once you have confirmed the bug and found the fault location, it should be easy to fix the bug. Add a sample if it is missing. Remember to tell users when the fix will released.
50+
51+
52+
## Common Principles
53+
54+
If the issue is not from the SDK but from the [rest API][rest API], you can reply to the user and reopen the issue in the appropriate place.
55+
56+
57+
[sample repo]: https://github.com/Azure-Samples/azure-samples-python-management
58+
[request_a_feature]: https://github.com/Azure/azure-sdk-for-python/blob/main/doc/dev/how_to_request_a_feature_in_sdk.md
59+
[rest API]: https://github.com/Azure/azure-rest-api-specs

0 commit comments

Comments
 (0)