Skip to content

Commit 0a41675

Browse files
committed
Merge branch 'Development' into 470-settings-deserialization-fails-if-filterparamscurrentcolumnizer-cant-be-deserialized
2 parents b51e625 + 73c1ff6 commit 0a41675

237 files changed

Lines changed: 32782 additions & 3302 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/build_dotnet.yml

Lines changed: 31 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,36 +10,60 @@ on:
1010

1111
env:
1212
Solution: src/LogExpert.sln
13-
Test_Project: src/LogExpert.Tests/LogExpert.Tests.csproj
13+
Test_Project_LogExpert: src/LogExpert.Tests/LogExpert.Tests.csproj
14+
Test_Project_ColumnizerLib: src/ColumnizerLib.UnitTests/ColumnizerLib.UnitTests.csproj
15+
Test_Project_PluginRegistry: src/PluginRegistry.Tests/PluginRegistry.Tests.csproj
16+
Test_Project_RegexColumnizer: src/RegexColumnizer.UnitTests/RegexColumnizer.UnitTests.csproj
1417

1518
jobs:
1619
build:
17-
permissions:
18-
contents: read
19-
20+
permissions:
21+
contents: write # Changed to 'write' for committing
22+
pull-requests: write # Added for PR operations
23+
2024
strategy:
2125
fail-fast: false
2226
matrix:
2327
configuration: [Debug, Release]
24-
28+
2529
runs-on: windows-latest
2630
name: Build Application - ${{ matrix.configuration }}
27-
31+
2832
steps:
2933
- name: Checkout code
3034
uses: actions/checkout@v4
3135
with:
3236
fetch-depth: 0
37+
token: ${{ secrets.GITHUB_TOKEN }}
38+
ref: ${{ github.head_ref }} # Checkout the PR branch
3339

3440
- name: Install .NET Core
3541
uses: actions/setup-dotnet@v4
3642
with:
37-
dotnet-version: 9.0.x
43+
dotnet-version: 10.0.x
3844

3945
- name: Build application
4046
run: |
4147
dotnet build ${{ env.Solution }} --nologo -v quiet -c ${{ matrix.configuration }}
4248
49+
- name: Generate Plugin Hashes
50+
if: matrix.configuration == 'Release'
51+
run: dotnet run --project src/PluginHashGenerator.Tool/PluginHashGenerator.Tool.csproj -- "bin/Release/" "src/PluginRegistry/PluginHashGenerator.Generated.cs" Release
52+
53+
- name: Commit Updated Hashes
54+
if: matrix.configuration == 'Release'
55+
run: |
56+
git config user.name "github-actions[bot]"
57+
git config user.email "github-actions[bot]@users.noreply.github.com"
58+
git add src/PluginRegistry/PluginHashGenerator.Generated.cs
59+
git diff --staged --quiet
60+
if ($LASTEXITCODE -ne 0) {
61+
git commit -m "chore: update plugin hashes [skip ci]"
62+
git push
63+
} else {
64+
Write-Host "No changes to commit"
65+
}
66+
4367
- name: Upload artifact
4468
uses: actions/upload-artifact@v4
4569
with:

.github/workflows/test_dotnet.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Setup .NET
2020
uses: actions/setup-dotnet@v4
2121
with:
22-
dotnet-version: 9.0.x
22+
dotnet-version: 10.0.x
2323
- name: Restore dependencies
2424
run: dotnet restore
2525
working-directory: src

README.md

Lines changed: 36 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
# LogExpert [![.NET](https://github.com/LogExperts/LogExpert/actions/workflows/build_dotnet.yml/badge.svg)](https://github.com/LogExperts/LogExpert/actions/workflows/build_dotnet.yml)
22

3-
This is a clone from (no longer exists) https://logexpert.codeplex.com/
3+
This is a clone from (no longer exists) <https://logexpert.codeplex.com/>
44

5-
# Overview
6-
LogExpert is a Windows tail program (a GUI replacement for the Unix tail command).
5+
## Overview
6+
7+
LogExpert is a Windows feature rich tail program (a GUI replacement for the Unix tail command) with support for plugins, highlighting, filtering, bookmarking, columnizing and more.
78

89
Summary of (most) features:
910

@@ -23,51 +24,61 @@ Summary of (most) features:
2324
* Serilog.Formatting.Compact format support (Experimental)
2425
* Portable (all options / settings saved in application startup directory)
2526

