Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5016b4a

Browse files
committed
Suggested guidelines for minimum requirements for PRs
Some guidelines on what's needed for different kinds of PRs.
1 parent6fcf60f commit5016b4a

File tree

1 file changed

+26
-1
lines changed

1 file changed

+26
-1
lines changed

‎CONTRIBUTING.md‎

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,36 @@ Contributions to this repository will be rigorously policed for quality.
3737

3838
All code submissions should be submitted with regression test cases, and will be subject to peer review by the community and Microsoft. The bar for contributions will be high. This will result in a higher-quality, more stable product.
3939

40+
- We expect contributors to be actively involved in quality assurance.
4041
- We expect contributors to be actively involved in quality assurance.
4142
- We expect contributors to be actively involved in quality assurance.
4243
- Partial, incomplete, or poorly-tested contributions will not be accepted.
4344
- Contributions may be put on hold according to stability, testing, and design-coherence requirements.
4445

46+
####Mimimum Bar for Code Cleanp Pull Requests
47+
48+
In addition to the above, "Code Cleanup" pull requests have the following minimum requirements:
49+
50+
- There must be no chance of a behavioural change, performance degradation or regression under any reasonable reading of the code in the context of the codebase as a whole.
51+
- Code cleanup should generally be made separate to other checkins where possible, or the parts that are cleanup should be labelled as such.
52+
- Code cleanup is much more likely to be accepted towards the start of a release cycle.
53+
54+
####Mimimum Bar for Performance Improvement Pull Requests
55+
56+
Performance improvement checkins have the following minimum requirements (in addition to the above)
57+
58+
- Performance tests and figures must be given, either in the PR or in the notes associated with the PR. PRs without performance figures will be closed with a polite request to please add them.
59+
- The PR must show a reliable, substantive performance improvement tha justifies the complexity introduced (if any). For the compiler, performance improvements of~1% are of interest. For the core library, it will depend on the routine in question. For the Visual F# tools, reactivity of the user interface will be of more interest than raw CPU performance.
60+
61+
####Mimimum Bar for Bug Fix Pull Requests
62+
63+
Bug fix PRs have the following minimum requirements
64+
65+
- There must be a separate tracking bug entry in the public GitHub issues. A link should be given in the PR. PRs without a matching bug link will be closed with a polite request to please add it.
66+
- The code changes must be reasonably minimal and as low-churn, non-intrusive as possible. Cleanup should be done in separate PRs where possible (see above), and fixes should be as small as possible.
67+
- Thorough test cases must be included in the PR (unless tests already exist for a failing case). PRs without matching tests will be closed with a polite request to please add the tests. However, if you need help adding tests, please note this in the description of the change and people will guide you through where to add the tests.
68+
69+
4570
###Language Evolution
4671

4772
We are committed to carefully managing the evolution of the F# language.
@@ -50,4 +75,4 @@ We actively solicit contributions related to the F# language design, but the pro
5075

5176
###Coding guidelines
5277

53-
Although there is currently no strict set of coding or style guidelines, use common sense when contributing code - make an effort to use a similar style to nearby existing code. If you have a passion for helping us develop a set of coding guidelines that we can roll out and apply within this project, get involved and start a discussion issue.
78+
Although there is currently no strict set of coding or style guidelines, use common sense when contributing code - make an effort to use a similar style to nearby existing code. If you have a passion for helping us develop a set of coding guidelines that we can roll out and apply within this project, get involved and start a discussion issue.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp