77using PostSharp . Engineering . BuildTools . Docker ;
88using System ;
99using System . IO ;
10+ using System . Runtime . InteropServices . Marshalling ;
1011
1112namespace PostSharp . Engineering . BuildTools . Dependencies . Definitions ;
1213
1314public static partial class MetalamaDependencies
1415{
1516 // ReSharper disable once InconsistentNaming
1617
17- [ Obsolete ( "Metalama 2024.2 is no longer maintained or built." ) ]
1818 [ PublicAPI ]
19- public static class V2024_2
19+ public static class V2025_2
2020 {
2121 private class MetalamaDependencyDefinition : DependencyDefinition
2222 {
@@ -51,22 +51,16 @@ public MetalamaDependencyDefinition(
5151 isVersioned ,
5252 pullRequestRequiresStatusCheck : pullRequestRequiresStatusCheck ,
5353 vcsRootProjectId : vcsRootProjectId ) ,
54- isVersioned )
55- { }
54+ isVersioned ) { }
5655 }
5756
58- public static ProductFamily Family { get ; } = new ( _projectName , "2024 .2" , DevelopmentDependencies . Family , PostSharpDependencies . V2024_1 . Family )
57+ public static ProductFamily Family { get ; } = new ( _projectName , "2025 .2" , DevelopmentDependencies . Family , PostSharpDependencies . V2025_1 . Family )
5958 {
60- DockerBaseImage = DockerImages . WindowsServerCore , /* UpstreamProductFamily = V2024_1.Family, */
61- DownstreamProductFamily = V2025_0 . Family
59+ DockerBaseImage = DockerImages . WindowsServerCore ,
60+ UpstreamProductFamily = V2025_1 . Family ,
61+ DownstreamProductFamily = V2026_0 . Family
6262 } ;
6363
64- public static DependencyDefinition MetalamaBackstage { get ; } =
65- new MetalamaDependencyDefinition (
66- "Metalama.Backstage" ,
67- VcsProvider . GitHub ,
68- MetalamaGitHubOrganization . PostSharp ) ;
69-
7064 public static DependencyDefinition Consolidated { get ; } =
7165 new MetalamaDependencyDefinition (
7266 ProductFamily . ConsolidatedProjectName ,
@@ -87,71 +81,41 @@ public MetalamaDependencyDefinition(
8781 PrivateArtifactsDirectory = Path . Combine ( "artifacts" , "packages" , "$(MSSBuildConfiguration)" , "Shipping" )
8882 } ;
8983
90- public static DependencyDefinition MetalamaFrameworkRunTime { get ; } =
91- new MetalamaDependencyDefinition (
92- "Metalama.Framework.RunTime" ,
93- VcsProvider . GitHub ,
94- MetalamaGitHubOrganization . PostSharp ) ;
95-
96- public static DependencyDefinition MetalamaFrameworkPrivate { get ; } =
84+ public static DependencyDefinition Metalama { get ; } =
9785 new MetalamaDependencyDefinition (
98- "Metalama.Framework.Private " ,
86+ "Metalama" ,
9987 VcsProvider . GitHub ,
100- MetalamaGitHubOrganization . PostSharp ,
101- isVersioned : false ,
102- pullRequestRequiresStatusCheck : false )
88+ MetalamaGitHubOrganization . Metalama )
10389 {
104- GenerateSnapshotDependency = false
90+ // SuppressUpstream = true
10591 } ;
10692
107- public static DependencyDefinition Metalama { get ; } =
93+ public static DependencyDefinition MetalamaPremium { get ; } =
10894 new MetalamaDependencyDefinition (
109- "Metalama" ,
95+ "Metalama.Premium " ,
11096 VcsProvider . GitHub ,
111- MetalamaGitHubOrganization . PostSharp ,
112- customRepositoryName : "Metalama.Framework" ) ;
97+ MetalamaGitHubOrganization . Metalama )
98+ {
99+ // SuppressUpstream = true
100+ } ;
113101
114102 public static DependencyDefinition MetalamaVsx { get ; } =
115103 new MetalamaDependencyDefinition (
116104 "Metalama.Vsx" ,
117105 VcsProvider . AzureDevOps ,
118106 null ) ;
119107
120- public static DependencyDefinition MetalamaExtensions { get ; } =
121- new MetalamaDependencyDefinition (
122- "Metalama.Extensions" ,
123- VcsProvider . GitHub ,
124- MetalamaGitHubOrganization . PostSharp ) ;
125-
126108 public static DependencyDefinition MetalamaSamples { get ; } =
127109 new MetalamaDependencyDefinition (
128110 "Metalama.Samples" ,
129111 VcsProvider . GitHub ,
130- MetalamaGitHubOrganization . Metalama )
131- {
132- CodeStyle = "Metalama.Samples"
133- } ;
112+ MetalamaGitHubOrganization . Metalama ) { CodeStyle = "Metalama.Samples" } ;
134113
135114 public static DependencyDefinition TimelessDotNetEngineer { get ; } =
136115 new MetalamaDependencyDefinition (
137116 "TimelessDotNetEngineer" ,
138117 VcsProvider . GitHub ,
139- MetalamaGitHubOrganization . PostSharp )
140- {
141- CodeStyle = "Metalama.Samples"
142- } ;
143-
144- public static DependencyDefinition MetalamaMigration { get ; } =
145- new MetalamaDependencyDefinition (
146- "Metalama.Migration" ,
147- VcsProvider . GitHub ,
148- MetalamaGitHubOrganization . PostSharp ) ;
149-
150- public static DependencyDefinition MetalamaLinqPad { get ; } =
151- new MetalamaDependencyDefinition (
152- "Metalama.LinqPad" ,
153- VcsProvider . GitHub ,
154- MetalamaGitHubOrganization . PostSharp ) ;
118+ MetalamaGitHubOrganization . PostSharp ) { CodeStyle = "Metalama.Samples" } ;
155119
156120 public static DependencyDefinition MetalamaCommunity { get ; } =
157121 new MetalamaDependencyDefinition (
@@ -166,12 +130,6 @@ public MetalamaDependencyDefinition(
166130 MetalamaGitHubOrganization . Metalama ,
167131 false ) ;
168132
169- public static DependencyDefinition MetalamaPatterns { get ; } =
170- new MetalamaDependencyDefinition (
171- "Metalama.Patterns" ,
172- VcsProvider . GitHub ,
173- MetalamaGitHubOrganization . PostSharp ) ;
174-
175133 public static DependencyDefinition NopCommerce { get ; } =
176134 new MetalamaDependencyDefinition (
177135 "Metalama.Tests.NopCommerce" ,
@@ -195,7 +153,7 @@ public MetalamaDependencyDefinition(
195153 new MetalamaDependencyDefinition (
196154 "Metalama.Tests.DotNetSdk" ,
197155 VcsProvider . GitHub ,
198- MetalamaGitHubOrganization . Metalama ,
156+ MetalamaGitHubOrganization . PostSharp ,
199157 false ,
200158 parentCiProjectId : $ "Metalama_Metalama{ Family . VersionWithoutDots } _MetalamaTests",
201159 vcsRootProjectId : $ "Metalama_Metalama{ Family . VersionWithoutDots } " ) ;
@@ -204,7 +162,7 @@ public MetalamaDependencyDefinition(
204162 new MetalamaDependencyDefinition (
205163 "Metalama.Performance" ,
206164 VcsProvider . GitHub ,
207- MetalamaGitHubOrganization . Metalama ,
165+ MetalamaGitHubOrganization . PostSharp ,
208166 false ) ;
209167 }
210168}
0 commit comments