77using PostSharp . Engineering . BuildTools . Docker ;
88using System ;
99using System . IO ;
10- using System . Runtime . InteropServices . Marshalling ;
1110
1211namespace PostSharp . Engineering . BuildTools . Dependencies . Definitions ;
1312
@@ -58,12 +57,17 @@ public MetalamaDependencyDefinition(
5857 {
5958 DockerBaseImage = DockerImages . WindowsServerCore ,
6059
61- // Manual merging is required from-non merged repositories to 2025.1.
62-
63- // UpstreamProductFamily = V2024_1.Family,
60+ // Downstream merge to 2025.1 is disabled because of repo merge.
61+ // UpstreamProductFamily = V2024_2.Family,
6462 // DownstreamProductFamily = V2025_1.Family
6563 } ;
6664
65+ public static DependencyDefinition MetalamaBackstage { get ; } =
66+ new MetalamaDependencyDefinition (
67+ "Metalama.Backstage" ,
68+ VcsProvider . GitHub ,
69+ MetalamaGitHubOrganization . PostSharp ) ;
70+
6771 public static DependencyDefinition Consolidated { get ; } =
6872 new MetalamaDependencyDefinition (
6973 ProductFamily . ConsolidatedProjectName ,
@@ -84,22 +88,38 @@ public MetalamaDependencyDefinition(
8488 PrivateArtifactsDirectory = Path . Combine ( "artifacts" , "packages" , "$(MSSBuildConfiguration)" , "Shipping" )
8589 } ;
8690
87- public static DependencyDefinition Metalama { get ; } =
91+ public static DependencyDefinition MetalamaFrameworkRunTime { get ; } =
8892 new MetalamaDependencyDefinition (
89- "Metalama" ,
93+ "Metalama.Framework.RunTime " ,
9094 VcsProvider . GitHub ,
91- MetalamaGitHubOrganization . Metalama )
95+ MetalamaGitHubOrganization . PostSharp )
9296 {
93- // SuppressUpstream = true
97+ // SuppressDownstream = true
9498 } ;
9599
96- public static DependencyDefinition MetalamaPremium { get ; } =
100+ public static DependencyDefinition MetalamaFrameworkPrivate { get ; } =
97101 new MetalamaDependencyDefinition (
98- "Metalama.Premium " ,
102+ "Metalama.Framework.Private " ,
99103 VcsProvider . GitHub ,
100- MetalamaGitHubOrganization . Metalama )
104+ MetalamaGitHubOrganization . PostSharp ,
105+ isVersioned : false ,
106+ pullRequestRequiresStatusCheck : false )
107+ {
108+ GenerateSnapshotDependency = false
109+
110+ // SuppressDownstream = true
111+ } ;
112+
113+ public static DependencyDefinition Metalama { get ; } =
114+ new MetalamaDependencyDefinition (
115+ "Metalama" ,
116+ VcsProvider . GitHub ,
117+ MetalamaGitHubOrganization . PostSharp ,
118+ customRepositoryName : "Metalama.Framework" )
101119 {
102- // SuppressUpstream = true
120+ GenerateSnapshotDependency = false
121+
122+ // SuppressDownstream = true
103123 } ;
104124
105125 public static DependencyDefinition MetalamaVsx { get ; } =
@@ -108,6 +128,15 @@ public MetalamaDependencyDefinition(
108128 VcsProvider . AzureDevOps ,
109129 null ) ;
110130
131+ public static DependencyDefinition MetalamaExtensions { get ; } =
132+ new MetalamaDependencyDefinition (
133+ "Metalama.Extensions" ,
134+ VcsProvider . GitHub ,
135+ MetalamaGitHubOrganization . PostSharp )
136+ {
137+ // SuppressDownstream = true
138+ } ;
139+
111140 public static DependencyDefinition MetalamaSamples { get ; } =
112141 new MetalamaDependencyDefinition (
113142 "Metalama.Samples" ,
@@ -120,6 +149,24 @@ public MetalamaDependencyDefinition(
120149 VcsProvider . GitHub ,
121150 MetalamaGitHubOrganization . PostSharp ) { CodeStyle = "Metalama.Samples" } ;
122151
152+ public static DependencyDefinition MetalamaMigration { get ; } =
153+ new MetalamaDependencyDefinition (
154+ "Metalama.Migration" ,
155+ VcsProvider . GitHub ,
156+ MetalamaGitHubOrganization . PostSharp )
157+ {
158+ // SuppressDownstream = true
159+ } ;
160+
161+ public static DependencyDefinition MetalamaLinqPad { get ; } =
162+ new MetalamaDependencyDefinition (
163+ "Metalama.LinqPad" ,
164+ VcsProvider . GitHub ,
165+ MetalamaGitHubOrganization . PostSharp )
166+ {
167+ // SuppressDownstream = true
168+ } ;
169+
123170 public static DependencyDefinition MetalamaCommunity { get ; } =
124171 new MetalamaDependencyDefinition (
125172 "Metalama.Community" ,
@@ -133,6 +180,15 @@ public MetalamaDependencyDefinition(
133180 MetalamaGitHubOrganization . Metalama ,
134181 false ) ;
135182
183+ public static DependencyDefinition MetalamaPatterns { get ; } =
184+ new MetalamaDependencyDefinition (
185+ "Metalama.Patterns" ,
186+ VcsProvider . GitHub ,
187+ MetalamaGitHubOrganization . PostSharp )
188+ {
189+ // SuppressDownstream = true
190+ } ;
191+
136192 public static DependencyDefinition NopCommerce { get ; } =
137193 new MetalamaDependencyDefinition (
138194 "Metalama.Tests.NopCommerce" ,
@@ -156,7 +212,7 @@ public MetalamaDependencyDefinition(
156212 new MetalamaDependencyDefinition (
157213 "Metalama.Tests.DotNetSdk" ,
158214 VcsProvider . GitHub ,
159- MetalamaGitHubOrganization . PostSharp ,
215+ MetalamaGitHubOrganization . Metalama ,
160216 false ,
161217 parentCiProjectId : $ "Metalama_Metalama{ Family . VersionWithoutDots } _MetalamaTests",
162218 vcsRootProjectId : $ "Metalama_Metalama{ Family . VersionWithoutDots } " ) ;
@@ -165,7 +221,7 @@ public MetalamaDependencyDefinition(
165221 new MetalamaDependencyDefinition (
166222 "Metalama.Performance" ,
167223 VcsProvider . GitHub ,
168- MetalamaGitHubOrganization . PostSharp ,
224+ MetalamaGitHubOrganization . Metalama ,
169225 false ) ;
170226 }
171227}
0 commit comments