26-
# Download
27+
## Download
28+
2729
Follow the [Link](https://github.com/LogExperts/LogExpert/releases/latest) and download the latest package. Just extract it where you want and execute the application or download the Setup and install it
2830

2931
Or Install via chocolatey
3032

3133
```choco install logexpert```
3234

3335
Requirements
34-
- https://dotnet.microsoft.com/en-us/download/dotnet/8.0
35-
- .NET 8 (https://dotnet.microsoft.com/en-us/download/dotnet/thank-you/runtime-8.0.13-windows-x64-installer or https://dotnet.microsoft.com/en-us/download/dotnet/thank-you/runtime-8.0.13-windows-x86-installer)
36+
37+
* <https://dotnet.microsoft.com/en-us/download/dotnet/8.0>
38+
* .NET 8 (<https://dotnet.microsoft.com/en-us/download/dotnet/thank-you/runtime-8.0.13-windows-x64-installer> or <https://dotnet.microsoft.com/en-us/download/dotnet/thank-you/runtime-8.0.13-windows-x86-installer>)
3639

3740
## CI
41+
3842
This is a continous integration build. So always the latest and greates changes. It should be stable but no promises. Can be viewed as Beta.
3943

4044
[CI Download](https://ci.appveyor.com/project/Zarunbal/logexpert)
4145

42-
# How to Build
46+
## How to Build
4347

44-
- Clone / Fork / Download the source code
45-
- Open the Solution (src/LogExpert.sln) with Visual Studio 2017 (e.g. Community Edition)
46-
- Restore Nuget Packages on Solution
47-
- Build
48-
- The output is under bin/(Debug/Release)/
48+
* Clone / Fork / Download the source code
49+
* Open the Solution (src/LogExpert.sln) with Visual Studio 2017 (e.g. Community Edition)
50+
* Restore Nuget Packages on Solution
51+
* Build
52+
* The output is under bin/(Debug/Release)/
4953

5054
Nuke.build Requirements
51-
- Chocolatey must be installed
52-
- Optional for Setup Inno Script 5 or 6
5355

54-
# Pull Request
55-
- Use Development branch as target
56+
* Chocolatey must be installed
57+
* Optional for Setup Inno Script 5 or 6
58+
59+
## Pull Request
60+
61+
* Use Development branch as target
62+
63+
## FAQ / HELP / Informations / Examples
5664

57-
# FAQ / HELP / Informations / Examples
5865
Please checkout the wiki for FAQ / HELP / Informations / Examples
5966

60-
# High DPI
61-
- dont use AutoScaleMode for single GUI controls like Buttons etc.
62-
- dont use AutoScaleDimensions for single GUI controls like Buttons etc.
67+
## High DPI
68+
69+
* dont use AutoScaleMode for single GUI controls like Buttons etc.
70+
71+
* dont use AutoScaleDimensions for single GUI controls like Buttons etc.
72+
73+
<https://github.com/LogExperts/LogExpert/wiki>
74+
75+
## Discord Server
6376

64-
https://github.com/LogExperts/LogExpert/wiki
77+
<https://discord.gg/SjxkuckRe9>
6578

66-
# Discord Server
67-
https://discord.gg/SjxkuckRe9
79+
### Credits
6880

69-
## Credits
70-
### Contributors
81+
#### Contributors
7182

7283
This project exists thanks to all the people who contribute.
7384
<a href="https://github.com/LogExperts/LogExpert/graphs/contributors">

TODOs.txt

Lines changed: 0 additions & 2 deletions
This file was deleted.

build/Build.cs

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ partial class Build : NukeBuild
3434
/// - JetBrains Rider https://nuke.build/rider
3535
/// - Microsoft VisualStudio https://nuke.build/visualstudio
3636
/// - Microsoft VSCode https://nuke.build/vscode
37-
public static int Main() => Execute<Build>(x => x.Test);
37+
public static int Main () => Execute<Build>(x => x.Test);
3838

3939
[Parameter("Configuration to build - Default is 'Debug' (local) or 'Release' (server)")]
4040
readonly Configuration Configuration = IsLocalBuild ? Configuration.Debug : Configuration.Release;
@@ -78,7 +78,7 @@ Version Version
7878
patch = AppVeyor.Instance.BuildNumber;
7979
}
8080

81-
return new Version(1, 12, 0, patch);
81+
return new Version(1, 20, 0, patch);
8282
}
8383
}
8484

@@ -119,7 +119,7 @@ Version Version
119119
ChocolateyDirectory / $"logexpert.{VersionString}.nupkg"
120120
];
121121

