Skip to content

Commit

Permalink
Merge pull request #97 from niklaslundberg/develop
Browse files Browse the repository at this point in the history
0.24.0
  • Loading branch information
niklaslundberg committed Jul 10, 2023
2 parents 4ddc95c + 8debf1c commit 5fd447c
Show file tree
Hide file tree
Showing 9 changed files with 51 additions and 47 deletions.
2 changes: 1 addition & 1 deletion LICENSE.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ http://opensource.org/licenses/MIT

The MIT License (MIT)

Copyright (c) 2018-2022 Niklas Lundberg
Copyright (c) 2018-2023 Niklas Lundberg

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
1 change: 1 addition & 0 deletions src/Arbor.Tooler.ConsoleClient/CommandExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ internal static class CommandExtensions
public const string DownloadDirectory = "-outputdirectory";
public const string ExeVersion = "-exe-version";
public const string Force = "--force";
public const string AllowPreRelease = "--pre-release";

public static string? GetCommandLineValue(this IEnumerable<string> keys, string key)
{
Expand Down
5 changes: 4 additions & 1 deletion src/Arbor.Tooler.ConsoleClient/ToolerConsole.cs
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,10 @@ public async Task<int> RunAsync()
string? source = _args.GetCommandLineValue(CommandExtensions.Source);
string? config = _args.GetCommandLineValue(CommandExtensions.Config);

var packages = await nuGetPackageInstaller.GetAllVersionsAsync(new NuGetPackageId(packageId), nuGetSource: source, nugetConfig: config, maxRows: maxRows);
bool allowPreRelease = _args.Any(arg =>
arg.Equals(CommandExtensions.AllowPreRelease, StringComparison.OrdinalIgnoreCase));

var packages = await nuGetPackageInstaller.GetAllVersionsAsync(new NuGetPackageId(packageId), nuGetSource: source, nugetConfig: config, maxRows: maxRows, allowPreRelease: allowPreRelease);

foreach (var package in packages)
{
Expand Down
12 changes: 6 additions & 6 deletions src/Arbor.Tooler.ConsoleClient/packages.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
},
"JetBrains.Annotations": {
"type": "Transitive",
"resolved": "2022.3.1",
"contentHash": "11nsS3+lFICGkztVs9PP2NRItxf9fF+qD6xEW/T0YGto52zj07wseUeBdMAU1ah9HNVTDZyRC1u4NWdtJScwhw=="
"resolved": "2023.2.0",
"contentHash": "dvO//8aLmLRsCVVgoc/7qBqi2/y4BTyRcg20LCBWtK4n6E9Um06Zp7jF1n0hOE+yqBHwcrDzAjWvCaM3qH8flg=="
},
"Newtonsoft.Json": {
"type": "Transitive",
Expand Down Expand Up @@ -109,7 +109,7 @@
"type": "Project",
"dependencies": {
"Arbor.Processing": "[0.6.0, )",
"JetBrains.Annotations": "[2022.3.1, )",
"JetBrains.Annotations": "[2023.2.0, )",
"NewtonSoft.Json": "[13.0.3, )",
"NuGet.Configuration": "[6.6.1, )",
"NuGet.Protocol": "[6.6.1, )",
Expand All @@ -135,8 +135,8 @@
},
"JetBrains.Annotations": {
"type": "Transitive",
"resolved": "2022.3.1",
"contentHash": "11nsS3+lFICGkztVs9PP2NRItxf9fF+qD6xEW/T0YGto52zj07wseUeBdMAU1ah9HNVTDZyRC1u4NWdtJScwhw=="
"resolved": "2023.2.0",
"contentHash": "dvO//8aLmLRsCVVgoc/7qBqi2/y4BTyRcg20LCBWtK4n6E9Um06Zp7jF1n0hOE+yqBHwcrDzAjWvCaM3qH8flg=="
},
"Newtonsoft.Json": {
"type": "Transitive",
Expand Down Expand Up @@ -226,7 +226,7 @@
"type": "Project",
"dependencies": {
"Arbor.Processing": "[0.6.0, )",
"JetBrains.Annotations": "[2022.3.1, )",
"JetBrains.Annotations": "[2023.2.0, )",
"NewtonSoft.Json": "[13.0.3, )",
"NuGet.Configuration": "[6.6.1, )",
"NuGet.Protocol": "[6.6.1, )",
Expand Down
2 changes: 1 addition & 1 deletion src/Arbor.Tooler/Arbor.Tooler.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

<ItemGroup>
<PackageReference Include="Arbor.Processing" Version="0.6.0" />
<PackageReference Include="JetBrains.Annotations" Version="2022.3.1" />
<PackageReference Include="JetBrains.Annotations" Version="2023.2.0" />
<PackageReference Include="NewtonSoft.Json" Version="13.0.3" />
<PackageReference Include="NuGet.Configuration" Version="6.6.1" />
<PackageReference Include="NuGet.Protocol" Version="6.6.1" />
Expand Down
12 changes: 6 additions & 6 deletions src/Arbor.Tooler/packages.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
},
"JetBrains.Annotations": {
"type": "Direct",
"requested": "[2022.3.1, )",
"resolved": "2022.3.1",
"contentHash": "11nsS3+lFICGkztVs9PP2NRItxf9fF+qD6xEW/T0YGto52zj07wseUeBdMAU1ah9HNVTDZyRC1u4NWdtJScwhw=="
"requested": "[2023.2.0, )",
"resolved": "2023.2.0",
"contentHash": "dvO//8aLmLRsCVVgoc/7qBqi2/y4BTyRcg20LCBWtK4n6E9Um06Zp7jF1n0hOE+yqBHwcrDzAjWvCaM3qH8flg=="
},
"Newtonsoft.Json": {
"type": "Direct",
Expand Down Expand Up @@ -113,9 +113,9 @@
},
"JetBrains.Annotations": {
"type": "Direct",
"requested": "[2022.3.1, )",
"resolved": "2022.3.1",
"contentHash": "11nsS3+lFICGkztVs9PP2NRItxf9fF+qD6xEW/T0YGto52zj07wseUeBdMAU1ah9HNVTDZyRC1u4NWdtJScwhw=="
"requested": "[2023.2.0, )",
"resolved": "2023.2.0",
"contentHash": "dvO//8aLmLRsCVVgoc/7qBqi2/y4BTyRcg20LCBWtK4n6E9Um06Zp7jF1n0hOE+yqBHwcrDzAjWvCaM3qH8flg=="
},
"Newtonsoft.Json": {
"type": "Direct",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@
<PackageReference Include="FluentAssertions" Version="6.11.0" />
<PackageReference Include="Serilog.Sinks.Debug" Version="2.0.0" />
<PackageReference Include="Serilog.Sinks.XUnit" Version="3.0.5" />
<PackageReference Include="xunit" Version="2.4.2" />
<PackageReference Include="xunit.runner.console" Version="2.4.2">
<PackageReference Include="xunit" Version="2.5.0" />
<PackageReference Include="xunit.runner.console" Version="2.5.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.5">
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
Expand Down
56 changes: 28 additions & 28 deletions tests/Arbor.Tooler.Tests.Integration/packages.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,26 +60,26 @@
},
"xunit": {
"type": "Direct",
"requested": "[2.4.2, )",
"resolved": "2.4.2",
"contentHash": "6Mj73Ont3zj2CJuoykVJfE0ZmRwn7C+pTuRP8c4bnaaTFjwNG6tGe0prJ1yIbMe9AHrpDys63ctWacSsFJWK/w==",
"requested": "[2.5.0, )",
"resolved": "2.5.0",
"contentHash": "f2V5wuAdoaq0mRTt9UBmPbVex9HcwFYn+y7WaKUz5Xpakcrv7lhtQWBJUWNY4N3Z+o+atDBLyAALM1QWx04C6Q==",
"dependencies": {
"xunit.analyzers": "1.0.0",
"xunit.assert": "2.4.2",
"xunit.core": "[2.4.2]"
"xunit.analyzers": "1.2.0",
"xunit.assert": "2.5.0",
"xunit.core": "[2.5.0]"
}
},
"xunit.runner.console": {
"type": "Direct",
"requested": "[2.4.2, )",
"resolved": "2.4.2",
"contentHash": "aiT5umBAiGm6r8y9wAkqeGtojtMpMi+qeTUq6eg53x5utBgX+c49in/Oq+ZDg57gAfbMlYoNChOv2LbC7K9Q4g=="
"requested": "[2.5.0, )",
"resolved": "2.5.0",
"contentHash": "x95z1nn2pMjReR/Q5ywKqY4AN8BgfQY6VrrlbBk9ggzTuhZeFJrJU0cZZmpOUHxQKEBijWmt2fqmJnKGSeLn6w=="
},
"xunit.runner.visualstudio": {
"type": "Direct",
"requested": "[2.4.5, )",
"resolved": "2.4.5",
"contentHash": "OwHamvBdUKgqsXfBzWiCW/O98BTx81UKzx2bieIOQI7CZFE5NEQZGi8PBQGIKawDW96xeRffiNf20SjfC0x9hw=="
"requested": "[2.5.0, )",
"resolved": "2.5.0",
"contentHash": "+Gp9vuC2431yPyKB15YrOTxCuEAErBQUTIs6CquumX1F073UaPHGW0VE/XVJLMh9W4sXdz3TBkcHdFWZrRn2Hw=="
},
"Arbor.Processing": {
"type": "Transitive",
Expand All @@ -88,8 +88,8 @@
},
"JetBrains.Annotations": {
"type": "Transitive",
"resolved": "2022.3.1",
"contentHash": "11nsS3+lFICGkztVs9PP2NRItxf9fF+qD6xEW/T0YGto52zj07wseUeBdMAU1ah9HNVTDZyRC1u4NWdtJScwhw=="
"resolved": "2023.2.0",
"contentHash": "dvO//8aLmLRsCVVgoc/7qBqi2/y4BTyRcg20LCBWtK4n6E9Um06Zp7jF1n0hOE+yqBHwcrDzAjWvCaM3qH8flg=="
},
"Microsoft.CodeCoverage": {
"type": "Transitive",
Expand Down Expand Up @@ -1128,49 +1128,49 @@
},
"xunit.analyzers": {
"type": "Transitive",
"resolved": "1.0.0",
"contentHash": "BeO8hEgs/c8Ls2647fPfieMngncvf0D0xYNDfIO59MolxtCtVjFRd6SRc+7tj8VMqkVOuJcnc9eh4ngI2cAmLQ=="
"resolved": "1.2.0",
"contentHash": "d3dehV/DASLRlR8stWQmbPPjfYC2tct50Evav+OlsJMkfFqkhYvzO1k0s81lk0px8O0knZU/FqC8SqbXOtn+hw=="
},
"xunit.assert": {
"type": "Transitive",
"resolved": "2.4.2",
"contentHash": "pxJISOFjn2XTTi1mcDCkRZrTFb9OtRRCtx2kZFNF51GdReLr1ls2rnyxvAS4JO247K3aNtflvh5Q0346K5BROA==",
"resolved": "2.5.0",
"contentHash": "wN84pKX5jzfpgJ0bB6arrCA/oelBeYLCpnQ9Wj5xGEVPydKzVSDY5tEatFLHE/rO0+0RC+I4H5igGE118jRh1w==",
"dependencies": {
"NETStandard.Library": "1.6.1"
}
},
"xunit.core": {
"type": "Transitive",
"resolved": "2.4.2",
"contentHash": "KB4yGCxNqIVyekhJLXtKSEq6BaXVp/JO3mbGVE1hxypZTLEe7h+sTbAhpA+yZW2dPtXTuiW+C1B2oxxHEkrmOw==",
"resolved": "2.5.0",
"contentHash": "dnV0Mn2s1C0y2m33AylQyMkEyhBQsL4R0302kwSGiEGuY3JwzEmhTa9pnghyMRPliYSs4fXfkEAP+5bKXryGFg==",
"dependencies": {
"xunit.extensibility.core": "[2.4.2]",
"xunit.extensibility.execution": "[2.4.2]"
"xunit.extensibility.core": "[2.5.0]",
"xunit.extensibility.execution": "[2.5.0]"
}
},
"xunit.extensibility.core": {
"type": "Transitive",
"resolved": "2.4.2",
"contentHash": "W1BoXTIN1C6kpVSMw25huSet25ky6IAQUNovu3zGOGN/jWnbgSoTyCrlIhmXSg0tH5nEf8q7h3OjNHOjyu5PfA==",
"resolved": "2.5.0",
"contentHash": "xRm6NIV3i7I+LkjsAJ91Xz2fxJm/oMEi2CYq1G5HlGTgcK1Zo2wNbLO6nKX1VG5FZzXibSdoLwr/MofVvh3mFA==",
"dependencies": {
"NETStandard.Library": "1.6.1",
"xunit.abstractions": "2.0.3"
}
},
"xunit.extensibility.execution": {
"type": "Transitive",
"resolved": "2.4.2",
"contentHash": "CZmgcKkwpyo8FlupZdWpJCryrAOWLh1FBPG6gmVZuPQkGQsim/oL4PcP4nfrC2hHgXUFtluvaJ0Sp9PQKUMNpg==",
"resolved": "2.5.0",
"contentHash": "7+v2Bvp+1ew1iMGQVb1glICi8jcNdHbRUX6Ru0dmJBViGdjiS7kyqcX2VxleQhFbKNi+WF0an7/TeTXD283RlQ==",
"dependencies": {
"NETStandard.Library": "1.6.1",
"xunit.extensibility.core": "[2.4.2]"
"xunit.extensibility.core": "[2.5.0]"
}
},
"arbor.tooler": {
"type": "Project",
"dependencies": {
"Arbor.Processing": "[0.6.0, )",
"JetBrains.Annotations": "[2022.3.1, )",
"JetBrains.Annotations": "[2023.2.0, )",
"NewtonSoft.Json": "[13.0.3, )",
"NuGet.Configuration": "[6.6.1, )",
"NuGet.Protocol": "[6.6.1, )",
Expand Down
2 changes: 1 addition & 1 deletion version.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
},
{
"key": "minor",
"value": 23
"value": 24
},
{
"key": "patch",
Expand Down

0 comments on commit 5fd447c

Please sign in to comment.