Skip to content

Commit ba658be

Browse files
authored
[Rollout] Production rollout 2024-12-09 (#4226)
2 parents 67e3a0d + 7e11978 commit ba658be

File tree

10 files changed

+95
-114
lines changed

10 files changed

+95
-114
lines changed

Directory.Packages.props

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<Project>
33
<PropertyGroup>
44
<AspNetAzureVersion>3.1.24</AspNetAzureVersion>
5-
<AspNetCoreVersion>6.0.26</AspNetCoreVersion>
5+
<AspNetCoreVersion>6.0.36</AspNetCoreVersion>
66
<MicrosoftExtensionsVersion>6.0.0</MicrosoftExtensionsVersion>
77
<AspireVersion>8.2.0</AspireVersion>
88
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>

eng/Version.Details.xml

+44-44
Original file line numberDiff line numberDiff line change
@@ -1,93 +1,93 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Dependencies>
33
<ProductDependencies>
4-
<Dependency Name="Microsoft.DotNet.Internal.Logging" Version="1.1.0-beta.24376.1">
4+
<Dependency Name="Microsoft.DotNet.Internal.Logging" Version="1.1.0-beta.24606.1">
55
<Uri>https://github.com/dotnet/dnceng-shared</Uri>
6-
<Sha>77fb751f40c92262450af10314e965a1a708857b</Sha>
6+
<Sha>ba6673193e2447a3cb5f373a2168f0fe561dcd9a</Sha>
77
</Dependency>
8-
<Dependency Name="Microsoft.AspNetCore.ApiPagination" Version="1.1.0-beta.24376.1">
8+
<Dependency Name="Microsoft.AspNetCore.ApiPagination" Version="1.1.0-beta.24606.1">
99
<Uri>https://github.com/dotnet/dnceng-shared</Uri>
10-
<Sha>77fb751f40c92262450af10314e965a1a708857b</Sha>
10+
<Sha>ba6673193e2447a3cb5f373a2168f0fe561dcd9a</Sha>
1111
</Dependency>
12-
<Dependency Name="Microsoft.AspNetCore.ApiVersioning" Version="1.1.0-beta.24376.1">
12+
<Dependency Name="Microsoft.AspNetCore.ApiVersioning" Version="1.1.0-beta.24606.1">
1313
<Uri>https://github.com/dotnet/dnceng-shared</Uri>
14-
<Sha>77fb751f40c92262450af10314e965a1a708857b</Sha>
14+
<Sha>ba6673193e2447a3cb5f373a2168f0fe561dcd9a</Sha>
1515
</Dependency>
16-
<Dependency Name="Microsoft.AspNetCore.ApiVersioning.Analyzers" Version="1.1.0-beta.24376.1">
16+
<Dependency Name="Microsoft.AspNetCore.ApiVersioning.Analyzers" Version="1.1.0-beta.24606.1">
1717
<Uri>https://github.com/dotnet/dnceng-shared</Uri>
18-
<Sha>77fb751f40c92262450af10314e965a1a708857b</Sha>
18+
<Sha>ba6673193e2447a3cb5f373a2168f0fe561dcd9a</Sha>
1919
</Dependency>
20-
<Dependency Name="Microsoft.AspNetCore.ApiVersioning.Swashbuckle" Version="1.1.0-beta.24376.1">
20+
<Dependency Name="Microsoft.AspNetCore.ApiVersioning.Swashbuckle" Version="1.1.0-beta.24606.1">
2121
<Uri>https://github.com/dotnet/dnceng-shared</Uri>
22-
<Sha>77fb751f40c92262450af10314e965a1a708857b</Sha>
22+
<Sha>ba6673193e2447a3cb5f373a2168f0fe561dcd9a</Sha>
2323
</Dependency>
24-
<Dependency Name="Microsoft.DncEng.CommandLineLib" Version="1.1.0-beta.24376.1">
24+
<Dependency Name="Microsoft.DncEng.CommandLineLib" Version="1.1.0-beta.24606.1">
2525
<Uri>https://github.com/dotnet/dnceng-shared</Uri>
26-
<Sha>77fb751f40c92262450af10314e965a1a708857b</Sha>
26+
<Sha>ba6673193e2447a3cb5f373a2168f0fe561dcd9a</Sha>
2727
</Dependency>
28-
<Dependency Name="Microsoft.DncEng.Configuration.Extensions" Version="1.1.0-beta.24376.1">
28+
<Dependency Name="Microsoft.DncEng.Configuration.Extensions" Version="1.1.0-beta.24606.1">
2929
<Uri>https://github.com/dotnet/dnceng-shared</Uri>
30-
<Sha>77fb751f40c92262450af10314e965a1a708857b</Sha>
30+
<Sha>ba6673193e2447a3cb5f373a2168f0fe561dcd9a</Sha>
3131
</Dependency>
32-
<Dependency Name="Microsoft.DotNet.Authentication.Algorithms" Version="1.1.0-beta.24376.1">
32+
<Dependency Name="Microsoft.DotNet.Authentication.Algorithms" Version="1.1.0-beta.24606.1">
3333
<Uri>https://github.com/dotnet/dnceng-shared</Uri>
34-
<Sha>77fb751f40c92262450af10314e965a1a708857b</Sha>
34+
<Sha>ba6673193e2447a3cb5f373a2168f0fe561dcd9a</Sha>
3535
</Dependency>
36-
<Dependency Name="Microsoft.DotNet.GitHub.Authentication" Version="1.1.0-beta.24376.1">
36+
<Dependency Name="Microsoft.DotNet.GitHub.Authentication" Version="1.1.0-beta.24606.1">
3737
<Uri>https://github.com/dotnet/dnceng-shared</Uri>
38-
<Sha>77fb751f40c92262450af10314e965a1a708857b</Sha>
38+
<Sha>ba6673193e2447a3cb5f373a2168f0fe561dcd9a</Sha>
3939
</Dependency>
40-
<Dependency Name="Microsoft.DotNet.Internal.DependencyInjection.Testing" Version="1.1.0-beta.24376.1">
40+
<Dependency Name="Microsoft.DotNet.Internal.DependencyInjection.Testing" Version="1.1.0-beta.24606.1">
4141
<Uri>https://github.com/dotnet/dnceng-shared</Uri>
42-
<Sha>77fb751f40c92262450af10314e965a1a708857b</Sha>
42+
<Sha>ba6673193e2447a3cb5f373a2168f0fe561dcd9a</Sha>
4343
</Dependency>
44-
<Dependency Name="Microsoft.DotNet.Internal.DependencyInjection" Version="1.1.0-beta.24376.1">
44+
<Dependency Name="Microsoft.DotNet.Internal.DependencyInjection" Version="1.1.0-beta.24606.1">
4545
<Uri>https://github.com/dotnet/dnceng-shared</Uri>
46-
<Sha>77fb751f40c92262450af10314e965a1a708857b</Sha>
46+
<Sha>ba6673193e2447a3cb5f373a2168f0fe561dcd9a</Sha>
4747
</Dependency>
48-
<Dependency Name="Microsoft.DotNet.Internal.Health" Version="1.1.0-beta.24376.1">
48+
<Dependency Name="Microsoft.DotNet.Internal.Health" Version="1.1.0-beta.24606.1">
4949
<Uri>https://github.com/dotnet/dnceng-shared</Uri>
50-
<Sha>77fb751f40c92262450af10314e965a1a708857b</Sha>
50+
<Sha>ba6673193e2447a3cb5f373a2168f0fe561dcd9a</Sha>
5151
</Dependency>
52-
<Dependency Name="Microsoft.DotNet.Internal.Testing.DependencyInjection.Abstractions" Version="1.1.0-beta.24376.1">
52+
<Dependency Name="Microsoft.DotNet.Internal.Testing.DependencyInjection.Abstractions" Version="1.1.0-beta.24606.1">
5353
<Uri>https://github.com/dotnet/dnceng-shared</Uri>
54-
<Sha>77fb751f40c92262450af10314e965a1a708857b</Sha>
54+
<Sha>ba6673193e2447a3cb5f373a2168f0fe561dcd9a</Sha>
5555
</Dependency>
56-
<Dependency Name="Microsoft.DotNet.Internal.Testing.DependencyInjectionCodeGen" Version="1.1.0-beta.24376.1">
56+
<Dependency Name="Microsoft.DotNet.Internal.Testing.DependencyInjectionCodeGen" Version="1.1.0-beta.24606.1">
5757
<Uri>https://github.com/dotnet/dnceng-shared</Uri>
58-
<Sha>77fb751f40c92262450af10314e965a1a708857b</Sha>
58+
<Sha>ba6673193e2447a3cb5f373a2168f0fe561dcd9a</Sha>
5959
</Dependency>
60-
<Dependency Name="Microsoft.DotNet.Internal.Testing.Utility" Version="1.1.0-beta.24376.1">
60+
<Dependency Name="Microsoft.DotNet.Internal.Testing.Utility" Version="1.1.0-beta.24606.1">
6161
<Uri>https://github.com/dotnet/dnceng-shared</Uri>
62-
<Sha>77fb751f40c92262450af10314e965a1a708857b</Sha>
62+
<Sha>ba6673193e2447a3cb5f373a2168f0fe561dcd9a</Sha>
6363
</Dependency>
64-
<Dependency Name="Microsoft.DotNet.Kusto" Version="1.1.0-beta.24376.1">
64+
<Dependency Name="Microsoft.DotNet.Kusto" Version="1.1.0-beta.24606.1">
6565
<Uri>https://github.com/dotnet/dnceng-shared</Uri>
66-
<Sha>77fb751f40c92262450af10314e965a1a708857b</Sha>
66+
<Sha>ba6673193e2447a3cb5f373a2168f0fe561dcd9a</Sha>
6767
</Dependency>
68-
<Dependency Name="Microsoft.DotNet.Metrics" Version="1.1.0-beta.24376.1">
68+
<Dependency Name="Microsoft.DotNet.Metrics" Version="1.1.0-beta.24606.1">
6969
<Uri>https://github.com/dotnet/dnceng-shared</Uri>
70-
<Sha>77fb751f40c92262450af10314e965a1a708857b</Sha>
70+
<Sha>ba6673193e2447a3cb5f373a2168f0fe561dcd9a</Sha>
7171
</Dependency>
72-
<Dependency Name="Microsoft.DotNet.ServiceFabric.ServiceHost" Version="1.1.0-beta.24376.1">
72+
<Dependency Name="Microsoft.DotNet.ServiceFabric.ServiceHost" Version="1.1.0-beta.24606.1">
7373
<Uri>https://github.com/dotnet/dnceng-shared</Uri>
74-
<Sha>77fb751f40c92262450af10314e965a1a708857b</Sha>
74+
<Sha>ba6673193e2447a3cb5f373a2168f0fe561dcd9a</Sha>
7575
</Dependency>
76-
<Dependency Name="Microsoft.DotNet.Services.Utility" Version="1.1.0-beta.24376.1">
76+
<Dependency Name="Microsoft.DotNet.Services.Utility" Version="1.1.0-beta.24606.1">
7777
<Uri>https://github.com/dotnet/dnceng-shared</Uri>
78-
<Sha>77fb751f40c92262450af10314e965a1a708857b</Sha>
78+
<Sha>ba6673193e2447a3cb5f373a2168f0fe561dcd9a</Sha>
7979
</Dependency>
80-
<Dependency Name="Microsoft.DotNet.Web.Authentication" Version="1.1.0-beta.24376.1">
80+
<Dependency Name="Microsoft.DotNet.Web.Authentication" Version="1.1.0-beta.24606.1">
8181
<Uri>https://github.com/dotnet/dnceng-shared</Uri>
82-
<Sha>77fb751f40c92262450af10314e965a1a708857b</Sha>
82+
<Sha>ba6673193e2447a3cb5f373a2168f0fe561dcd9a</Sha>
8383
</Dependency>
84-
<Dependency Name="ServiceFabricMocks" Version="1.1.0-beta.24376.1">
84+
<Dependency Name="ServiceFabricMocks" Version="1.1.0-beta.24606.1">
8585
<Uri>https://github.com/dotnet/dnceng-shared</Uri>
86-
<Sha>77fb751f40c92262450af10314e965a1a708857b</Sha>
86+
<Sha>ba6673193e2447a3cb5f373a2168f0fe561dcd9a</Sha>
8787
</Dependency>
88-
<Dependency Name="CoreHealthMonitor" Version="1.1.0-beta.24376.1">
88+
<Dependency Name="CoreHealthMonitor" Version="1.1.0-beta.24606.1">
8989
<Uri>https://github.com/dotnet/dnceng-shared</Uri>
90-
<Sha>77fb751f40c92262450af10314e965a1a708857b</Sha>
90+
<Sha>ba6673193e2447a3cb5f373a2168f0fe561dcd9a</Sha>
9191
</Dependency>
9292
</ProductDependencies>
9393
<ToolsetDependencies>

eng/Versions.props

+22-22
Original file line numberDiff line numberDiff line change
@@ -15,28 +15,28 @@
1515
<MicrosoftDotNetGitIssueManagerVersion>8.0.0-beta.24570.5</MicrosoftDotNetGitIssueManagerVersion>
1616
<MicrosoftDotNetVersionToolsVersion>8.0.0-beta.24570.5</MicrosoftDotNetVersionToolsVersion>
1717
<MicrosoftNetTestSdkVersion>17.4.1</MicrosoftNetTestSdkVersion>
18-
<MicrosoftDotNetInternalLoggingVersion>1.1.0-beta.24376.1</MicrosoftDotNetInternalLoggingVersion>
19-
<MicrosoftAspNetCoreApiPaginationVersion>1.1.0-beta.24376.1</MicrosoftAspNetCoreApiPaginationVersion>
20-
<MicrosoftAspNetCoreApiVersioningVersion>1.1.0-beta.24376.1</MicrosoftAspNetCoreApiVersioningVersion>
21-
<MicrosoftAspNetCoreApiVersioningAnalyzersVersion>1.1.0-beta.24376.1</MicrosoftAspNetCoreApiVersioningAnalyzersVersion>
22-
<MicrosoftAspNetCoreApiVersioningSwashbuckleVersion>1.1.0-beta.24376.1</MicrosoftAspNetCoreApiVersioningSwashbuckleVersion>
23-
<MicrosoftDncEngCommandLineLibVersion>1.1.0-beta.24376.1</MicrosoftDncEngCommandLineLibVersion>
24-
<MicrosoftDncEngConfigurationExtensionsVersion>1.1.0-beta.24376.1</MicrosoftDncEngConfigurationExtensionsVersion>
25-
<MicrosoftDotNetAuthenticationAlgorithmsVersion>1.1.0-beta.24376.1</MicrosoftDotNetAuthenticationAlgorithmsVersion>
26-
<MicrosoftDotNetGitHubAuthenticationVersion>1.1.0-beta.24376.1</MicrosoftDotNetGitHubAuthenticationVersion>
27-
<MicrosoftDotNetInternalDependencyInjectionTestingVersion>1.1.0-beta.24376.1</MicrosoftDotNetInternalDependencyInjectionTestingVersion>
28-
<MicrosoftDotNetInternalDependencyInjectionVersion>1.1.0-beta.24376.1</MicrosoftDotNetInternalDependencyInjectionVersion>
29-
<MicrosoftDotNetInternalHealthVersion>1.1.0-beta.24376.1</MicrosoftDotNetInternalHealthVersion>
30-
<MicrosoftDotNetInternalTestingDependencyInjectionAbstractionsVersion>1.1.0-beta.24376.1</MicrosoftDotNetInternalTestingDependencyInjectionAbstractionsVersion>
31-
<MicrosoftDotNetInternalTestingDependencyInjectionCodeGenVersion>1.1.0-beta.24376.1</MicrosoftDotNetInternalTestingDependencyInjectionCodeGenVersion>
32-
<MicrosoftDotNetInternalTestingUtilityVersion>1.1.0-beta.24376.1</MicrosoftDotNetInternalTestingUtilityVersion>
33-
<MicrosoftDotNetKustoVersion>1.1.0-beta.24376.1</MicrosoftDotNetKustoVersion>
34-
<MicrosoftDotNetMetricsVersion>1.1.0-beta.24376.1</MicrosoftDotNetMetricsVersion>
35-
<MicrosoftDotNetServiceFabricServiceHostVersion>1.1.0-beta.24376.1</MicrosoftDotNetServiceFabricServiceHostVersion>
36-
<MicrosoftDotNetServicesUtilityVersion>1.1.0-beta.24376.1</MicrosoftDotNetServicesUtilityVersion>
37-
<MicrosoftDotNetWebAuthenticationVersion>1.1.0-beta.24376.1</MicrosoftDotNetWebAuthenticationVersion>
38-
<ServiceFabricMocksVersion>1.1.0-beta.24376.1</ServiceFabricMocksVersion>
39-
<CoreHealthMonitorVersion>1.1.0-beta.24376.1</CoreHealthMonitorVersion>
18+
<MicrosoftDotNetInternalLoggingVersion>1.1.0-beta.24606.1</MicrosoftDotNetInternalLoggingVersion>
19+
<MicrosoftAspNetCoreApiPaginationVersion>1.1.0-beta.24606.1</MicrosoftAspNetCoreApiPaginationVersion>
20+
<MicrosoftAspNetCoreApiVersioningVersion>1.1.0-beta.24606.1</MicrosoftAspNetCoreApiVersioningVersion>
21+
<MicrosoftAspNetCoreApiVersioningAnalyzersVersion>1.1.0-beta.24606.1</MicrosoftAspNetCoreApiVersioningAnalyzersVersion>
22+
<MicrosoftAspNetCoreApiVersioningSwashbuckleVersion>1.1.0-beta.24606.1</MicrosoftAspNetCoreApiVersioningSwashbuckleVersion>
23+
<MicrosoftDncEngCommandLineLibVersion>1.1.0-beta.24606.1</MicrosoftDncEngCommandLineLibVersion>
24+
<MicrosoftDncEngConfigurationExtensionsVersion>1.1.0-beta.24606.1</MicrosoftDncEngConfigurationExtensionsVersion>
25+
<MicrosoftDotNetAuthenticationAlgorithmsVersion>1.1.0-beta.24606.1</MicrosoftDotNetAuthenticationAlgorithmsVersion>
26+
<MicrosoftDotNetGitHubAuthenticationVersion>1.1.0-beta.24606.1</MicrosoftDotNetGitHubAuthenticationVersion>
27+
<MicrosoftDotNetInternalDependencyInjectionTestingVersion>1.1.0-beta.24606.1</MicrosoftDotNetInternalDependencyInjectionTestingVersion>
28+
<MicrosoftDotNetInternalDependencyInjectionVersion>1.1.0-beta.24606.1</MicrosoftDotNetInternalDependencyInjectionVersion>
29+
<MicrosoftDotNetInternalHealthVersion>1.1.0-beta.24606.1</MicrosoftDotNetInternalHealthVersion>
30+
<MicrosoftDotNetInternalTestingDependencyInjectionAbstractionsVersion>1.1.0-beta.24606.1</MicrosoftDotNetInternalTestingDependencyInjectionAbstractionsVersion>
31+
<MicrosoftDotNetInternalTestingDependencyInjectionCodeGenVersion>1.1.0-beta.24606.1</MicrosoftDotNetInternalTestingDependencyInjectionCodeGenVersion>
32+
<MicrosoftDotNetInternalTestingUtilityVersion>1.1.0-beta.24606.1</MicrosoftDotNetInternalTestingUtilityVersion>
33+
<MicrosoftDotNetKustoVersion>1.1.0-beta.24606.1</MicrosoftDotNetKustoVersion>
34+
<MicrosoftDotNetMetricsVersion>1.1.0-beta.24606.1</MicrosoftDotNetMetricsVersion>
35+
<MicrosoftDotNetServiceFabricServiceHostVersion>1.1.0-beta.24606.1</MicrosoftDotNetServiceFabricServiceHostVersion>
36+
<MicrosoftDotNetServicesUtilityVersion>1.1.0-beta.24606.1</MicrosoftDotNetServicesUtilityVersion>
37+
<MicrosoftDotNetWebAuthenticationVersion>1.1.0-beta.24606.1</MicrosoftDotNetWebAuthenticationVersion>
38+
<ServiceFabricMocksVersion>1.1.0-beta.24606.1</ServiceFabricMocksVersion>
39+
<CoreHealthMonitorVersion>1.1.0-beta.24606.1</CoreHealthMonitorVersion>
4040
<MicrosoftDncEngSecretManagerVersion>1.1.0-beta.24562.1</MicrosoftDncEngSecretManagerVersion>
4141
<MicrosoftDncEngConfigurationBootstrapVersion>1.1.0-beta.24562.1</MicrosoftDncEngConfigurationBootstrapVersion>
4242
</PropertyGroup>

src/Maestro/Maestro.Data/BuildAssetRegistryContext.cs

+10-22
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@
1414
using Microsoft.EntityFrameworkCore;
1515
using Microsoft.EntityFrameworkCore.Design;
1616
using Microsoft.EntityFrameworkCore.Query.SqlExpressions;
17-
using Microsoft.Extensions.Hosting;
18-
using Microsoft.Extensions.Hosting.Internal;
19-
2017
namespace Maestro.Data;
2118

2219
public class BuildAssetRegistryContextFactory : IDesignTimeDbContextFactory<BuildAssetRegistryContext>
@@ -39,9 +36,7 @@ public BuildAssetRegistryContext CreateDbContext(string[] args)
3936
})
4037
.Options;
4138

