Skip to content

Commit

Permalink
Merged PR 34030: [frameshift/7.0] merge internal/release/7.0 into int…
Browse files Browse the repository at this point in the history
…ernal/release/frameshift/7.0

The frameshift branch was based off the 6.0 branding commit. This commit was upmerged into the 7.0 release branch and the branch got it's history instead of the merged history.

This PR just merges the 7.0 branch on top of that history
  • Loading branch information
vseanreesermsft committed Sep 28, 2023
2 parents 50a6896 + f16e454 commit c20ecc7
Show file tree
Hide file tree
Showing 4,343 changed files with 967,166 additions and 774,133 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
8 changes: 0 additions & 8 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -232,14 +232,6 @@ dotnet_naming_rule.const_field_naming.symbols = const_field_symbol
dotnet_naming_rule.const_field_naming.style = pascal_case_style
dotnet_naming_rule.const_field_naming.severity = suggestion

# Private Fields
dotnet_naming_symbols.private_field_symbol.applicable_kinds = field
dotnet_naming_symbols.private_field_symbol.applicable_accessibilities = private

dotnet_naming_rule.private_field_naming.symbols = private_field_symbol
dotnet_naming_rule.private_field_naming.style = _camelCase
dotnet_naming_rule.private_field_naming.severity = suggestion

