-
Notifications
You must be signed in to change notification settings - Fork 3.3k
[Doc] create doc #24578
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
Merged
+59
−0
Merged
[Doc] create doc #24578
Changes from 1 commit
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,59 @@ | ||
| # Resolve Issues Effectively | ||
|
|
||
| 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. | ||
|
|
||
| Most issues can be classified into 3 categories. They are | ||
|
|
||
| 1. Usage error. | ||
| 2. Feature request. | ||
| 3. Bug report. | ||
|
|
||
| ## Usage error (For users) | ||
| 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. | ||
|
|
||
| ## Feature Request(For users) | ||
|
|
||
| See [here][request_a_feature] for more details. | ||
|
|
||
| ## Bug Report (For users) | ||
|
|
||
| Please describe the bug in as much detail as possible, such as listing the SDK package name, version and operating system info you use. | ||
|
|
||
| If you can provide detailed reproduction steps, it will help us locate and solve the issue. | ||
|
|
||
| <hr/> | ||
|
|
||
| ## Resolve issue (For contributors) | ||
|
|
||
| Bug report is one of the most common issues reported in open-source community. Basic steps to resolve a bug report are | ||
|
|
||
| 1. Confirm the bug. | ||
| 2. Locate the fault. | ||
| 3. Fix the bug. | ||
|
|
||
| ### Confirm the Bug | ||
|
|
||
| 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. | ||
|
|
||
| ### Locate the Fault | ||
|
|
||
| Fault localization is critical to bug fix. Some tips: | ||
|
|
||
| 1. Analyzing logs. It helps you understand the bug. | ||
|
|
||
| 2. Step-by-step debugging. Most modern IDEs provide integrated debugging experience. | ||
|
|
||
|
|
||
| ### Fix the bug | ||
|
|
||
| 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. | ||
|
|
||
|
|
||
| ## Common Principles | ||
|
|
||
| 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. | ||
|
|
||
|
|
||
| [sample repo]: https://github.com/Azure-Samples/azure-samples-python-management | ||
| [request_a_feature]: https://github.com/Azure/azure-sdk-for-python/blob/main/doc/dev/how_to_request_a_feature_in_sdk.md | ||
| [rest API]: https://github.com/Azure/azure-rest-api-specs | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.