diff --git a/.github/workflows/CodeQuality.yml b/.github/workflows/CodeQuality.yml index fff31d9..3033aaa 100644 --- a/.github/workflows/CodeQuality.yml +++ b/.github/workflows/CodeQuality.yml @@ -10,13 +10,19 @@ jobs: name: Build runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis + - name: Set up JDK 17 + uses: actions/setup-java@v2 + with: + distribution: 'temurin' + java-version: '17' + overwrite-settings: false - name: Setup dotnet - uses: actions/setup-dotnet@v1 + uses: actions/setup-dotnet@v2 with: - dotnet-version: '6.0.x' + dotnet-version: '8.0.x' - name: Restore dependencies run: dotnet restore @@ -38,7 +44,4 @@ jobs: - name: Sonarqube end run: dotnet sonarscanner end /d:sonar.login="${{ secrets.SONAR_TOKEN }}" env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - - name: Codecov - uses: codecov/codecov-action@v1 \ No newline at end of file + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 3dd1ce0..6f0f2f5 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -13,7 +13,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: # We must fetch at least the immediate parents so that if this is # a pull request then we can checkout the head. @@ -21,19 +21,19 @@ jobs: # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL - uses: github/codeql-action/init@v1 + uses: github/codeql-action/init@v2 # Override language selection by uncommenting this and choosing your languages with: languages: csharp - name: Setup .NET Core - uses: actions/setup-dotnet@v1 + uses: actions/setup-dotnet@v3 with: - dotnet-version: 6.0.x + dotnet-version: 8.0.x - name: Install dependencies run: dotnet restore - name: Build run: dotnet build --configuration Release --no-restore - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v1 + uses: github/codeql-action/analyze@v2 diff --git a/NOTICE b/NOTICE index bce512d..2eb3457 100644 --- a/NOTICE +++ b/NOTICE @@ -1,2 +1,2 @@ Net-Project-Package-Extractor -Copyright 2022 RHEA System S.A. \ No newline at end of file +Copyright 2022-2024 RHEA System S.A. \ No newline at end of file diff --git a/NetProjectPackageExtractor.Tests/Commands/ExtractCommandTestFixture.cs b/NetProjectPackageExtractor.Tests/Commands/ExtractCommandTestFixture.cs index 4904980..a95837b 100644 --- a/NetProjectPackageExtractor.Tests/Commands/ExtractCommandTestFixture.cs +++ b/NetProjectPackageExtractor.Tests/Commands/ExtractCommandTestFixture.cs @@ -1,7 +1,7 @@ // ------------------------------------------------------------------------------------------------- // // -// Copyright 2022 RHEA System S.A. +// Copyright 2022-2024 RHEA System S.A. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/NetProjectPackageExtractor.Tests/NetProjectPackageExtractor.Tests.csproj b/NetProjectPackageExtractor.Tests/NetProjectPackageExtractor.Tests.csproj index 1794478..ea9ac01 100644 --- a/NetProjectPackageExtractor.Tests/NetProjectPackageExtractor.Tests.csproj +++ b/NetProjectPackageExtractor.Tests/NetProjectPackageExtractor.Tests.csproj @@ -1,25 +1,25 @@  - net6.0 + net8.0 enable false RHEA System S.A. Sam Gerené, Alexander van Delft - Copyright 2022 RHEA System S.A. + Copyright 2022-2024 RHEA System S.A. - - - - - - + + + + + + all runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/NetProjectPackageExtractor.Tests/Resources/ResourceLoaderTestFixture.cs b/NetProjectPackageExtractor.Tests/Resources/ResourceLoaderTestFixture.cs index 36d7466..9772fc4 100644 --- a/NetProjectPackageExtractor.Tests/Resources/ResourceLoaderTestFixture.cs +++ b/NetProjectPackageExtractor.Tests/Resources/ResourceLoaderTestFixture.cs @@ -1,7 +1,7 @@ // ------------------------------------------------------------------------------------------------- // // -// Copyright 2022 RHEA System S.A. +// Copyright 2022-2024 RHEA System S.A. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/NetProjectPackageExtractor.Tests/Services/NuGetReaderTestFixture.cs b/NetProjectPackageExtractor.Tests/Services/NuGetReaderTestFixture.cs index 44f144d..8f6774b 100644 --- a/NetProjectPackageExtractor.Tests/Services/NuGetReaderTestFixture.cs +++ b/NetProjectPackageExtractor.Tests/Services/NuGetReaderTestFixture.cs @@ -1,7 +1,7 @@ // ------------------------------------------------------------------------------------------------- // // -// Copyright 2022 RHEA System S.A. +// Copyright 2022-2024 RHEA System S.A. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/NetProjectPackageExtractor.Tests/Services/PackageToExcelWriterTestFixture.cs b/NetProjectPackageExtractor.Tests/Services/PackageToExcelWriterTestFixture.cs index 42e94fc..8346c84 100644 --- a/NetProjectPackageExtractor.Tests/Services/PackageToExcelWriterTestFixture.cs +++ b/NetProjectPackageExtractor.Tests/Services/PackageToExcelWriterTestFixture.cs @@ -1,7 +1,7 @@ // ------------------------------------------------------------------------------------------------- // // -// Copyright 2022 RHEA System S.A. +// Copyright 2022-2024 RHEA System S.A. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/NetProjectPackageExtractor.Tests/Services/ProjectFileExtractorTestFixture.cs b/NetProjectPackageExtractor.Tests/Services/ProjectFileExtractorTestFixture.cs index 3912aa2..60a2fab 100644 --- a/NetProjectPackageExtractor.Tests/Services/ProjectFileExtractorTestFixture.cs +++ b/NetProjectPackageExtractor.Tests/Services/ProjectFileExtractorTestFixture.cs @@ -1,7 +1,7 @@ // ------------------------------------------------------------------------------------------------- // // -// Copyright 2022 RHEA System S.A. +// Copyright 2022-2024 RHEA System S.A. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/NetProjectPackageExtractor.Tests/Services/ProjectFileParserTestFixture.cs b/NetProjectPackageExtractor.Tests/Services/ProjectFileParserTestFixture.cs index 0c1a3c6..e37cdf0 100644 --- a/NetProjectPackageExtractor.Tests/Services/ProjectFileParserTestFixture.cs +++ b/NetProjectPackageExtractor.Tests/Services/ProjectFileParserTestFixture.cs @@ -1,7 +1,7 @@ // ------------------------------------------------------------------------------------------------- // // -// Copyright 2022 RHEA System S.A. +// Copyright 2022-2024 RHEA System S.A. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/NetProjectPackageExtractor/Commands/ExtractCommand.cs b/NetProjectPackageExtractor/Commands/ExtractCommand.cs index 3489a0b..b531213 100644 --- a/NetProjectPackageExtractor/Commands/ExtractCommand.cs +++ b/NetProjectPackageExtractor/Commands/ExtractCommand.cs @@ -1,7 +1,7 @@ // ------------------------------------------------------------------------------------------------- // // -// Copyright 2022 RHEA System S.A. +// Copyright 2022-2024 RHEA System S.A. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/NetProjectPackageExtractor/Model/Package.cs b/NetProjectPackageExtractor/Model/Package.cs index 65a9d60..a47b7a8 100644 --- a/NetProjectPackageExtractor/Model/Package.cs +++ b/NetProjectPackageExtractor/Model/Package.cs @@ -1,7 +1,7 @@ // ------------------------------------------------------------------------------------------------- // // -// Copyright 2022 RHEA System S.A. +// Copyright 2022-2024 RHEA System S.A. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/NetProjectPackageExtractor/NetProjectPackageExtractor.csproj b/NetProjectPackageExtractor/NetProjectPackageExtractor.csproj index 6a815a7..61c1495 100644 --- a/NetProjectPackageExtractor/NetProjectPackageExtractor.csproj +++ b/NetProjectPackageExtractor/NetProjectPackageExtractor.csproj @@ -3,19 +3,20 @@ NET Project Package Extractor A command line application that extracts all nuget information from csproj files in a nested directory structure and saves the result to a spreadsheet. - net6.0 + net8.0 Exe true nppe nppe ./nupkg - 1.0.1 + 2.0.0 disable + README.md RHEA System S.A. - Copyright 2022 RHEA System S.A. + Copyright 2022-2024 RHEA System S.A. Sam Gerené, Alexander van Delft Apache-2.0 true @@ -37,15 +38,19 @@ - - + + - + + + + + diff --git a/NetProjectPackageExtractor/Program.cs b/NetProjectPackageExtractor/Program.cs index 817c7c5..bc612a5 100644 --- a/NetProjectPackageExtractor/Program.cs +++ b/NetProjectPackageExtractor/Program.cs @@ -1,7 +1,7 @@ // ------------------------------------------------------------------------------------------------- // // -// Copyright 2022 RHEA System S.A. +// Copyright 2022-2024 RHEA System S.A. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/NetProjectPackageExtractor/Resources/ResourceLoader.cs b/NetProjectPackageExtractor/Resources/ResourceLoader.cs index ec90d66..241ae3d 100644 --- a/NetProjectPackageExtractor/Resources/ResourceLoader.cs +++ b/NetProjectPackageExtractor/Resources/ResourceLoader.cs @@ -1,7 +1,7 @@ // ------------------------------------------------------------------------------------------------- // // -// Copyright 2022 RHEA System S.A. +// Copyright 2022-2024 RHEA System S.A. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/NetProjectPackageExtractor/Resources/ascii-art.txt b/NetProjectPackageExtractor/Resources/ascii-art.txt index 9e01b78..36f3810 100644 --- a/NetProjectPackageExtractor/Resources/ascii-art.txt +++ b/NetProjectPackageExtractor/Resources/ascii-art.txt @@ -14,7 +14,7 @@ ███████╗██╔╝ ██╗ ██║ ██║ ██║██║ ██║╚██████╗ ██║ ╚██████╔╝██║ ██║ ╚══════╝╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝ - copyright 2022 RHEA Group S.A. https://www.rheagroup.com + copyright 2022-2024 RHEA Group S.A. https://www.rheagroup.com email: info@rheagroup.com NET PROJECT EXTRACTOR version: NetProjectExtractorVersion diff --git a/NetProjectPackageExtractor/Services/INuGetReader.cs b/NetProjectPackageExtractor/Services/INuGetReader.cs index e0b3049..afbb432 100644 --- a/NetProjectPackageExtractor/Services/INuGetReader.cs +++ b/NetProjectPackageExtractor/Services/INuGetReader.cs @@ -1,7 +1,7 @@ // ------------------------------------------------------------------------------------------------- // // -// Copyright 2022 RHEA System S.A. +// Copyright 2022-2024 RHEA System S.A. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/NetProjectPackageExtractor/Services/IPackageToExcelWriter.cs b/NetProjectPackageExtractor/Services/IPackageToExcelWriter.cs index b61af4f..101b37b 100644 --- a/NetProjectPackageExtractor/Services/IPackageToExcelWriter.cs +++ b/NetProjectPackageExtractor/Services/IPackageToExcelWriter.cs @@ -1,7 +1,7 @@ // ------------------------------------------------------------------------------------------------- // // -// Copyright 2022 RHEA System S.A. +// Copyright 2022-2024 RHEA System S.A. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/NetProjectPackageExtractor/Services/IProjectFileExtractor.cs b/NetProjectPackageExtractor/Services/IProjectFileExtractor.cs index 544f365..5b51008 100644 --- a/NetProjectPackageExtractor/Services/IProjectFileExtractor.cs +++ b/NetProjectPackageExtractor/Services/IProjectFileExtractor.cs @@ -1,7 +1,7 @@ // ------------------------------------------------------------------------------------------------- // // -// Copyright 2022 RHEA System S.A. +// Copyright 2022-2024 RHEA System S.A. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/NetProjectPackageExtractor/Services/IProjectFileParser.cs b/NetProjectPackageExtractor/Services/IProjectFileParser.cs index d9014fb..7ebfcbb 100644 --- a/NetProjectPackageExtractor/Services/IProjectFileParser.cs +++ b/NetProjectPackageExtractor/Services/IProjectFileParser.cs @@ -1,7 +1,7 @@ // ------------------------------------------------------------------------------------------------- // // -// Copyright 2022 RHEA System S.A. +// Copyright 2022-2024 RHEA System S.A. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/NetProjectPackageExtractor/Services/NuGetReader.cs b/NetProjectPackageExtractor/Services/NuGetReader.cs index b70b36d..85e0d79 100644 --- a/NetProjectPackageExtractor/Services/NuGetReader.cs +++ b/NetProjectPackageExtractor/Services/NuGetReader.cs @@ -1,7 +1,7 @@ // ------------------------------------------------------------------------------------------------- // // -// Copyright 2022 RHEA System S.A. +// Copyright 2022-2024 RHEA System S.A. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/NetProjectPackageExtractor/Services/PackageToExcelWriter.cs b/NetProjectPackageExtractor/Services/PackageToExcelWriter.cs index e72eef7..e29d064 100644 --- a/NetProjectPackageExtractor/Services/PackageToExcelWriter.cs +++ b/NetProjectPackageExtractor/Services/PackageToExcelWriter.cs @@ -1,7 +1,7 @@ // ------------------------------------------------------------------------------------------------- // // -// Copyright 2022 RHEA System S.A. +// Copyright 2022-2024 RHEA System S.A. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/NetProjectPackageExtractor/Services/ProjectFileExtractor.cs b/NetProjectPackageExtractor/Services/ProjectFileExtractor.cs index 6e9c9bc..1baf2c7 100644 --- a/NetProjectPackageExtractor/Services/ProjectFileExtractor.cs +++ b/NetProjectPackageExtractor/Services/ProjectFileExtractor.cs @@ -1,7 +1,7 @@ // ------------------------------------------------------------------------------------------------- // // -// Copyright 2022 RHEA System S.A. +// Copyright 2022-2024 RHEA System S.A. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/NetProjectPackageExtractor/Services/ProjectFileParser.cs b/NetProjectPackageExtractor/Services/ProjectFileParser.cs index b865960..64e76bd 100644 --- a/NetProjectPackageExtractor/Services/ProjectFileParser.cs +++ b/NetProjectPackageExtractor/Services/ProjectFileParser.cs @@ -1,7 +1,7 @@ // ------------------------------------------------------------------------------------------------- // // -// Copyright 2022 RHEA System S.A. +// Copyright 2022-2024 RHEA System S.A. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License.