122-
protected override void OnBuildInitialized()
122+
protected override void OnBuildInitialized ()
123123
{
124124
SetVariable("DOTNET_CLI_TELEMETRY_OPTOUT", "1");
125125

@@ -479,7 +479,7 @@ protected override void OnBuildInitialized()
479479
logExpertDocuments.DeleteDirectory();
480480
});
481481

482-
private void ExecuteInnoSetup(AbsolutePath innoPath)
482+
private void ExecuteInnoSetup (AbsolutePath innoPath)
483483
{
484484
Process proc = new();
485485

@@ -501,12 +501,12 @@ private void ExecuteInnoSetup(AbsolutePath innoPath)
501501
}
502502
}
503503

504-
private string ReplaceVersionMatch(Match match, string replacement)
504+
private string ReplaceVersionMatch (Match match, string replacement)
505505
{
506506
return $"{match.Groups[1]}{replacement}{match.Groups[3]}";
507507
}
508508

509-
private void TransformTemplateFile(AbsolutePath path, bool deleteTemplate)
509+
private void TransformTemplateFile (AbsolutePath path, bool deleteTemplate)
510510
{
511511
string text = path.ReadAllText();
512512
text = text.Replace("##version##", VersionString);
@@ -520,17 +520,17 @@ private void TransformTemplateFile(AbsolutePath path, bool deleteTemplate)
520520
}
521521

522522
[GeneratedRegex(@"(\[assembly: AssemblyInformationalVersion\("")([^""]*)(""\)\])")]
523-
private static partial Regex AssemblyInformationalVersion();
523+
private static partial Regex AssemblyInformationalVersion ();
524524

525525
[GeneratedRegex(@"(\[assembly: AssemblyVersion\("")([^""]*)(""\)\])")]
526-
private static partial Regex AssemblyVersion();
526+
private static partial Regex AssemblyVersion ();
527527

528528
[GeneratedRegex(@"(\[assembly: AssemblyConfiguration\()(""[^""]*"")(\)\])")]
529-
private static partial Regex AssemblyConfiguration();
529+
private static partial Regex AssemblyConfiguration ();
530530

531531
[GeneratedRegex(@"(\[assembly: AssemblyFileVersion\("")([^""]*)(""\)\])")]
532-
private static partial Regex AssemblyFileVersion();
532+
private static partial Regex AssemblyFileVersion ();
533533

534534
[GeneratedRegex(@"\w\w{2}[_]p?[tso]?[erzliasx]+[_rhe]{5}", RegexOptions.IgnoreCase, "en-GB")]
535-
private static partial Regex SFTPPlugin();
535+
private static partial Regex SFTPPlugin ();
536536
}

build/_build.csproj

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,26 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>net8.0</TargetFramework>
5+
<TargetFramework>net10.0</TargetFramework>
66
<RootNamespace></RootNamespace>
77
<IsPackable>False</IsPackable>
88
<NoWarn>CS0649;CS0169</NoWarn>
99
<NukeTelemetryVersion>1</NukeTelemetryVersion>
1010
</PropertyGroup>
1111

1212
<ItemGroup>
13-
<PackageReference Include="chocolatey" Version="2.4.3" />
14-
<PackageReference Include="GitVersion.Core" Version="6.3.0" />
15-
<PackageReference Include="NuGet.CommandLine" Version="6.14.0">
13+
<PackageReference Include="chocolatey" Version="2.5.1" />
14+
<PackageReference Include="GitVersion.Core" Version="6.5.0" />
15+
<PackageReference Include="Microsoft.Build" Version="18.0.2" />
16+
<PackageReference Include="Microsoft.Build.Tasks.Core" Version="18.0.2" />
17+
<PackageReference Include="NuGet.CommandLine" Version="7.0.0">
1618
<PrivateAssets>all</PrivateAssets>
1719
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
1820
</PackageReference>
21+
<PackageReference Include="NuGet.Versioning" Version="7.0.0" />
1922
<PackageReference Include="Nuke.Common" Version="9.0.4" />
2023
<PackageReference Include="Nuke.GitHub" Version="7.0.0" />
21-
<PackageReference Include="NUnit.ConsoleRunner" Version="3.20.1" />
24+
<PackageReference Include="NUnit.ConsoleRunner" Version="3.20.2" />
2225
</ItemGroup>
2326

2427
<ItemGroup>

global.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"sdk": {
3-
"version": "9.0.301"
3+
"version": "10.0.100",
4+
"rollForward": "latestPatch"
45
}
56
}

0 commit comments

Comments
 (0)