-
-
Notifications
You must be signed in to change notification settings - Fork 804
Add .gitattributes file and remove CRLFs from repository
#9172
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
+574
−560
Merged
Changes from all commits
Commits
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
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,11 @@ | ||
| # Normalize to LF on commit; checkout follows local Git config | ||
| * text=auto | ||
|
|
||
| # Scripts with interpreter lines must have LF | ||
| *.sh text eol=lf | ||
| *.bash text eol=lf | ||
|
|
||
| # Windows scripts | ||
| *.bat text eol=crlf | ||
| *.cmd text eol=crlf | ||
| *.ps1 text eol=crlf | ||
glen-84 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
62 changes: 31 additions & 31 deletions
62
...yFramework.Tests/__snapshots__/PagingHelperTests.Fetch_First_2_Items_Between.md
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 |
|---|---|---|
| @@ -1,36 +1,36 @@ | ||
| # Fetch_First_2_Items_Between | ||
|
|
||
| ```json | ||
| [ | ||
| { | ||
| "Id": 2, | ||
| "Name": "Product 0-1", | ||
| "Description": null, | ||
| "Price": 0.0, | ||
| "ImageFileName": null, | ||
| "TypeId": 1, | ||
| "Type": null, | ||
| "BrandId": 1, | ||
| "Brand": null, | ||
| "AvailableStock": 0, | ||
| "RestockThreshold": 0, | ||
| "MaxStockThreshold": 0, | ||
| "OnReorder": false | ||
| }, | ||
| { | ||
| "Id": 11, | ||
| "Name": "Product 0-10", | ||
| "Description": null, | ||
| "Price": 0.0, | ||
| "ImageFileName": null, | ||
| "TypeId": 1, | ||
| "Type": null, | ||
| "BrandId": 1, | ||
| "Brand": null, | ||
| "AvailableStock": 0, | ||
| "RestockThreshold": 0, | ||
| "MaxStockThreshold": 0, | ||
| "OnReorder": false | ||
| } | ||
| [ | ||
| { | ||
| "Id": 2, | ||
| "Name": "Product 0-1", | ||
| "Description": null, | ||
| "Price": 0.0, | ||
| "ImageFileName": null, | ||
| "TypeId": 1, | ||
| "Type": null, | ||
| "BrandId": 1, | ||
| "Brand": null, | ||
| "AvailableStock": 0, | ||
| "RestockThreshold": 0, | ||
| "MaxStockThreshold": 0, | ||
| "OnReorder": false | ||
| }, | ||
| { | ||
| "Id": 11, | ||
| "Name": "Product 0-10", | ||
| "Description": null, | ||
| "Price": 0.0, | ||
| "ImageFileName": null, | ||
| "TypeId": 1, | ||
| "Type": null, | ||
| "BrandId": 1, | ||
| "Brand": null, | ||
| "AvailableStock": 0, | ||
| "RestockThreshold": 0, | ||
| "MaxStockThreshold": 0, | ||
| "OnReorder": false | ||
| } | ||
| ] | ||
| ``` |
62 changes: 31 additions & 31 deletions
62
...tyFramework.Tests/__snapshots__/PagingHelperTests.Fetch_Last_2_Items_Between.md
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 |
|---|---|---|
| @@ -1,36 +1,36 @@ | ||
| # Fetch_Last_2_Items_Between | ||
|
|
||
| ```json | ||
| [ | ||
| { | ||
| "Id": 9998, | ||
| "Name": "Product 99-97", | ||
| "Description": null, | ||
| "Price": 0.0, | ||
| "ImageFileName": null, | ||
| "TypeId": 1, | ||
| "Type": null, | ||
| "BrandId": 100, | ||
| "Brand": null, | ||
| "AvailableStock": 0, | ||
| "RestockThreshold": 0, | ||
| "MaxStockThreshold": 0, | ||
| "OnReorder": false | ||
| }, | ||
| { | ||
| "Id": 9999, | ||
| "Name": "Product 99-98", | ||
| "Description": null, | ||
| "Price": 0.0, | ||
| "ImageFileName": null, | ||
| "TypeId": 1, | ||
| "Type": null, | ||
| "BrandId": 100, | ||
| "Brand": null, | ||
| "AvailableStock": 0, | ||
| "RestockThreshold": 0, | ||
| "MaxStockThreshold": 0, | ||
| "OnReorder": false | ||
| } | ||
| [ | ||
| { | ||
| "Id": 9998, | ||
| "Name": "Product 99-97", | ||
| "Description": null, | ||
| "Price": 0.0, | ||
| "ImageFileName": null, | ||
| "TypeId": 1, | ||
| "Type": null, | ||
| "BrandId": 100, | ||
| "Brand": null, | ||
| "AvailableStock": 0, | ||
| "RestockThreshold": 0, | ||
| "MaxStockThreshold": 0, | ||
| "OnReorder": false | ||
| }, | ||
| { | ||
| "Id": 9999, | ||
| "Name": "Product 99-98", | ||
| "Description": null, | ||
| "Price": 0.0, | ||
| "ImageFileName": null, | ||
| "TypeId": 1, | ||
| "Type": null, | ||
| "BrandId": 100, | ||
| "Brand": null, | ||
| "AvailableStock": 0, | ||
| "RestockThreshold": 0, | ||
| "MaxStockThreshold": 0, | ||
| "OnReorder": false | ||
| } | ||
| ] | ||
| ``` |
22 changes: 11 additions & 11 deletions
22
src/HotChocolate/AspNetCore/benchmarks/k6/Catalog.API/appsettings.Development.json
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 |
|---|---|---|
| @@ -1,11 +1,11 @@ | ||
| { | ||
| "Logging": { | ||
| "LogLevel": { | ||
| "Default": "Information", | ||
| "Microsoft.AspNetCore": "Warning" | ||
| } | ||
| }, | ||
| "ConnectionStrings": { | ||
| "CatalogDB": "Host=localhost;Port=5432;Username=admin;Password=root;Database=CatalogDB" | ||
| } | ||
| } | ||
| { | ||
| "Logging": { | ||
| "LogLevel": { | ||
| "Default": "Information", | ||
| "Microsoft.AspNetCore": "Warning" | ||
| } | ||
| }, | ||
| "ConnectionStrings": { | ||
| "CatalogDB": "Host=localhost;Port=5432;Username=admin;Password=root;Database=CatalogDB" | ||
| } | ||
| } |
32 changes: 16 additions & 16 deletions
32
src/HotChocolate/AspNetCore/benchmarks/k6/Catalog.API/appsettings.json
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 |
|---|---|---|
| @@ -1,16 +1,16 @@ | ||
| { | ||
| "Logging": { | ||
| "LogLevel": { | ||
| "Default": "Error", | ||
| "Microsoft.AspNetCore": "Warning" | ||
| } | ||
| }, | ||
| "Identity": { | ||
| "Url": "http://identity", | ||
| "Audience": "orders" | ||
| }, | ||
| "AllowedHosts": "*", | ||
| "ConnectionStrings": { | ||
| "CatalogDB": "Host=localhost;Port=5432;Username=admin;Password=root;Database=CatalogDB" | ||
| } | ||
| } | ||
| { | ||
| "Logging": { | ||
| "LogLevel": { | ||
| "Default": "Error", | ||
| "Microsoft.AspNetCore": "Warning" | ||
| } | ||
| }, | ||
| "Identity": { | ||
| "Url": "http://identity", | ||
| "Audience": "orders" | ||
| }, | ||
| "AllowedHosts": "*", | ||
| "ConnectionStrings": { | ||
| "CatalogDB": "Host=localhost;Port=5432;Username=admin;Password=root;Database=CatalogDB" | ||
| } | ||
| } |
42 changes: 21 additions & 21 deletions
42
src/HotChocolate/AspNetCore/benchmarks/k6/Catalog.AppHost/AppHost.cs
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 |
|---|---|---|
| @@ -1,21 +1,21 @@ | ||
| var builder = DistributedApplication.CreateBuilder(args); | ||
| var postgres = builder.AddPostgres("postgres") | ||
| .WithArgs("-c", "max_connections=500") | ||
| .WithArgs("-c", "shared_buffers=512MB") | ||
| .WithArgs("-c", "effective_cache_size=1GB") | ||
| .WithArgs("-c", "maintenance_work_mem=128MB") | ||
| .WithArgs("-c", "checkpoint_completion_target=0.9") | ||
| .WithArgs("-c", "wal_buffers=16MB") | ||
| .WithArgs("-c", "default_statistics_target=100") | ||
| .WithArgs("-c", "random_page_cost=1.1") | ||
| .WithArgs("-c", "work_mem=32MB"); | ||
| var database = postgres.AddDatabase("catalog-db"); | ||
| builder | ||
| .AddProject<Projects.eShop_Catalog_API>("catalog-api") | ||
| .WithReference(database) | ||
| .WaitFor(database); | ||
| builder.Build().Run(); | ||
| var builder = DistributedApplication.CreateBuilder(args); | ||
|
|
||
| var postgres = builder.AddPostgres("postgres") | ||
| .WithArgs("-c", "max_connections=500") | ||
| .WithArgs("-c", "shared_buffers=512MB") | ||
| .WithArgs("-c", "effective_cache_size=1GB") | ||
| .WithArgs("-c", "maintenance_work_mem=128MB") | ||
| .WithArgs("-c", "checkpoint_completion_target=0.9") | ||
| .WithArgs("-c", "wal_buffers=16MB") | ||
| .WithArgs("-c", "default_statistics_target=100") | ||
| .WithArgs("-c", "random_page_cost=1.1") | ||
| .WithArgs("-c", "work_mem=32MB"); | ||
|
|
||
| var database = postgres.AddDatabase("catalog-db"); | ||
|
|
||
| builder | ||
| .AddProject<Projects.eShop_Catalog_API>("catalog-api") | ||
| .WithReference(database) | ||
| .WaitFor(database); | ||
|
|
||
| builder.Build().Run(); |
36 changes: 18 additions & 18 deletions
36
src/HotChocolate/AspNetCore/benchmarks/k6/Catalog.AppHost/Properties/launchSettings.json
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 |
|---|---|---|
| @@ -1,18 +1,18 @@ | ||
| { | ||
| "$schema": "https://json.schemastore.org/launchsettings.json", | ||
| "profiles": { | ||
| "http": { | ||
| "commandName": "Project", | ||
| "dotnetRunMessages": true, | ||
| "launchBrowser": true, | ||
| "applicationUrl": "http://localhost:15100", | ||
| "environmentVariables": { | ||
| "ASPNETCORE_ENVIRONMENT": "Development", | ||
| "DOTNET_ENVIRONMENT": "Development", | ||
| "ASPIRE_DASHBOARD_OTLP_ENDPOINT_URL": "http://localhost:19155", | ||
| "ASPIRE_RESOURCE_SERVICE_ENDPOINT_URL": "http://localhost:20157", | ||
| "ASPIRE_ALLOW_UNSECURED_TRANSPORT": "true" | ||
| } | ||
| } | ||
| } | ||
| } | ||
| { | ||
| "$schema": "https://json.schemastore.org/launchsettings.json", | ||
| "profiles": { | ||
| "http": { | ||
| "commandName": "Project", | ||
| "dotnetRunMessages": true, | ||
| "launchBrowser": true, | ||
| "applicationUrl": "http://localhost:15100", | ||
| "environmentVariables": { | ||
| "ASPNETCORE_ENVIRONMENT": "Development", | ||
| "DOTNET_ENVIRONMENT": "Development", | ||
| "ASPIRE_DASHBOARD_OTLP_ENDPOINT_URL": "http://localhost:19155", | ||
| "ASPIRE_RESOURCE_SERVICE_ENDPOINT_URL": "http://localhost:20157", | ||
| "ASPIRE_ALLOW_UNSECURED_TRANSPORT": "true" | ||
| } | ||
| } | ||
| } | ||
| } |
16 changes: 8 additions & 8 deletions
16
src/HotChocolate/AspNetCore/benchmarks/k6/Catalog.AppHost/appsettings.Development.json
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 |
|---|---|---|
| @@ -1,8 +1,8 @@ | ||
| { | ||
| "Logging": { | ||
| "LogLevel": { | ||
| "Default": "Information", | ||
| "Microsoft.AspNetCore": "Warning" | ||
| } | ||
| } | ||
| } | ||
| { | ||
| "Logging": { | ||
| "LogLevel": { | ||
| "Default": "Information", | ||
| "Microsoft.AspNetCore": "Warning" | ||
| } | ||
| } | ||
| } |
18 changes: 9 additions & 9 deletions
18
src/HotChocolate/AspNetCore/benchmarks/k6/Catalog.AppHost/appsettings.json
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 |
|---|---|---|
| @@ -1,9 +1,9 @@ | ||
| { | ||
| "Logging": { | ||
| "LogLevel": { | ||
| "Default": "Information", | ||
| "Microsoft.AspNetCore": "Warning", | ||
| "Aspire.Hosting.Dcp": "Warning" | ||
| } | ||
| } | ||
| } | ||
| { | ||
| "Logging": { | ||
| "LogLevel": { | ||
| "Default": "Information", | ||
| "Microsoft.AspNetCore": "Warning", | ||
| "Aspire.Hosting.Dcp": "Warning" | ||
| } | ||
| } | ||
| } |
44 changes: 22 additions & 22 deletions
44
src/HotChocolate/AspNetCore/benchmarks/k6/Catalog.AppHost/eShop.Catalog.AppHost.csproj
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 |
|---|---|---|
| @@ -1,22 +1,22 @@ | ||
| <Project Sdk="Microsoft.NET.Sdk"> | ||
| <Sdk Name="Aspire.AppHost.Sdk" Version="13.0.2" /> | ||
| <PropertyGroup> | ||
| <OutputType>Exe</OutputType> | ||
| <TargetFramework>net9.0</TargetFramework> | ||
| <ImplicitUsings>enable</ImplicitUsings> | ||
| <Nullable>enable</Nullable> | ||
| <UserSecretsId>f2d3a820-9a6b-4453-96e4-3e0ba86bd53d</UserSecretsId> | ||
| </PropertyGroup> | ||
| <ItemGroup> | ||
| <PackageReference Include="Aspire.Hosting.AppHost" /> | ||
| <PackageReference Include="Aspire.Hosting.PostgreSQL" /> | ||
| </ItemGroup> | ||
| <ItemGroup> | ||
| <ProjectReference Include="..\Catalog.API\eShop.Catalog.API.csproj" /> | ||
| </ItemGroup> | ||
| </Project> | ||
| <Project Sdk="Microsoft.NET.Sdk"> | ||
|
|
||
| <Sdk Name="Aspire.AppHost.Sdk" Version="13.0.2" /> | ||
|
|
||
| <PropertyGroup> | ||
| <OutputType>Exe</OutputType> | ||
| <TargetFramework>net9.0</TargetFramework> | ||
| <ImplicitUsings>enable</ImplicitUsings> | ||
| <Nullable>enable</Nullable> | ||
| <UserSecretsId>f2d3a820-9a6b-4453-96e4-3e0ba86bd53d</UserSecretsId> | ||
| </PropertyGroup> | ||
|
|
||
| <ItemGroup> | ||
| <PackageReference Include="Aspire.Hosting.AppHost" /> | ||
| <PackageReference Include="Aspire.Hosting.PostgreSQL" /> | ||
| </ItemGroup> | ||
|
|
||
| <ItemGroup> | ||
| <ProjectReference Include="..\Catalog.API\eShop.Catalog.API.csproj" /> | ||
| </ItemGroup> | ||
|
|
||
| </Project> |
Oops, something went wrong.
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.