You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+14-11
Original file line number
Diff line number
Diff line change
@@ -7,13 +7,14 @@ General contribution guidance is included in this document. Additional guidance
7
7
8
8
## Up for Grabs
9
9
10
-
The team marks the most straightforward issues as "up for grabs". This set of issues is the place to start if you are interested in contributing but new to the codebase.
10
+
The team marks the most straightforward issues as "up for grabs" and issues that are well suited to get you started as "Good first issue". This set of issues is the place to start if you are interested in contributing but new to the codebase.
11
11
12
-
-[dotnet/sqlclient - "up for grabs"](https://github.com/dotnet/sqlclient/labels/Up-for-Grabs)
-[dotnet/sqlclient - :sparkles: Good first issue](https://github.com/dotnet/sqlclient/labels/%3Asparkles%3A%20Good%20first%20issue)
13
14
14
15
## Contribution "Bar"
15
16
16
-
Project maintainers will merge changes that improve the product significantly and broadly and that align with the [Microsoft.Data.SqlClient roadmap](https://github.com/dotnet/sqlclient/blob/master/roadmap.md).
17
+
Project maintainers will merge changes that improve the product significantly and broadly and that align with the [Microsoft.Data.SqlClient roadmap](roadmap.md).
17
18
18
19
Contributions must also satisfy the other published guidelines defined in this document.
19
20
@@ -42,19 +43,21 @@ Please do not:
42
43
43
44
## Using Labels
44
45
45
-
We encourage adding appropriate labels to issues and pull requests to allow filtering and analysis effectively. The below variables are required for new Pull Requests if applicable:
46
+
As adding labels [is not possible](https://stackoverflow.com/questions/13829466/how-to-put-a-label-on-an-issue-in-github-if-you-are-not-a-contributor-owner/13829505#13829505) for contributors, please comment in the issue and pull request on what labels should be added.
47
+
The below variables are required for new Pull Requests if applicable:
46
48
47
49
| Label | Description |
48
50
| ----- | ----------- |
49
-
| [Public API](https://github.com/dotnet/SqlClient/labels/Public%20API) | Use this variable if a new Public API is added to the Pull Request.
50
-
|[Breaking Change](https://github.com/dotnet/SqlClient/labels/Breaking%20Change)| Use this variable if the Pull Request breaks an existing API. |
51
-
|[Backport to CoreFx](https://github.com/dotnet/SqlClient/labels/Backport%20to%20CoreFx)| Use this variable if the Issue/Pull Request needs to be backported to System.Data.SqlClient in [dotnet/corefx](https://github.com/dotnet/corefx)|
52
-
|[Managed SNI](https://github.com/dotnet/SqlClient/labels/Managed%20SNI)| Use this label if the issue/PR relates to issues in Managed SNI |
53
-
|[Tests](https://github.com/dotnet/SqlClient/labels/Tests)| Use this label for pull requests that add only tests to the repository. |
51
+
| [:new: Public API](https://github.com/dotnet/SqlClient/labels/%3Anew%3A%20Public%20API) | Use this variable if a new Public API is added to the Pull Request.
52
+
|[:hammer: Breaking Change](https://github.com/dotnet/SqlClient/labels/%3Ahammer%3A%20Breaking%20Change)| Use this variable if the Pull Request breaks an existing API. |
53
+
|[Area\Managed SNI](https://github.com/dotnet/SqlClient/labels/Area%5cManaged%20SNI)| Use this label if the issue/PR relates to issues in Managed SNI |
54
+
|[Area\Tests](https://github.com/dotnet/SqlClient/labels/Area%5cTests)| Use this label for pull requests that add only tests to the repository. |
55
+
56
+
You can find all possible labels [here](https://github.com/dotnet/SqlClient/labels)
54
57
55
58
## Reporting security issues and security bugs
56
59
57
-
Security issues and bugs should be reported privately, via email, to the Microsoft Security Response Center (MSRC) [[email protected]](mailto:[email protected]). You should receive a response within 24 hours. If for some reason you do not, please follow up via email to ensure we received your original message. Further information, including the MSRC PGP key, can be found in the [Security TechCenter](https://technet.microsoft.com/en-us/security/ff852094.aspx).
60
+
Security issues and bugs should be reported privately, via email, to the Microsoft Security Response Center (MSRC) [[email protected]](mailto:[email protected]). You should receive a response within 24 hours. If for some reason you do not, please follow up via email to ensure we received your original message. Further information, including the MSRC PGP key, can be found in the [MSRC FAQ](https://www.microsoft.com/en-us/msrc/faqs-report-an-issue?rtc=1&oneroute=true).
58
61
59
62
## File Headers
60
63
@@ -70,7 +73,7 @@ The following file header is used for Microsoft.Data.SqlClient. Please use it fo
70
73
71
74
You must sign a [.NET Foundation Contribution License Agreement (CLA)](https://cla.dotnetfoundation.org) before your PR will be merged. This is a one-time requirement for projects in the .NET Foundation. You can read more about [Contribution License Agreements (CLA)](http://en.wikipedia.org/wiki/Contributor_License_Agreement) on Wikipedia.
72
75
73
-
The agreement: [net-foundation-contribution-license-agreement.pdf](https://github.com/dotnet/home/blob/master/guidance/net-foundation-contribution-license-agreement.pdf)
76
+
The agreement: [contribution-license-agreement.pdf](https://cla.dotnetfoundation.org)
74
77
75
78
You don't have to do this up-front. You can simply clone, fork, and submit your pull-request as usual. When your pull-request is created, it is classified by a CLA bot. If the change is trivial (for example, you just fixed a typo), then the PR is labelled with `cla-not-required`. Otherwise it's classified as `cla-required`. Once you signed a CLA, the current and all future pull-requests will be labelled as `cla-signed`.
Copy file name to clipboardExpand all lines: COPYRIGHT.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -6,4 +6,4 @@
6
6
7
7
## Binary License
8
8
9
-
-**Microsoft.Data.SqlClient** binary distributions (nuget packages) are licensed as MIT (identical to the [Microsoft.Data.SqlClient source license](https://github.com/dotnet/sqlclient/blob/master/LICENSE)).
9
+
-**Microsoft.Data.SqlClient** binary distributions (NuGet packages) are licensed as MIT (identical to the [Microsoft.Data.SqlClient source license](LICENSE)).
@@ -108,7 +108,7 @@ Microsoft follows the principle of [Coordinated Vulnerability Disclosure](https:
108
108
109
109
## License
110
110
111
-
The Microsoft.Data.SqlClient Driver for SQL Server is licensed under the MIT license. See the [LICENSE](https://github.com/dotnet/SqlClient/blob/master/LICENSE) file for more details.
111
+
The Microsoft.Data.SqlClient Driver for SQL Server is licensed under the MIT license. See the [LICENSE](LICENSE) file for more details.
Copy file name to clipboardExpand all lines: contributing-workflow.md
+8-68
Original file line number
Diff line number
Diff line change
@@ -10,30 +10,31 @@ We use and recommend the following workflow:
10
10
- You can skip this step for trivial changes.
11
11
- Reuse an existing issue on the topic, if there is one.
12
12
- Get agreement from the team and the community that your proposed change is a good one.
13
-
- If your requested change needs a new public API, add a Label "**Public API**" to your issue.
14
-
- If your requested change address performance improvement in the driver, add a Label "**Performance**" to your issue.
15
-
- For any other improvements in the driver, add a Label "**Enhancement**" to your issue.
13
+
- Suggest [Labels](CONTRIBUTING.md#using-labels) to add for your issue.
16
14
- Clearly state that you are going to take on implementing it, if that's the case. You can request that the issue be assigned to you. Note: The issue filer and the implementer don't have to be the same person.
17
15
2. Create a personal fork of the repository on GitHub (if you don't already have one).
18
-
3. Create a branch off of master (`git checkout -b mybranch`).
16
+
3. Create a branch off of main (`git checkout -b mybranch`).
19
17
- Name the branch so that it clearly communicates your intentions, such as issue-123 or githubhandle-issue.
20
18
- Branches are useful since they isolate your changes from incoming changes from upstream. They also enable you to create multiple PRs from the same fork.
5. Add new tests corresponding to your change, if nor present and applicable.
24
22
6. Build the repository with your changes.
25
23
- Make sure that the builds are clean.
26
24
- Make sure that the tests are all passing, including your new tests.
27
-
7. Create a pull request (PR) against the upstream repository's **master** branch.
25
+
7. Create a pull request (PR) against the upstream repository's **main** branch.
28
26
- Push your changes to your fork on GitHub (if you haven't already).
27
+
- Create a PR to the **main** branch
28
+
- Describe the changes that you have done in the PR
29
+
- Suggest [Labels](CONTRIBUTING.md#using-labels) to add to the PR in the description
29
30
30
31
> Note: It is OK for your PR to include a large number of commits. Once your change is accepted, you will be asked to squash your commits into one or some appropriately small number of commits before your PR is merged.
31
32
32
33
> Note: It is OK to create your PR as "[WIP]" on the upstream repo before the implementation is done. This can be useful if you'd like to start the feedback process concurrent with your implementation. State that this is the case in the initial PR comment.
33
34
34
35
## PR - CI Process
35
36
36
-
The [SqlClient Continuous Integration](https://dev.azure.com/sqlclientdrivers-ci/sqlclient/) (CI) system will automatically perform the required builds and run tests (including the ones you are expected to run) for PRs. Builds and test runs must be clean.
37
+
The [SqlClient Continuous Integration](https://dev.azure.com/sqlclientdrivers/public/_build) (CI) system will automatically perform the required builds and run tests (including the ones you are expected to run) for PRs. Builds and test runs must be clean.
37
38
38
39
If the CI build fails for any reason, the PR issue will be updated with a link that can be used to determine the cause of the failure.
39
40
@@ -50,64 +51,3 @@ Use ["Squash and Merge"](https://github.com/blog/2141-squash-your-commits) by de
50
51
Do so, even if the PR contains only one commit. It creates a simpler history than "Create a Merge Commit". Reasons that PR authors may request "Merge and Commit" may include (but are not limited to):
51
52
- The change is easier to understand as a series of focused commits. Each commit in the series must be buildable so as not to break `git bisect`.
52
53
- Contributor is using an e-mail address other than the primary GitHub address and wants that preserved in the history. Contributor must be willing to squash the commits manually before acceptance.
53
-
54
-
## PR Verification and Validation
55
-
56
-
For testing PR changes and ensure they work fine, we maintain a public feed that lists NuGet Packages built with merged commits.
57
-
58
-
**Link to Public Feed:**[Microsoft.Data.SqlClient.Commits](https://pkgs.dev.azure.com/sqlclientdrivers-ci/sqlclient/_packaging/Microsoft.Data.SqlClient.Commits/nuget/v3/index.json)
Maintainers of [dotnet/sqlclient](https://github.com/dotnet/SqlClient) manually push NuGet Packages to this feed after the PR is merged to the `master` branch and a commit ID has been generated on `master`.
79
-
80
-
Not every commit is built and published on the public CI feed, but only the commits that make considerable difference to the driver will be uploaded in this feed.
81
-
82
-
The label **Push to Commit Feed** will be added to the Pull Request if it is pushed to the feed.
83
-
84
-
### Downloading Packages
85
-
86
-
The package naming conventions follow SemVer 2.0.0 and also provide changeset information to ensure the right PR changes are being downloaded for testing:
87
-
88
-
Package names will be like: `Microsoft.Data.SqlClient.1.1.0-build.19250.1-c21aa7c.nupkg`
89
-
90
-
Breaking down:
91
-
-`1.1.0-build` - Identifier for currently active driver version in Build.
92
-
-`19250.1` - Unique identifier to keep latest PRs on top of the feed.
93
-
-`c21aa7c` - Short Commit Id to identify merged commit in `master`.
94
-
95
-
> Note: This public feed is only for testing and validating new PR changes. Packages from feed will be eventually removed when the maximum NuGet Package limit of **50** is reached. We do not recommend using packages from this feed in client applications.
96
-
97
-
## Nightly builds
98
-
99
-
We also maintain NuGet feed for Nightly builds that are generated when new changes are merged in the repository. To access Nightly builds, add below configuration to package sources:
Copy file name to clipboardExpand all lines: roadmap.md
+2-13
Original file line number
Diff line number
Diff line change
@@ -4,26 +4,15 @@ The Microsoft.Data.SqlClient roadmap communicates project priorities for evolvin
4
4
5
5
## Released Versions
6
6
7
-
-[Release Notes](https://github.com/dotnet/sqlclient/blob/master/release-notes/README.md) - For detailed release notes summarizing of all changes/features released.
7
+
-[Release Notes](release-notes/README.md) - For detailed release notes summarizing of all changes/features released.
8
8
-[GitHub Releases](https://github.com/dotnet/sqlclient/releases) - For downloading NuGet Packages and identifying driver releases with changelog notes.
| Microsoft.Data.SqlClient v1.1 (servicing) | As needed (see also [1.1 releases](https://github.com/dotnet/sqlclient/blob/master/release-notes/1.1)) | Closed |
15
-
| Microsoft.Data.SqlClient v2.1 (servicing) | As needed (see also [2.1 releases](https://github.com/dotnet/sqlclient/blob/master/release-notes/2.1)) | Closed |
16
-
| Microsoft.Data.SqlClient v3.0 (servicing) | As needed (see also [3.0 releases](https://github.com/dotnet/sqlclient/blob/master/release-notes/3.0)) | Closed |
17
-
| Microsoft.Data.SqlClient v4.0 (servicing) | As needed (see also [4.0 releases](https://github.com/dotnet/sqlclient/blob/master/release-notes/4.0)) | Closed |
18
-
| Microsoft.Data.SqlClient v4.1 (servicing) | As needed (see also [4.1 releases](https://github.com/dotnet/sqlclient/blob/master/release-notes/4.1)) | Closed |
19
-
| Microsoft.Data.SqlClient v5.0 | GA (General Availability) estimated for May 2022 | [SqlClient 5.0.0](https://github.com/dotnet/SqlClient/projects/9)
20
-
21
-
> Note: Dates are calendar year (as opposed to fiscal year).
12
+
For upcoming release dates, see [SqlClient milestones](https://github.com/dotnet/SqlClient/milestones).
22
13
23
14
[SqlClient Projects](https://github.com/dotnet/SqlClient/projects) are used by our development team to define roadmap of prioritized work. SqlClient Boards contain issues, pull requests, and other features, development activities that are categorized as cards. Our goal is to be transparent over priorities, work in progress and deliverables.
24
15
25
-
Milestone information is also available for GitHub Issues and Pull Requests [dotnet/sqlclient milestones](https://github.com/dotnet/sqlclient/milestones).
26
-
27
16
## Feedback
28
17
29
18
The best way to give feedback is to create issues in the [dotnet/sqlclient](https://github.com/dotnet/sqlclient) repo.
0 commit comments