From d9684ea9fe02231f942c18b353da8870c7b86462 Mon Sep 17 00:00:00 2001 From: Pieterjan Spoelders Date: Tue, 23 Jun 2026 11:26:29 +0200 Subject: [PATCH 1/8] Updated targeted framework and dependencies --- .../error-reporting-csharp-tests.csproj | 12 ++++++------ error-reporting-csharp/error-reporting-csharp.csproj | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/error-reporting-csharp-tests/error-reporting-csharp-tests.csproj b/error-reporting-csharp-tests/error-reporting-csharp-tests.csproj index 00d37f0..d4d4397 100644 --- a/error-reporting-csharp-tests/error-reporting-csharp-tests.csproj +++ b/error-reporting-csharp-tests/error-reporting-csharp-tests.csproj @@ -1,7 +1,7 @@  - netcoreapp3.1 + net10.0 error_reporting_csharp_tests false @@ -13,17 +13,17 @@ - - - + + + all runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/error-reporting-csharp/error-reporting-csharp.csproj b/error-reporting-csharp/error-reporting-csharp.csproj index 76b7380..36dab89 100644 --- a/error-reporting-csharp/error-reporting-csharp.csproj +++ b/error-reporting-csharp/error-reporting-csharp.csproj @@ -1,7 +1,7 @@  - netcoreapp3.1 + net10.0 error_reporting_csharp Pieterjan Spoelders Exasol AG From 325fd1093963109fdd97167211dd22f6b1e120d4 Mon Sep 17 00:00:00 2001 From: Pieterjan Spoelders Date: Tue, 23 Jun 2026 11:45:48 +0200 Subject: [PATCH 2/8] Update github workflow actions --- .github/workflows/dotnet.yml | 6 +++--- .github/workflows/publish-on-tag.yml | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 2169599..5503232 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -12,11 +12,11 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v7 - name: Setup .NET - uses: actions/setup-dotnet@v1 + uses: actions/setup-dotnet@v5 with: - dotnet-version: 3.1.x + dotnet-version: 10.0.x - name: Restore dependencies run: dotnet restore - name: Build diff --git a/.github/workflows/publish-on-tag.yml b/.github/workflows/publish-on-tag.yml index 3616857..243e37d 100644 --- a/.github/workflows/publish-on-tag.yml +++ b/.github/workflows/publish-on-tag.yml @@ -13,14 +13,14 @@ jobs: runs-on: windows-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v7 - name: Setup .NET 3 - uses: actions/setup-dotnet@v1 + uses: actions/setup-dotnet@v5 with: dotnet-version: 3.1.x - name: Setup .NET 5 - uses: actions/setup-dotnet@v1 + uses: actions/setup-dotnet@v5 with: dotnet-version: 5.0.x From 845a7dbc8010417b30db08ba00d2610d0e4c9997 Mon Sep 17 00:00:00 2001 From: Pieterjan Spoelders Date: Tue, 23 Jun 2026 12:09:57 +0200 Subject: [PATCH 3/8] Update and simplify GHworkflow files --- .github/workflows/dotnet.yml | 4 +--- .github/workflows/publish-on-tag.yml | 10 ++-------- 2 files changed, 3 insertions(+), 11 deletions(-) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 5503232..73acfa6 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -1,10 +1,8 @@ name: .NET on: - push: - branches: [ ] pull_request: - branches: [ ] + branches: [ main ] jobs: build: diff --git a/.github/workflows/publish-on-tag.yml b/.github/workflows/publish-on-tag.yml index 243e37d..d778402 100644 --- a/.github/workflows/publish-on-tag.yml +++ b/.github/workflows/publish-on-tag.yml @@ -14,16 +14,10 @@ jobs: steps: - uses: actions/checkout@v7 - - name: Setup .NET 3 + - name: Setup .NET 10 uses: actions/setup-dotnet@v5 with: - dotnet-version: 3.1.x - - - name: Setup .NET 5 - uses: actions/setup-dotnet@v5 - with: - dotnet-version: 5.0.x - + dotnet-version: 10.0.x - name: Restore dependencies run: dotnet restore - name: Build From 896f11d1884bfec5a9e30ed0474ae58501dd0256 Mon Sep 17 00:00:00 2001 From: Pieterjan Spoelders Date: Tue, 23 Jun 2026 13:10:33 +0200 Subject: [PATCH 4/8] Add security.md --- SECURITY.md | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 SECURITY.md diff --git a/SECURITY.md b/SECURITY.md new file mode 100644 index 0000000..5c9e6f4 --- /dev/null +++ b/SECURITY.md @@ -0,0 +1,26 @@ +# Security + +If you believe you have found a new security vulnerability in this repository, please report it to us as follows. + +## Reporting Security Issues + +* Please do **not** report security vulnerabilities through public GitHub issues. + +* Please create a draft security advisory on the Github page: the reporting form is under `> Security > Advisories`. The URL is https://github.com/exasol/error-crawler-csharp/security/advisories/new. + +* If you prefer to email, please send your report to `infosec@exasol.com`. + +## Guidelines + +* When reporting a vulnerability, please include as much information as possible, including the complete steps to reproduce the issue. + +* Avoid sending us executables. + +* Feel free to include any script you wrote and used but avoid sending us scripts that download and run binaries. + +* We will prioritise reports that show how the exploits work in realistic environments. + +* We prefer all communications to be in English. + +* We do not offer financial rewards. We are happy to acknowledge your research publicly when possible. + From 16ba321316f9f19ba8a4346a301353f6cf76474f Mon Sep 17 00:00:00 2001 From: Pieterjan Spoelders Date: Tue, 23 Jun 2026 13:34:13 +0200 Subject: [PATCH 5/8] simplify release workflow, remove python script --- .github/workflows/publish-on-tag.yml | 71 +++++++++++++-------------- packageoutput | Bin 1040 -> 0 bytes print_package_path.py | 14 ------ 3 files changed, 33 insertions(+), 52 deletions(-) delete mode 100644 packageoutput delete mode 100644 print_package_path.py diff --git a/.github/workflows/publish-on-tag.yml b/.github/workflows/publish-on-tag.yml index d778402..af54ada 100644 --- a/.github/workflows/publish-on-tag.yml +++ b/.github/workflows/publish-on-tag.yml @@ -1,49 +1,44 @@ -name: publish to GH +name: Publish to GitHub Packages on: push: - branches: - - "!*" tags: - "*" -jobs: - build: +permissions: + contents: read + packages: write +jobs: + publish: runs-on: windows-latest steps: - - uses: actions/checkout@v7 - - name: Setup .NET 10 - uses: actions/setup-dotnet@v5 - with: - dotnet-version: 10.0.x - - name: Restore dependencies - run: dotnet restore - - name: Build - run: dotnet build --no-restore - - name: Test - run: dotnet test --no-build --verbosity normal - - # - name: run batch file - # run: ./cd.bat - - #- name: rmdir package - - - name: pack - run: dotnet pack error-reporting-csharp --configuration Release -o package > packageoutput - - #https://github.com/pj-spoelders/ExtractNugetPackagePath - - name: set variable - run: $cmdOutput = python .\print_package_path.py; $cmdOutput; echo "NPPATH=$cmdOutput" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf-8 -Append; - - # - name: echo - # run: $cmdOutput - - - name: NuGet Add Source - run: dotnet nuget add source --username exa-ci-1 --password ${{ secrets.GITHUB_TOKEN }} --store-password-in-clear-text --name github "https://nuget.pkg.github.com/EXASOL/index.json" - - # https://stackoverflow.com/questions/57889719/how-to-push-nuget-package-in-github-actions - - name: NuGet Push to GH NuGet - run: dotnet nuget push ${{ env.NPPATH }} -s "github" --api-key ${{ secrets.GITHUB_TOKEN }} + - uses: actions/checkout@v7 + + - name: Setup .NET 10 + uses: actions/setup-dotnet@v5 + with: + dotnet-version: 10.0.x + + - name: Restore dependencies + run: dotnet restore + + - name: Build + run: dotnet build --configuration Release --no-restore + + - name: Test + run: dotnet test --configuration Release --no-build --verbosity normal + + - name: Pack + run: dotnet pack error-reporting-csharp/error-reporting-csharp.csproj --configuration Release --no-build --output package + + - name: Publish package + shell: pwsh + run: | + $packages = @(Get-ChildItem -Path package -Filter '*.nupkg') + if ($packages.Count -ne 1) { + throw "Expected exactly one package, found $($packages.Count)." + } + dotnet nuget push $packages[0].FullName --source "https://nuget.pkg.github.com/EXASOL/index.json" --api-key "${{ secrets.GITHUB_TOKEN }}" --skip-duplicate diff --git a/packageoutput b/packageoutput deleted file mode 100644 index 120a2ce8fb3fabde6880837a3e8d03bf8cd833b4..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1040 zcmchWOHTqp5QOV&;(yp162k^EAXooc}OPIHa8&6RU|V=Z|x=FOaYM`sGGowy$B z1pTSnN|_g+o?|n_wqy@_0PRVKI#3r`p%wBm=r0@Z-RS+N$ZTKo!fT54+J6A`nmDKI z-$+%w?xOpcXhs~(O|4v~ed12Y z?dspNe~uaS;cX5Ja%$+V_aj?tvR!v9rLG0sG*kEMMu0o!*S6b_{EUoYK2$J!8MQ0& r_FuAp^U5qJIA@x$j*uj3{F)cLi2LTzj@bwPWuQ7s;+qgzW7F+V3a`52 diff --git a/print_package_path.py b/print_package_path.py deleted file mode 100644 index 7f102fb..0000000 --- a/print_package_path.py +++ /dev/null @@ -1,14 +0,0 @@ -import re - - -def print_package_path(): - with open('packageoutput', 'r') as file: - packageoutput = file.read() - x = re.search("(?<= Successfully created package ')[\\w\\:\\\\\\-\\.]*(?=')", packageoutput) - print(x.group()) - - -# Press the green button in the gutter to run the script. -if __name__ == '__main__': - print_package_path() - From f09bd3780883657773b38d1544f57f8179520a20 Mon Sep 17 00:00:00 2001 From: Pieterjan Spoelders Date: Wed, 24 Jun 2026 06:32:56 +0200 Subject: [PATCH 6/8] Add version doc --- doc/changes/changelog.md | 1 + doc/changes/changes_0.4.0.md | 10 ++++++++++ 2 files changed, 11 insertions(+) create mode 100644 doc/changes/changes_0.4.0.md diff --git a/doc/changes/changelog.md b/doc/changes/changelog.md index d0cd40e..065a25c 100644 --- a/doc/changes/changelog.md +++ b/doc/changes/changelog.md @@ -1,5 +1,6 @@ # Changes +* [0.4.0](changes_0.4.0.md) * [0.3.0](changes_0.3.0.md) * [0.2.0](changes_0.2.0.md) * [0.1.0](changes_0.1.0.md) diff --git a/doc/changes/changes_0.4.0.md b/doc/changes/changes_0.4.0.md new file mode 100644 index 0000000..8ac2d03 --- /dev/null +++ b/doc/changes/changes_0.4.0.md @@ -0,0 +1,10 @@ +# error-reporting-csharp 0.4.0, released 2026-xx-xx + +Code Name: Publishing Improvements + +## Features / Enhancements + +* Updated the targeted .NET framework and package dependencies +* Improved GitHub Packages publishing workflow +* Removed Python package path extraction script +* Removed generated package output file from version control From 72044b2b32ff44786bc87fc11aa4b76833a1ef67 Mon Sep 17 00:00:00 2001 From: Pieterjan Spoelders Date: Wed, 24 Jun 2026 07:16:00 +0200 Subject: [PATCH 7/8] Changed version # --- doc/changes/changelog.md | 2 +- doc/changes/{changes_0.4.0.md => changes_1.0.0.md} | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename doc/changes/{changes_0.4.0.md => changes_1.0.0.md} (84%) diff --git a/doc/changes/changelog.md b/doc/changes/changelog.md index 065a25c..2319cb7 100644 --- a/doc/changes/changelog.md +++ b/doc/changes/changelog.md @@ -1,6 +1,6 @@ # Changes -* [0.4.0](changes_0.4.0.md) +* [1.0.0](changes_1.0.0.md) * [0.3.0](changes_0.3.0.md) * [0.2.0](changes_0.2.0.md) * [0.1.0](changes_0.1.0.md) diff --git a/doc/changes/changes_0.4.0.md b/doc/changes/changes_1.0.0.md similarity index 84% rename from doc/changes/changes_0.4.0.md rename to doc/changes/changes_1.0.0.md index 8ac2d03..dace01d 100644 --- a/doc/changes/changes_0.4.0.md +++ b/doc/changes/changes_1.0.0.md @@ -1,4 +1,4 @@ -# error-reporting-csharp 0.4.0, released 2026-xx-xx +# error-reporting-csharp 1.0.0, released 2026-06-24 Code Name: Publishing Improvements From 5fec2c4a64763ece2391a558fa84889db5722613 Mon Sep 17 00:00:00 2001 From: Pieterjan Spoelders Date: Thu, 25 Jun 2026 10:14:07 +0200 Subject: [PATCH 8/8] add dependency update section --- doc/changes/changes_1.0.0.md | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/doc/changes/changes_1.0.0.md b/doc/changes/changes_1.0.0.md index dace01d..88b3d34 100644 --- a/doc/changes/changes_1.0.0.md +++ b/doc/changes/changes_1.0.0.md @@ -1,4 +1,4 @@ -# error-reporting-csharp 1.0.0, released 2026-06-24 +# error-reporting-csharp 1.0.0, released 2026-06-25 Code Name: Publishing Improvements @@ -8,3 +8,18 @@ Code Name: Publishing Improvements * Improved GitHub Packages publishing workflow * Removed Python package path extraction script * Removed generated package output file from version control + +## Dependency Updates + +### `error-reporting-csharp/error-reporting-csharp.csproj` + +* Updated `TargetFramework` from `netcoreapp3.1` to `net10.0` + +### `error-reporting-csharp-tests/error-reporting-csharp-tests.csproj` + +* Updated `TargetFramework` from `netcoreapp3.1` to `net10.0` +* Updated `Microsoft.NET.Test.Sdk` from `16.9.4` to `18.7.0` +* Updated `xunit` from `2.4.1` to `2.9.3` +* Updated `xunit.runner.console` from `2.4.1` to `2.9.3` +* Updated `xunit.runner.visualstudio` from `2.4.3` to `3.1.5` +* Updated `coverlet.collector` from `3.0.3` to `10.0.1`