@@ -41,7 +41,7 @@ private static async Task<IReadOnlyList<PackageIdentity>> GetPackagesAsync(
41
41
params string [ ] feedUrls
42
42
)
43
43
{
44
- var packages = new List < ( PackageIdentity packageId , bool isDeprecated ) > ( ) ;
44
+ var packages = new List < ( PackageIdentity , bool ) > ( ) ;
45
45
46
46
foreach ( string feedUrl in feedUrls )
47
47
{
@@ -59,7 +59,7 @@ params string[] feedUrls
59
59
return latestVersions ;
60
60
}
61
61
62
- private static async Task < IReadOnlyList < ( PackageIdentity packageId , bool isDeprecated ) > > GetPackagesAsync ( NuGetFeed feed )
62
+ private static async Task < IReadOnlyList < ( PackageIdentity , bool ) > > GetPackagesAsync ( NuGetFeed feed )
63
63
{
64
64
Console . WriteLine ( $ "Getting packages from { feed . FeedUrl } ...") ;
65
65
@@ -70,7 +70,7 @@ params string[] feedUrls
70
70
throw new ApplicationException ( "NuGetOrg should be the only feed." ) ;
71
71
}
72
72
73
- private static async Task < IReadOnlyList < ( PackageIdentity version , bool isDeprecated ) > > GetPackagesFromNuGetOrgAsync ( NuGetFeed feed )
73
+ private static async Task < IReadOnlyList < ( PackageIdentity , bool ) > > GetPackagesFromNuGetOrgAsync ( NuGetFeed feed )
74
74
{
75
75
Console . WriteLine ( "Fetching owner information..." ) ;
76
76
Dictionary < string , string [ ] > ownerInformation = await feed . GetOwnerMappingAsync ( ) ;
@@ -89,11 +89,11 @@ params string[] feedUrls
89
89
90
90
Console . WriteLine ( "Getting versions..." ) ;
91
91
92
- ConcurrentBag < ( PackageIdentity packageId , bool isDeprecated ) > identities = [ ] ;
92
+ ConcurrentBag < ( PackageIdentity , bool ) > identities = [ ] ;
93
93
94
94
await Parallel . ForEachAsync ( packageIds , async ( packageId , _ ) =>
95
95
{
96
- IReadOnlyList < ( NuGetVersion version , bool isDeprecated ) > versions = await feed . GetAllVersionsAsync ( packageId ) ;
96
+ IReadOnlyList < ( NuGetVersion , bool ) > versions = await feed . GetAllVersionsAsync ( packageId ) ;
97
97
98
98
foreach ( ( NuGetVersion version , bool isDeprecated ) version in versions )
99
99
{
@@ -114,7 +114,8 @@ bool usePreviewVersions
114
114
{
115
115
var result = new List < PackageIdentity > ( ) ;
116
116
117
- IEnumerable < IGrouping < string , ( PackageIdentity packageId , bool isDeprecated ) > > groups = identities . GroupBy ( i => i . Item1 . Id ) . OrderBy ( g => g . Key ) ;
117
+ IEnumerable < IGrouping < string , ( PackageIdentity , bool ) > > groups =
118
+ identities . GroupBy ( i => i . packageId . Id ) . OrderBy ( g => g . Key ) ;
118
119
119
120
foreach ( IGrouping < string , ( PackageIdentity packageId , bool isDeprecated ) > group in groups )
120
121
{
0 commit comments