# Parameters
dotnet_naming_symbols.parameter_symbol.applicable_kinds = parameter
dotnet_naming_symbols.parameter_symbol.applicable_accessibilities = *
Expand Down
1 change: 1 addition & 0 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ The typical workflow for contributing to EF Core is outlined below. This is not
* Make appropriate code and test changes. Follow the patterns and code style that you see in the existing code. Make sure to add tests that fail without the change and then pass with the change.
* Consider other scenarios where your change may have an impact and add more testing. We always prefer having too many tests to having not enough of them.
* When you are done with changes, make sure _all_ existing tests are still passing. (Again, typically by running `test` at a command prompt.)
* EF Core tests contain many "SQL assertions" - these verify that the precise expected SQL is generated for all scenarios. Some changes can cause SQL alterations to ripple across many scenarios, and changing all expected SQL in assertions is quite laborious. If you set the `EF_TEST_REWRITE_BASELINES` environment variable to `1` and then run the tests, the SQL assertions in the source code will be automatically changed to contain the new SQL baselines.
* Commit changes to your branch and push the branch to your GitHub fork.
* Go to the main [EF Core repo](https://github.com/dotnet/efcore/pulls) and you should see a yellow box suggesting you create a PR from your fork. Do this, or [create the PR by some other mechanism](https://docs.github.com/en/github/collaborating-with-issues-and-pull-requests/about-pull-requests).
* Sign the [contributor license agreement](https://cla.dotnetfoundation.org/) if you have not already done so.
Expand Down
10 changes: 7 additions & 3 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
version: 2
registries:
nuget.org:
type: nuget-feed
url: https://api.nuget.org/v3/index.json
updates:
- package-ecosystem: nuget
directory: /
Expand All @@ -11,8 +15,10 @@ updates:
- dependency-name: Microsoft.AspNetCore.OData
- dependency-name: Microsoft.Azure.Cosmos
- dependency-name: Microsoft.CSharp
- dependency-name: Microsoft.Data.SqlClient
- dependency-name: Microsoft.DotNet.PlatformAbstractions
- dependency-name: mod_spatialite
- dependency-name: Mono.TextTemplating
- dependency-name: NetTopologySuite*
- dependency-name: Newtonsoft.Json
- dependency-name: SQLitePCLRaw*
Expand All @@ -21,12 +27,10 @@ updates:
- dependency-name: Microsoft.CodeAnalysis.CSharp*
# New analyzer rules would need to be disabled
- dependency-name: DotNetAnalyzers.DocumentationAnalyzers
- dependency-name: Microsoft.CodeAnalysis.FxCopAnalyzers
- dependency-name: StyleCop.Analyzers
# Testing infrastructure should be intentionally updated
- dependency-name: BenchmarkDotNet
# Need to stay on LTS for 6.0
- dependency-name: Microsoft.Data.SqlClient
labels:
- area-infrastructure
- 'type-dependency update :arrow_up_small:'
registries: '*'
165 changes: 165 additions & 0 deletions .github/fabricbot.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,165 @@
{
"version": "1.0",
"tasks": [
{
"taskType": "trigger",
"capabilityId": "AutoMerge",
"subCapability": "AutoMerge",
"version": "1.0",
"id": "5F9qlkCNy",
"config": {
"taskName": "Auto-merge PRs",
"label": "auto-merge",
"minMinutesOpen": "",
"mergeType": "squash",
"deleteBranches": true,
"removeLabelOnPush": true,
"requireAllStatuses": true,
"conditionalMergeTypes": [
{
"mergeType": "merge",
"condition": {
"placeholder": "labels",
"operator": "contains",
"label_name": "type-merge forward :fast_forward:"
}
}
],
"requireAllStatuses_exemptList": [
"dependabot",
"codecov",
"DotNet Maestro - Int",
"Dotnet maestro",
"msftbot"
],
"minimumNumberOfStatuses": 0
}
},
{
"taskType": "trigger",
"capabilityId": "IssueResponder",
"subCapability": "PullRequestResponder",
"version": "1.0",
"config": {
"conditions": {
"operator": "and",
"operands": [
{
"name": "isAction",
"parameters": {
"action": "opened"
}
},
{
"name": "isActivitySender",
"parameters": {
"user": "dotnet-maestro[bot]",
"association": "CONTRIBUTOR"
}
},
{
"name": "titleContains",
"parameters": {
"titlePattern": "Update dependencies"
}
}
]
},
"eventType": "pull_request",
"eventNames": [
"pull_request",
"issues",
"project_card"
],
"taskName": "[Infrastructure PRs] Add area-infrastructure label to dependency update Pull Requests",
"actions": [
{
"name": "addLabel",
"parameters": {
"label": "area-infrastructure"
}
},
{
"name": "addLabel",
"parameters": {
"label": "type-dependency update :arrow_up_small:"
}
},
{
"name": "approvePullRequest",
"parameters": {
"comment": "Auto-approving dependency update."
}
}
]
},
"id": "2khUSIqMEcJ"
},
{
"taskType": "trigger",
"capabilityId": "IssueResponder",
"subCapability": "PullRequestResponder",
"version": "1.0",
"config": {
"conditions": {
"operator": "and",
"operands": [
{
"name": "isAction",
"parameters": {
"action": "opened"
}
},
{
"name": "isActivitySender",
"parameters": {
"user": "dotnet-maestro-bot"
}
},
{
"name": "titleContains",
"parameters": {
"titlePattern": "Merge branch"
}
}
]
},
"eventType": "pull_request",
"eventNames": [
"pull_request",
"issues",
"project_card"
],
"taskName": "[Infrastructure PRs] Add area-infrastructure label to auto-merge Pull Requests",
"actions": [
{
"name": "addLabel",
"parameters": {
"label": "area-infrastructure"
}
},
{
"name": "addLabel",
"parameters": {
"label": "type-merge forward :fast_forward:"
}
},
{
"name": "approvePullRequest",
"parameters": {
"comment": "Auto-approving branch merge."
}
},
{
"name": "addLabel",
"parameters": {
"label": "auto-merge"
}
}
]
},
"id": "T7d3xzteS9I"
}
],
"userGroups": []
}
18 changes: 16 additions & 2 deletions .github/workflows/TestCosmos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ on:
- feature/*
- release/*

permissions: {}

jobs:
build:
runs-on: windows-latest
Expand All @@ -15,7 +17,7 @@ jobs:
- name: Start Cosmos Emulator
run: |
Import-Module "$env:ProgramFiles\Azure Cosmos DB Emulator\PSModules\Microsoft.Azure.CosmosDB.Emulator"
Start-CosmosDbEmulator
Start-CosmosDbEmulator -Timeout 360
- name: Checkout
uses: actions/checkout@v2
Expand All @@ -24,5 +26,17 @@ jobs:
run: restore.cmd
shell: cmd

- name: Build
run: build.cmd /p:Projects=${{ github.workspace }}\test\EFCore.Cosmos.FunctionalTests\EFCore.Cosmos.FunctionalTests.csproj
shell: cmd

- name: Test on Cosmos
run: .dotnet\dotnet test test\EFCore.Cosmos.FunctionalTests
run: test.cmd /p:Projects=${{ github.workspace }}\test\EFCore.Cosmos.FunctionalTests\EFCore.Cosmos.FunctionalTests.csproj
shell: cmd

- name: Publish Test Results
uses: actions/upload-artifact@v3
if: always()
with:
name: test-results
path: artifacts/TestResults/Debug/*
15 changes: 15 additions & 0 deletions All.sln
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
Directory.Build.props = Directory.Build.props
Directory.Build.targets = Directory.Build.targets
tools\Resources.tt = tools\Resources.tt
eng\Versions.props = eng\Versions.props
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{CE6B50B2-34AE-44C9-940A-4E48C3E1B3BC}"
Expand Down Expand Up @@ -120,6 +121,10 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "EFCore.AspNet.Sqlite.Functi
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "EFCore.AspNet.InMemory.FunctionalTests", "test\EFCore.AspNet.InMemory.FunctionalTests\EFCore.AspNet.InMemory.FunctionalTests.csproj", "{F1B2E5A0-8C74-414A-B262-353FEE325E9F}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "EFCore.Trimming.Tests", "test\EFCore.Trimming.Tests\EFCore.Trimming.Tests.csproj", "{933C8662-817C-4F45-B98B-6557E28F7BB1}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "EFCore.Templates", "src\EFCore.Templates\EFCore.Templates.csproj", "{1FE385D8-8F8B-4EC9-A1A9-AFCC38B8546C}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand Down Expand Up @@ -318,6 +323,14 @@ Global
{F1B2E5A0-8C74-414A-B262-353FEE325E9F}.Debug|Any CPU.Build.0 = Debug|Any CPU
{F1B2E5A0-8C74-414A-B262-353FEE325E9F}.Release|Any CPU.ActiveCfg = Release|Any CPU
{F1B2E5A0-8C74-414A-B262-353FEE325E9F}.Release|Any CPU.Build.0 = Release|Any CPU
{933C8662-817C-4F45-B98B-6557E28F7BB1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{933C8662-817C-4F45-B98B-6557E28F7BB1}.Debug|Any CPU.Build.0 = Debug|Any CPU
{933C8662-817C-4F45-B98B-6557E28F7BB1}.Release|Any CPU.ActiveCfg = Release|Any CPU
{933C8662-817C-4F45-B98B-6557E28F7BB1}.Release|Any CPU.Build.0 = Release|Any CPU
{1FE385D8-8F8B-4EC9-A1A9-AFCC38B8546C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{1FE385D8-8F8B-4EC9-A1A9-AFCC38B8546C}.Debug|Any CPU.Build.0 = Debug|Any CPU
{1FE385D8-8F8B-4EC9-A1A9-AFCC38B8546C}.Release|Any CPU.ActiveCfg = Release|Any CPU
{1FE385D8-8F8B-4EC9-A1A9-AFCC38B8546C}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down Expand Up @@ -371,6 +384,8 @@ Global
{F956A344-5C8D-4015-A3BF-7A8304C58BE4} = {258D5057-81B9-40EC-A872-D21E27452749}
{CC93C465-F5AC-4CB9-A064-3675955962F4} = {258D5057-81B9-40EC-A872-D21E27452749}
{F1B2E5A0-8C74-414A-B262-353FEE325E9F} = {258D5057-81B9-40EC-A872-D21E27452749}
{933C8662-817C-4F45-B98B-6557E28F7BB1} = {258D5057-81B9-40EC-A872-D21E27452749}
{1FE385D8-8F8B-4EC9-A1A9-AFCC38B8546C} = {CE6B50B2-34AE-44C9-940A-4E48C3E1B3BC}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {285A5EB4-BCF4-40EB-B9E1-DF6DBCB5E705}
Expand Down
Loading

0 comments on commit c20ecc7

Please sign in to comment.