42-
return new BuildAssetRegistryContext(
43-
new HostingEnvironment{EnvironmentName = Environments.Development},
44-
options);
39+
return new BuildAssetRegistryContext(options);
4540
}
4641

4742
public static string GetConnectionString(string databaseName)
@@ -50,16 +45,9 @@ public static string GetConnectionString(string databaseName)
5045
}
5146
}
5247

53-
public class BuildAssetRegistryContext : IdentityDbContext<ApplicationUser, IdentityRole<int>, int>
48+
public class BuildAssetRegistryContext(DbContextOptions options)
49+
: IdentityDbContext<ApplicationUser, IdentityRole<int>, int>(options)
5450
{
55-
public BuildAssetRegistryContext(IHostEnvironment hostingEnvironment, DbContextOptions options) : base(
56-
options)
57-
{
58-
HostingEnvironment = hostingEnvironment;
59-
}
60-
61-
public IHostEnvironment HostingEnvironment { get; }
62-
6351
public DbSet<Asset> Assets { get; set; }
6452
public DbSet<AssetLocation> AssetLocations { get; set; }
6553
public DbSet<AssetFilter> AssetFilters { get; set; }
@@ -121,7 +109,7 @@ protected override void OnModelCreating(ModelBuilder builder)
121109
base.OnModelCreating(builder);
122110

123111
builder.Entity<Asset>()
124-
.HasIndex(a => new {a.Name, a.Version});
112+
.HasIndex(a => new { a.Name, a.Version });
125113

126114
builder.Entity<Channel>().HasIndex(c => c.Name).IsUnique();
127115

@@ -144,7 +132,7 @@ protected override void OnModelCreating(ModelBuilder builder)
144132
.HasForeignKey(bc => bc.ChannelId);
145133

146134
builder.Entity<BuildDependency>()
147-
.HasKey(d => new {d.BuildId, d.DependentBuildId});
135+
.HasKey(d => new { d.BuildId, d.DependentBuildId });
148136

149137
builder.Entity<BuildDependency>()
150138
.HasOne(d => d.Build)
@@ -176,7 +164,7 @@ protected override void OnModelCreating(ModelBuilder builder)
176164
dc.ChannelId
177165
})
178166
.IsUnique();
179-
167+
180168
builder.Entity<SubscriptionUpdate>().Property(typeof(DateTime), "SysStartTime").HasColumnType("datetime2");
181169
builder.Entity<SubscriptionUpdate>().Property(typeof(DateTime), "SysEndTime").HasColumnType("datetime2");
182170

