Skip to content

Commit b135b48

Browse files
committed
Code Quality: Update package references (#16138)
1 parent 96561d3 commit b135b48

File tree

5 files changed

+15
-11
lines changed

5 files changed

+15
-11
lines changed

src/Files.App/Data/Commands/ActionCommand.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,8 @@ public Task ExecuteAsync(object? parameter = null)
145145
{
146146
if (IsExecutable)
147147
{
148-
SentrySdk.Metrics.Increment("actions", tags: new Dictionary<string, string> { { "command", Code.ToString() } });
148+
// Re-enable when Metris feature is available again
149+
// SentrySdk.Metrics.Increment("actions", tags: new Dictionary<string, string> { { "command", Code.ToString() } });
149150
return Action.ExecuteAsync(parameter);
150151
}
151152

src/Files.App/Files.App.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,12 +71,12 @@
7171
<PackageReference Include="FluentFTP" Version="43.0.1" />
7272
<PackageReference Include="LibGit2Sharp" Version="0.30.0" />
7373
<PackageReference Include="MessageFormat" Version="7.1.0" />
74-
<PackageReference Include="Microsoft.Data.Sqlite.Core" Version="8.0.7" />
74+
<PackageReference Include="Microsoft.Data.Sqlite.Core" Version="8.0.8" />
7575
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="8.0.0" />
7676
<PackageReference Include="Microsoft.Extensions.Hosting" Version="8.0.0" />
7777
<PackageReference Include="Microsoft.Extensions.Logging" Version="8.0.0" />
7878
<PackageReference Include="Microsoft.Windows.SDK.BuildTools" Version="10.0.22621.3233" />
79-
<PackageReference Include="Sentry" Version="4.9.0" />
79+
<PackageReference Include="Sentry" Version="4.10.2" />
8080
<PackageReference Include="SevenZipSharp" Version="1.0.2" />
8181
<PackageReference Include="SQLitePCLRaw.bundle_green" Version="2.1.8" />
8282
<PackageReference Include="Microsoft.WindowsAppSDK" Version="1.5.240627000" />

src/Files.App/Utils/Git/GitHelpers.cs

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,8 @@ public static async Task<BranchItem[]> GetBranchesNames(string? path)
178178

179179
public static async Task<bool> Checkout(string? repositoryPath, string? branch)
180180
{
181-
SentrySdk.Metrics.Increment("Triggered git checkout");
181+
// Re-enable when Metris feature is available again
182+
// SentrySdk.Metrics.Increment("Triggered git checkout");
182183

183184
if (string.IsNullOrWhiteSpace(repositoryPath) || !Repository.IsValid(repositoryPath))
184185
return false;
@@ -250,7 +251,8 @@ public static async Task<bool> Checkout(string? repositoryPath, string? branch)
250251

251252
public static async Task CreateNewBranchAsync(string repositoryPath, string activeBranch)
252253
{
253-
SentrySdk.Metrics.Increment("Triggered create git branch");
254+
// Re-enable when Metris feature is available again
255+
// SentrySdk.Metrics.Increment("Triggered create git branch");
254256

255257
var viewModel = new AddBranchDialogViewModel(repositoryPath, activeBranch);
256258
var loadBranchesTask = viewModel.LoadBranches();
@@ -280,7 +282,8 @@ await Checkout(repositoryPath, viewModel.BasedOn))
280282

281283
public static async Task DeleteBranchAsync(string? repositoryPath, string? activeBranch, string? branchToDelete)
282284
{
283-
SentrySdk.Metrics.Increment("Triggered delete git branch");
285+
// Re-enable when Metris feature is available again
286+
// SentrySdk.Metrics.Increment("Triggered delete git branch");
284287

285288
if (string.IsNullOrWhiteSpace(repositoryPath) ||
286289
string.IsNullOrWhiteSpace(activeBranch) ||

src/Files.Core.SourceGenerator/Files.Core.SourceGenerator.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@
1919
</PropertyGroup>
2020

2121
<ItemGroup>
22-
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.9.2" PrivateAssets="all" />
22+
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.11.0" PrivateAssets="all" />
2323
<PackageReference Include="Microsoft.CodeAnalysis.Analyzers" Version="3.3.4" PrivateAssets="all" />
24-
<PackageReference Include="Microsoft.CodeAnalysis.Workspaces.Common" Version="4.9.2" PrivateAssets="all" />
24+
<PackageReference Include="Microsoft.CodeAnalysis.Workspaces.Common" Version="4.11.0" PrivateAssets="all" />
2525
<PackageReference Include="PolySharp" Version="1.14.1" PrivateAssets="all" IncludeAssets="runtime; build; native; contentfiles; analyzers; buildtransitive" />
2626
<PackageReference Include="System.Text.Json" Version="8.0.4" PrivateAssets="all" />
2727
</ItemGroup>

tests/Files.InteractionTests/Files.InteractionTests.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@
2020
<ItemGroup>
2121
<PackageReference Include="Appium.WebDriver" Version="4.4.5" />
2222
<PackageReference Include="Axe.Windows" Version="2.4.0" />
23-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.10.0" />
24-
<PackageReference Include="MSTest.TestAdapter" Version="3.5.0" />
25-
<PackageReference Include="MSTest.TestFramework" Version="3.5.0" />
23+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.11.1" />
24+
<PackageReference Include="MSTest.TestAdapter" Version="3.5.2" />
25+
<PackageReference Include="MSTest.TestFramework" Version="3.5.2" />
2626
</ItemGroup>
2727

2828
</Project>

0 commit comments

Comments
 (0)