Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update protobuf monorepo to 3.30.1 #421

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions dependency/proto/Protos.csproj
Original file line number Diff line number Diff line change
@@ -14,8 +14,8 @@
</ItemGroup>-->

<ItemGroup>
<PackageReference Include="Google.Protobuf" Version="3.27.2" />
<PackageReference Include="Google.Protobuf.Tools" Version="3.26.1" />
<PackageReference Include="Google.Protobuf" Version="3.30.1" />
<PackageReference Include="Google.Protobuf.Tools" Version="3.30.1" />
<PackageReference Include="Grpc" Version="2.46.6" />
<PackageReference Include="Grpc.Core" Version="2.46.6" />
<PackageReference Include="Grpc.Tools" Version="2.63.0">
2 changes: 1 addition & 1 deletion logic/Client/Client.csproj
Original file line number Diff line number Diff line change
@@ -71,7 +71,7 @@
<PackageReference Include="CommandLineParser" Version="2.9.1" />
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.2.2" />
<PackageReference Include="FrameRateTask" Version="1.2.0" />
<PackageReference Include="Google.Protobuf" Version="3.27.2" />
<PackageReference Include="Google.Protobuf" Version="3.30.1" />
<PackageReference Include="Grpc" Version="2.46.6" />
<PackageReference Include="Grpc.Tools" Version="2.63.0">
<PrivateAssets>all</PrivateAssets>
4 changes: 2 additions & 2 deletions logic/Client/Protos.csproj
Original file line number Diff line number Diff line change
@@ -15,8 +15,8 @@
</ItemGroup>-->

<ItemGroup>
<PackageReference Include="Google.Protobuf" Version="3.27.2" />
<PackageReference Include="Google.Protobuf.Tools" Version="3.26.1" />
<PackageReference Include="Google.Protobuf" Version="3.30.1" />
<PackageReference Include="Google.Protobuf.Tools" Version="3.30.1" />
<PackageReference Include="Grpc" Version="2.46.6" />
<PackageReference Include="Grpc.Core" Version="2.46.6" />
<PackageReference Include="Grpc.Tools" Version="2.63.0">
2 changes: 1 addition & 1 deletion logic/ClientTest/ClientTest.csproj
Original file line number Diff line number Diff line change
@@ -8,7 +8,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Google.Protobuf" Version="3.27.2" />
<PackageReference Include="Google.Protobuf" Version="3.30.1" />
<PackageReference Include="Grpc" Version="2.46.6" />
<PackageReference Include="Grpc.Core" Version="2.46.6" />
</ItemGroup>
2 changes: 1 addition & 1 deletion logic/Preparation/Preparation.csproj
Original file line number Diff line number Diff line change
@@ -10,7 +10,7 @@

<ItemGroup>
<PackageReference Include="FrameRateTask" Version="1.2.0" />
<PackageReference Include="Google.Protobuf" Version="3.27.2" />
<PackageReference Include="Google.Protobuf" Version="3.30.1" />
</ItemGroup>

<ItemGroup>
2 changes: 1 addition & 1 deletion logic/Server/Server.csproj
Original file line number Diff line number Diff line change
@@ -10,7 +10,7 @@
<ItemGroup>
<PackageReference Include="CommandLineParser" Version="2.9.1" />
<PackageReference Include="FrameRateTask" Version="1.2.0" />
<PackageReference Include="Google.Protobuf" Version="3.27.2" />
<PackageReference Include="Google.Protobuf" Version="3.30.1" />
<PackageReference Include="Grpc" Version="2.46.6" />
<PackageReference Include="Grpc.Core" Version="2.46.6" />
<PackageReference Include="Grpc.Tools" Version="2.63.0">
2 changes: 1 addition & 1 deletion playback/Playback/Playback.csproj
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Google.Protobuf" Version="3.27.2" />
<PackageReference Include="Google.Protobuf" Version="3.30.1" />
</ItemGroup>

<ItemGroup>

Unchanged files with check annotations Beta