@@ -203,7 +191,7 @@ protected override void OnModelCreating(ModelBuilder builder)
203191
builder.Entity<SubscriptionUpdateHistory>().HasIndex("SysEndTime", "SysStartTime").IsClustered();
204192
builder.Entity<SubscriptionUpdateHistory>().HasIndex("SubscriptionId", "SysEndTime", "SysStartTime");
205193

206-
builder.Entity<Repository>().HasKey(r => new {r.RepositoryName});
194+
builder.Entity<Repository>().HasKey(r => new { r.RepositoryName });
207195

208196
builder.Entity<RepositoryBranch>()
209197
.HasKey(
@@ -216,7 +204,7 @@ protected override void OnModelCreating(ModelBuilder builder)
216204
builder.Entity<RepositoryBranch>()
217205
.HasOne(rb => rb.Repository)
218206
.WithMany(r => r.Branches)
219-
.HasForeignKey(rb => new {rb.RepositoryName});
207+
.HasForeignKey(rb => new { rb.RepositoryName });
220208

221209
builder.Entity<RepositoryBranchUpdate>()
222210
.HasKey(
@@ -335,8 +323,8 @@ AND traverse.Depth < 10 -- Don't load all the way back because of incorrect isPr
335323
};
336324

337325
IQueryable<Build> builds = from build in Builds
338-
where buildIds.Contains(build.Id)
339-
select build;
326+
where buildIds.Contains(build.Id)
327+
select build;
340328

341329
Dictionary<int, Build> dict = await builds.ToDictionaryAsync(b => b.Id,
342330
b =>

src/Maestro/Maestro.Data/Maestro.Data.csproj

-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66
</PropertyGroup>
77

88
<ItemGroup>
9-
<FrameworkReference Include="Microsoft.AspNetCore.App" />
10-
119
<PackageReference Include="EntityFrameworkCore.Triggers" />
1210
<PackageReference Include="Microsoft.AspNetCore.Identity.EntityFrameworkCore" />
1311
<PackageReference Include="Microsoft.EntityFrameworkCore" />

0 commit comments

Comments
 (0)