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: .github/policies/msgraph-sdk-dotnet-core-branch-protection.yml
+2-37Lines changed: 2 additions & 37 deletions
Original file line number
Diff line number
Diff line change
@@ -9,44 +9,9 @@ resource: repository
9
9
configuration:
10
10
branchProtectionRules:
11
11
12
-
- branchNamePattern: dev
12
+
- branchNamePattern: main
13
13
# This branch pattern applies to the following branches:
14
-
# dev
15
-
16
-
# Specifies whether this branch can be deleted. boolean
17
-
allowsDeletions: false
18
-
# Specifies whether forced pushes are allowed on this branch. boolean
19
-
allowsForcePushes: false
20
-
# Specifies whether new commits pushed to the matching branches dismiss pull request review approvals. boolean
21
-
dismissStaleReviews: true
22
-
# Specifies whether admins can overwrite branch protection. boolean
23
-
isAdminEnforced: false
24
-
# Indicates whether "Require a pull request before merging" is enabled. boolean
25
-
requiresPullRequestBeforeMerging: true
26
-
# Specifies the number of pull request reviews before merging. int (0-6). Should be null/empty if PRs are not required
27
-
requiredApprovingReviewsCount: 1
28
-
# Require review from Code Owners. Requires requiredApprovingReviewsCount. boolean
29
-
requireCodeOwnersReview: true
30
-
# Are commits required to be signed. boolean. TODO: all contributors must have commit signing on local machines.
31
-
requiresCommitSignatures: false
32
-
# Are conversations required to be resolved before merging? boolean
33
-
requiresConversationResolution: true
34
-
# Are merge commits prohibited from being pushed to this branch. boolean
35
-
requiresLinearHistory: false
36
-
# Required status checks to pass before merging. Values can be any string, but if the value does not correspond to any existing status check, the status check will be stuck on pending for status since nothing exists to push an actual status
37
-
requiredStatusChecks:
38
-
- Build and Test # Contains CodeQL
39
-
- license/cla
40
-
# Require branches to be up to date before merging. boolean
41
-
requiresStrictStatusChecks: true
42
-
# Indicates whether there are restrictions on who can push. boolean. Should be set with whoCanPush.
43
-
restrictsPushes: false
44
-
# Restrict who can dismiss pull request reviews. boolean
45
-
restrictsReviewDismissals: false
46
-
47
-
- branchNamePattern: master
48
-
# This branch pattern applies to the following branches:
49
-
# master
14
+
# main
50
15
51
16
# Specifies whether this branch can be deleted. boolean
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+1-20Lines changed: 1 addition & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,9 +9,7 @@ There are a few different recommended paths to get contributions into the releas
9
9
The best way to get started with a contribution is to start a dialog with us. Sometimes features will be under development or out of scope for this library and it's best to check before starting work on contribution, especially for large work items.
10
10
11
11
## Pull requests
12
-
All pull requests should be submitted against the **dev** branch or a specific feature branch. The master branch is intended to represent the code released in the most-recent Nuget package.
13
-
14
-
When a new package is about to be released, changes in dev will be merged into master. The package will be generated from master.
12
+
All pull requests should be submitted against the **main** branch or a specific feature branch. The **main** branch is intended to represent the code released in the most-recent Nuget package.
15
13
16
14
Some things to note about this project:
17
15
@@ -44,20 +42,3 @@ The recommended commit types used are:
44
42
-**chore** for miscallaneous non-sdk changesin the repo e.g. removing an unused file
45
43
46
44
Adding a footer with the prefix **BREAKING CHANGE:** will cause an increment of the _major_ version.
47
-
48
-
### How the library is built
49
-
The .Net client library has a handwritten set of core files and two folders of generated models and request builders. These models and request builders are generated using the [MSGraph SDK Code Generator](https://github.com/microsoftgraph/MSGraph-SDK-Code-Generator). **Changes made to the ```Models``` and ```Requests``` folders will be overwritten** the next time the generator is run.
50
-
51
-
### How the generator works
52
-
You can view the [README](https://github.com/microsoftgraph/MSGraph-SDK-Code-Generator/blob/master/README.md) for a full run-through of its capabilities.
53
-
54
-
For the purposes of the .Net client library, the generator runs through an OData-compliant metadata file published by Microsoft Graph (https://graph.microsoft.com/v1.0/$metadata) and builds up an in-memory list of models. These models are converted into C# code files using T4 templates.
55
-
56
-
### When new features are added to the library
57
-
Generation happens as part of a manual process that occurs once a significant change or set of changes has been added to the Graph. This may include:
58
-
- A new workload comes to v1.0 of Graph (Microsoft Teams, Batching, etc.)
59
-
- There is significant addition of functionality (Delta Queries, etc.)
60
-
61
-
However, this is evaluated on a case-by-case basis. If the library is missing v1.0 Graph functionality that you wish to utilize, please [file an issue](https://github.com/microsoftgraph/msgraph-sdk-dotnet/issues).
62
-
63
-
We do our best to prevent breaking changes from being introduced into the library during this process. If you find a breaking change, please file an issue and we will work to get this resolved ASAP.
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -98,4 +98,4 @@ If you are looking to build the library locally for the purposes of contributing
98
98
99
99
## License
100
100
101
-
Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT [license](LICENSE.txt). See [Third Party Notices](https://github.com/microsoftgraph/msgraph-sdk-dotnet-core/blob/master/THIRD%20PARTY%20NOTICES) for information on the packages referenced via NuGet.
101
+
Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT [license](LICENSE.txt). See [Third Party Notices](https://github.com/microsoftgraph/msgraph-sdk-dotnet-core/blob/main/THIRD%20PARTY%20NOTICES) for information on the packages referenced via NuGet.
Copy file name to clipboardExpand all lines: docs/contributions.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,18 +11,18 @@ The best way to get started with a contribution is to start a dialog with the ow
11
11
12
12
## Pull requests
13
13
14
-
If you are making documentation changes, feel free to submit a pull request against the **master** branch. All other pull requests should be submitted against the **dev** branch or a specific **feature** branch. The **master** branch is intended to represent the code released in the most-recent Nuget package.
14
+
If you are making documentation changes, feel free to submit a pull request against the **main** branch. Other pull requests could be submitted against a specific **feature** branch.
15
15
16
-
When a new package is about to be released, changes in **dev** will be merged into **master**. The package will be generated from **master**.
16
+
The package will be generated from **main**.
17
17
18
18
## Submit pull requests for trivial changes
19
19
20
-
If you are making a change that does not affect the interface components and does not affect other downstream callers, feel free to make a pull request against the **dev** branch.
20
+
If you are making a change that does not affect the interface components and does not affect other downstream callers, feel free to make a pull request against the **main** branch.
21
21
22
22
Revisions of this nature will result in a 0.0.X change of the version number.
23
23
24
24
## Submit pull requests for features
25
25
26
-
If major functionality is being added it should be submitted against the **dev** branch. If the functionality will require multiple changes or iterations before it is ready for **dev**, feel free to submit pull requests into a dedicated **feature** branch until the whole change is ready.
26
+
If major functionality is being added it should be submitted against the **main** branch. If the functionality will require multiple changes or iterations before it is ready for **main**, feel free to submit pull requests into a dedicated **feature** branch until the whole change is ready.
27
27
28
28
Revisions of this nature will result in a 0.X.X change of the version number.
0 commit comments