Skip to content
Merged
Show file tree
Hide file tree
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
10 changes: 4 additions & 6 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,20 @@
name: .NET

on:
push:
branches: [ ]
pull_request:
branches: [ ]
branches: [ main ]

jobs:
build:

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
Expand Down
77 changes: 33 additions & 44 deletions .github/workflows/publish-on-tag.yml
Original file line number Diff line number Diff line change
@@ -1,55 +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@v2
- name: Setup .NET 3
uses: actions/setup-dotnet@v1
with:
dotnet-version: 3.1.x

- name: Setup .NET 5
uses: actions/setup-dotnet@v1
with:
dotnet-version: 5.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

26 changes: 26 additions & 0 deletions SECURITY.md
Original file line number Diff line number Diff line change
@@ -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 `[email protected]`.

## 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.

1 change: 1 addition & 0 deletions doc/changes/changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Changes

* [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)
25 changes: 25 additions & 0 deletions doc/changes/changes_1.0.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# error-reporting-csharp 1.0.0, released 2026-06-25

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

## 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`
12 changes: 6 additions & 6 deletions error-reporting-csharp-tests/error-reporting-csharp-tests.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
<TargetFramework>net10.0</TargetFramework>
<RootNamespace>error_reporting_csharp_tests</RootNamespace>

<IsPackable>false</IsPackable>
Expand All @@ -13,17 +13,17 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.9.4" />
<PackageReference Include="xunit" Version="2.4.1" />
<PackageReference Include="xunit.runner.console" Version="2.4.1">
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="18.7.0" />
<PackageReference Include="xunit" Version="2.9.3" />
<PackageReference Include="xunit.runner.console" Version="2.9.3">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.3">
<PackageReference Include="xunit.runner.visualstudio" Version="3.1.5">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="coverlet.collector" Version="3.0.3">
<PackageReference Include="coverlet.collector" Version="10.0.1">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand Down
2 changes: 1 addition & 1 deletion error-reporting-csharp/error-reporting-csharp.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
<TargetFramework>net10.0</TargetFramework>
<RootNamespace>error_reporting_csharp</RootNamespace>
<Authors>Pieterjan Spoelders</Authors>
<Company>Exasol AG</Company>
Expand Down
Binary file removed packageoutput
Binary file not shown.
14 changes: 0 additions & 14 deletions print_package_path.py

This file was deleted.