{
public abstract class NotificationObject : INotifyPropertyChanged
{
public event PropertyChangedEventHandler? PropertyChanged;

Check warning on line 12 in installer/Data/ConfigFileData.cs

GitHub Actions / dotnet-build-logic

The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
///<summary>
///announce notification
///</summary>
public string Port { get; set; } = "8888";
public string? PlaybackFile { get; set; } = "";

Check warning on line 34 in installer/Data/ConfigFileData.cs

GitHub Actions / dotnet-build-logic

The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
public double PlaybackSpeed { get; set; } = 2.0;
public string Password { get; set; } = string.Empty;
public bool Remembered { get; set; } = false;
// 开发人员接口
public string? DevCppPath { get; set; } = null;

Check warning on line 133 in installer/Data/ConfigFileData.cs

GitHub Actions / dotnet-build-logic

The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
public string? DevPyPath { get; set; } = null;

Check warning on line 134 in installer/Data/ConfigFileData.cs

GitHub Actions / dotnet-build-logic

The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
public string? DevServerPath { get; set; } = null;

Check warning on line 135 in installer/Data/ConfigFileData.cs

GitHub Actions / dotnet-build-logic

The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
public string? DevClientPath { get; set; } = null;

Check warning on line 136 in installer/Data/ConfigFileData.cs

GitHub Actions / dotnet-build-logic

The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
public CommandFile Commands { get; set; } = new();
public List<Player> Players { get; set; } = [];
}
}
public event EventHandler? OnMemoryChanged;
public event EventHandler? OnFileChanged;

Check warning on line 352 in installer/Data/ConfigFileData.cs

GitHub Actions / dotnet-build-install

The event 'ConfigData.OnFileChanged' is never used

Check warning on line 352 in installer/Data/ConfigFileData.cs

GitHub Actions / dotnet-build-install

The event 'ConfigData.OnFileChanged' is never used

Check warning on line 352 in installer/Data/ConfigFileData.cs

GitHub Actions / dotnet-build-install

The event 'ConfigData.OnFileChanged' is never used
public ObservableCollection<Player> Players;
protected string path;
tot++;
if (tot % 10 == 0) moveMsg.Angle += 1;
}
return Task.CompletedTask;

Check warning on line 41 in logic/ClientTest/Program.cs

GitHub Actions / dotnet-build-logic

Unreachable code detected
}
}
}
ilGenerator.Emit(OpCodes.Ldarg_2);
ilGenerator.Emit(
OpCodes.Call,
typeof(Interlocked).GetMethod(

Check warning on line 23 in logic/Preparation/Utility/Value/SafeValue/SafeMethod/InterlockedEx.cs

GitHub Actions / dotnet-build-logic

Possible null reference argument for parameter 'meth' in 'void ILGenerator.Emit(OpCode opcode, MethodInfo meth)'.
"CompareExchange",
BindingFlags.Static | BindingFlags.Public,
null,
ilGenerator.Emit(OpCodes.Ldarg_1);
ilGenerator.Emit(
OpCodes.Call,
typeof(Interlocked).GetMethod(

Check warning on line 48 in logic/Preparation/Utility/Value/SafeValue/SafeMethod/InterlockedEx.cs

GitHub Actions / dotnet-build-logic

Possible null reference argument for parameter 'meth' in 'void ILGenerator.Emit(OpCode opcode, MethodInfo meth)'.
"Exchange",
BindingFlags.Static | BindingFlags.Public,
null,
public static T ReadEnum<T>(ref T location)
{
T dummy = default;

Check warning on line 73 in logic/Preparation/Utility/Value/SafeValue/SafeMethod/InterlockedEx.cs

GitHub Actions / dotnet-build-logic

Converting null literal or possible null value to non-nullable type.
return CompareExchangeEnum(ref location!, dummy, dummy)!;
}
}
}
public async Task<string?> GetTeamId()

Check warning on line 195 in installer/Model/EEsast.cs

GitHub Actions / dotnet-build-install

This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.

Check warning on line 195 in installer/Model/EEsast.cs

GitHub Actions / dotnet-build-install

This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.

Check warning on line 195 in installer/Model/EEsast.cs

GitHub Actions / dotnet-build-install

This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.

Check warning on line 195 in installer/Model/EEsast.cs

GitHub Actions / dotnet-build-install

This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
{
/*
var client = new HttpClient();
public ObservableCollection<LogRecord> List = [];
public override DateTime LastRecordTime => DateTime.Now;
private Timer timer;
private DateTime time;

Check warning on line 343 in installer/Model/Logger.cs

GitHub Actions / dotnet-build-install

The field 'ListLogger.time' is never used

Check warning on line 343 in installer/Model/Logger.cs

GitHub Actions / dotnet-build-install

The field 'ListLogger.time' is never used

Check warning on line 343 in installer/Model/Logger.cs

GitHub Actions / dotnet-build-install

The field 'ListLogger.time' is never used
private int ind;
public ListLogger()
{