From 34f771415052e7c7b8a1057f951e306e861ff085 Mon Sep 17 00:00:00 2001 From: Raffael Herrmann Date: Sun, 31 Oct 2021 14:35:29 +0100 Subject: [PATCH 1/5] Added strong name signing --- QRCoder/QRCoder.csproj | 3 +++ QRCoder/QRCoderStrongName.snk | Bin 0 -> 596 bytes 2 files changed, 3 insertions(+) create mode 100644 QRCoder/QRCoderStrongName.snk diff --git a/QRCoder/QRCoder.csproj b/QRCoder/QRCoder.csproj index 89dbc33a..0a9edb33 100644 --- a/QRCoder/QRCoder.csproj +++ b/QRCoder/QRCoder.csproj @@ -39,6 +39,9 @@ $(MSBuildProgramFiles32)\Reference Assemblies\Microsoft\Framework\.NETFramework\v3.5\Profile\Client false + true + QRCoderStrongName.snk + false \ No newline at end of file diff --git a/QRCoder/QRCoderStrongName.snk b/QRCoder/QRCoderStrongName.snk new file mode 100644 index 0000000000000000000000000000000000000000..b65030e13038d160e9b4fb727cbf70a400fe35c3 GIT binary patch literal 596 zcmV-a0;~N80ssI2Bme+XQ$aES1ONa50097T=S@Ft%er?a{JVP4S}poJjuZL6DLBAg z;%2Bie>{~S8+_cJABcn?lkDhd!|Zr;2-QAXgE`Vr&qmF`gbIc zB7a~j2Zi83b#C-6tH<7dgLZ^`akKIRR;d?k$be^9KI2dxVfd;Cz1I&xL5YU@d7+~x z))ffmD`M&b*pgc4QE*7j^G(gStAEY%d0Ukte-AET!+y~^e&yQkK9ewd?MT)m16-gq z<;v;J0_yg7FQUt*tc!{zQn{AHJfnvB=O()GT^b+<$njit;HuzKUo!FogMh{-Hlb9T zQQ!=WeOw1WShG=qL+($R1|IW-$+gXImtzh|8{$U$WGc&&^9j<#j$&N*a%hg;=Zdr; zjXI`RD5*92HR%?W_xJU{mIz@WzI3eA{9`NpP5+wtsKLBVF^)+g%6f1~I~z2?*Cs=U z!dUrC@4O)OCP~V4#MS)fjLCFRWG&ffAqK&T_5XMbTJi(buO}osbm1?r%Qm-_BBW#~ z|MD6+)|Ip#WAPkQXU2-dHW90#%m@G=^Q^b6VRC&8n~?(jyJR70Dy8iYPpB?MsbC^C^YM(A7g1PbpRS iYw@zuTE~fq09fv0TxAmQn@FTUAY=!aQ`RtCjAcL=o*^Cp literal 0 HcmV?d00001 From 4d33df0f526f96a5eb9d9b49273fea5fb1b1d8ad Mon Sep 17 00:00:00 2001 From: Raffael Herrmann Date: Sun, 31 Oct 2021 14:37:04 +0100 Subject: [PATCH 2/5] Updated NuGet package specification to new standards Added NuGet readme, replaced PackageIconUrl by PackageIcon, etc. --- QRCoder/Assets/nuget-icon.png | Bin 0 -> 22929 bytes QRCoder/Assets/nuget-readme.md | 54 +++++++++++++++++++++++++++++++++ QRCoder/QRCoder.csproj | 17 ++++++++--- 3 files changed, 66 insertions(+), 5 deletions(-) create mode 100644 QRCoder/Assets/nuget-icon.png create mode 100644 QRCoder/Assets/nuget-readme.md diff --git a/QRCoder/Assets/nuget-icon.png b/QRCoder/Assets/nuget-icon.png new file mode 100644 index 0000000000000000000000000000000000000000..118fe3a1a2a15409f6bfce4c80d454f8df452588 GIT binary patch literal 22929 zcmeHPeN0v78NcW{T0dY#7Z9trMVzrNvCdFoDt8DQSIu;(Lvbcj!Nje)33K>SFI+!1 zEKY}*xOLgBG}#gtp{3{=O?9Z{%XQl&TPA9!k&n%r`hn6L1qANd^Lw86J@;OW%hI(* z?D@kSfpgw-&U=2(^ZcIQ^Sp2AcNS%i9uYsnX0wf+@633~W*hb|{Cjd3{pM`rv9Hk~ zV#7pZSP>_`;gBZ>QO8HDx3FS3N;LKb7xXzQJaTs>8pCruDyHZL=-^%KVJ9 z?`~dsv*mAv&#YKyOY>FyVW4fq%NOUo|IdYQ4*R}sX8I2dpSwB5=h;wuVIUhv@3Is2 zX*l-2(w+BjI;P~@EUv=QS9!VY0FJJA`)YnnM^E)e$5I^q=Q^7{;6XmL2C?Skv&Kow zKz471|IW$78M&j^Oo>@s^J>BjZ_lCZ0oRP`SN0Y~R#f}4CdaHzo?X6q_qj2p1&xk| zYrdav$y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http://code-bude.net/downloads/qrcoder-logo.png + nuget-icon.png + nuget-readme.md c# csharp qr qrcoder qrcode qr-generator qr-code-generator https://github.com/codebude/QRCoder.git + git + QRCoder is a simple library, written in C#.NET, which enables you to create QR codes. + + + + + - + @@ -43,5 +52,3 @@ QRCoderStrongName.snk false - - \ No newline at end of file From 1cfb71ec7c286ae50f0904b4eb39b210db666a51 Mon Sep 17 00:00:00 2001 From: Raffael Herrmann Date: Sun, 31 Oct 2021 14:38:02 +0100 Subject: [PATCH 3/5] Added Github-Actions for build, removed MyGet Removes MyGet build script and introduces Github Actions as new "build engine". --- .github/workflows/wf-build-release-ci.yml | 112 ++++++++++++++++++++++ .github/workflows/wf-build-release.yml | 107 +++++++++++++++++++++ MyGet.bat | 31 ------ QRCoder/QRCoder.csproj | 3 + QRCoderTests/QRCoderTests.csproj | 11 ++- 5 files changed, 232 insertions(+), 32 deletions(-) create mode 100644 .github/workflows/wf-build-release-ci.yml create mode 100644 .github/workflows/wf-build-release.yml delete mode 100644 MyGet.bat diff --git a/.github/workflows/wf-build-release-ci.yml b/.github/workflows/wf-build-release-ci.yml new file mode 100644 index 00000000..ada377ce --- /dev/null +++ b/.github/workflows/wf-build-release-ci.yml @@ -0,0 +1,112 @@ +name: Build, test, pack, push (CI) +on: + + push: + branches: + - master + pull_request: + branches: + - master + workflow_dispatch: +jobs: + build: + runs-on: windows-latest + env: + ACTIONS_ALLOW_UNSECURE_COMMANDS: true + steps: + - uses: actions/checkout@v1 + name: Checkout Code + + - name: Setup MSBuild Ppth + uses: microsoft/setup-msbuild@v1 + + - name: Setup NuGet + uses: NuGet/setup-nuget@v1.0.2 + + - name: Restore NuGet Packages + run: nuget restore QRCoder.sln + + - name: Build library + run: msbuild QRCoder.sln /p:Configuration=Release /nr:false /t:Rebuild + + - name: Upload artifacts + uses: actions/upload-artifact@v1.0.0 + with: + name: Compiled project + path: D:\a\qrcoder\qrcoder + + test: + needs: build + runs-on: windows-latest + steps: + - name: Download artifacts + uses: actions/download-artifact@v1.0.0 + with: + name: Compiled project + path: D:\a\qrcoder\qrcoder + - name: Run test .NET 3.5 + run: dotnet test -c Release -f net35 --nologo --no-build # No coverage for NET3.5 because of bug in combination with Coverlet+Stron naming + - name: Run test .NET 4.52 + run: dotnet test -c Release -f net452 --nologo --no-build # No coverage for NET4.5 because of bug in combination with Coverlet+Stron naming +# Skip 1.1 test due to missing support on Github runner +# - name: Run test .NET Core 1.1 +# run: dotnet test -c Release -f netcoreapp1.1 --nologo + - name: Run test .NET Core 2.0 + run: dotnet test -c Release -f netcoreapp2.0 --nologo /p:CollectCoverage=true /p:CoverletOutputFormat=opencover + - name: Run test .NET 5.0 + run: dotnet test -c Release -f net5.0 --nologo --no-build /p:CollectCoverage=true /p:CoverletOutputFormat=opencover + - name: Run test .NET 5.0 Windows + run: dotnet test -c Release -f net5.0-windows --nologo --no-build /p:CollectCoverage=true /p:CoverletOutputFormat=opencover + - name: Codecov update netcoreapp2.0 + uses: codecov/codecov-action@v2 + with: + token: ${{ secrets.CODECOV_TOKEN }} + files: ./QRCoderTests/coverage.netcoreapp2.0.opencover.xml + flags: netcoreapp2.0 + - name: Codecov update net5.0 + uses: codecov/codecov-action@v2 + with: + token: ${{ secrets.CODECOV_TOKEN }} + files: ./QRCoderTests/coverage.net5.0.opencover.xml + flags: net5.0 + - name: Codecov update net5.0-windows + uses: codecov/codecov-action@v2 + with: + token: ${{ secrets.CODECOV_TOKEN }} + files: ./QRCoderTests/coverage.net5.0-windows.opencover.xml + flags: net5.0-windows + + pack-push-ci: + needs: test + runs-on: windows-latest + env: + GH_PKG_SEC: ${{ secrets.GH_PKG_REPO }} + steps: + - name: Download artifacts + uses: actions/download-artifact@v1.0.0 + with: + name: Compiled project + path: D:\a\qrcoder\qrcoder + - name: Restore dependencies + run: dotnet restore + - name: Get assembly version + run: echo "ASSEM_VER=$([Reflection.Assembly]::Loadfile( $(-join($pwd,"\QRCoder\bin\Release\net40\QRCoder.dll"))).GetName().version.ToString())" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf-8 -Append + - name: Clean assembly version + run: echo "ASSEM_VER_SHT=$($env:ASSEM_VER.substring(0, $env:ASSEM_VER.lastIndexOf(".")))" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf-8 -Append + - name: Calculate ci suffix + run: echo "CI_TAG=-ci-$([datetime]::now.tostring("yyyyMMddHHmmss"))" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf-8 -Append + - name: Build NuGet package + run: dotnet pack QRCoder\QRCoder.csproj -c Release --no-build /p:PackageVersion="$env:ASSEM_VER_SHT$env:CI_TAG" /p:PackageReleaseNotes="- This is an automatic CI build ($env:CI_TAG)`n- Please don't use it in productive environments!" + - name: Publish to Github packages + run: dotnet nuget push "**/*.nupkg" --no-symbols --skip-duplicate --api-key $env:GH_PKG_SEC --source https://nuget.pkg.github.com/codebude/index.json + + + clean: + needs: [build, test, pack-push-ci] + if: always() + runs-on: windows-latest + steps: + - name: Delete artifacts + uses: GeekyEggo/delete-artifact@v1.0.0 + with: + name: Compiled project diff --git a/.github/workflows/wf-build-release.yml b/.github/workflows/wf-build-release.yml new file mode 100644 index 00000000..e3ff6973 --- /dev/null +++ b/.github/workflows/wf-build-release.yml @@ -0,0 +1,107 @@ +name: Build, test, pack, push (Release) +on: + workflow_dispatch: + inputs: + releaseNotes: + description: 'Release Notes (use `n for new line)' + required: true +jobs: + build: + runs-on: windows-latest + env: + ACTIONS_ALLOW_UNSECURE_COMMANDS: true + steps: + - uses: actions/checkout@v1 + name: Checkout Code + + - name: Setup MSBuild Ppth + uses: microsoft/setup-msbuild@v1 + + - name: Setup NuGet + uses: NuGet/setup-nuget@v1.0.2 + + - name: Restore NuGet Packages + run: nuget restore QRCoder.sln + + - name: Build library + run: msbuild QRCoder.sln /p:Configuration=Release /nr:false /t:Rebuild + + - name: Upload artifacts + uses: actions/upload-artifact@v1.0.0 + with: + name: Compiled project + path: D:\a\qrcoder\qrcoder + + test: + needs: build + runs-on: windows-latest + steps: + - name: Download artifacts + uses: actions/download-artifact@v1.0.0 + with: + name: Compiled project + path: D:\a\qrcoder\qrcoder + - name: Run test .NET 3.5 + run: dotnet test -c Release -f net35 --nologo --no-build # No coverage for NET3.5 because of bug in combination with Coverlet+Stron naming + - name: Run test .NET 4.52 + run: dotnet test -c Release -f net452 --nologo --no-build # No coverage for NET4.5 because of bug in combination with Coverlet+Stron naming +# Skip 1.1 test due to missing support on Github runner +# - name: Run test .NET Core 1.1 +# run: dotnet test -c Release -f netcoreapp1.1 --nologo + - name: Run test .NET Core 2.0 + run: dotnet test -c Release -f netcoreapp2.0 --nologo /p:CollectCoverage=true /p:CoverletOutputFormat=opencover + - name: Run test .NET 5.0 + run: dotnet test -c Release -f net5.0 --nologo --no-build /p:CollectCoverage=true /p:CoverletOutputFormat=opencover + - name: Run test .NET 5.0 Windows + run: dotnet test -c Release -f net5.0-windows --nologo --no-build /p:CollectCoverage=true /p:CoverletOutputFormat=opencover + - name: Codecov update netcoreapp2.0 + uses: codecov/codecov-action@v2 + with: + token: ${{ secrets.CODECOV_TOKEN }} + files: ./QRCoderTests/coverage.netcoreapp2.0.opencover.xml + flags: netcoreapp2.0 + - name: Codecov update net5.0 + uses: codecov/codecov-action@v2 + with: + token: ${{ secrets.CODECOV_TOKEN }} + files: ./QRCoderTests/coverage.net5.0.opencover.xml + flags: net5.0 + - name: Codecov update net5.0-windows + uses: codecov/codecov-action@v2 + with: + token: ${{ secrets.CODECOV_TOKEN }} + files: ./QRCoderTests/coverage.net5.0-windows.opencover.xml + flags: net5.0-windows + +pack-push-release: + needs: test + runs-on: windows-latest + env: + GH_PKG_SEC: ${{ secrets.GH_PKG_REPO }} + steps: + - name: Download artifacts + uses: actions/download-artifact@v1.0.0 + with: + name: Compiled project + path: D:\a\qrcoder\qrcoder + - name: Restore dependencies + run: dotnet restore + - name: Get assembly version + run: echo "ASSEM_VER=$([Reflection.Assembly]::Loadfile( $(-join($pwd,"\QRCoder\bin\Release\net40\QRCoder.dll"))).GetName().version.ToString())" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf-8 -Append + - name: Clean assembly version + run: echo "ASSEM_VER_SHT=$($env:ASSEM_VER.substring(0, $env:ASSEM_VER.lastIndexOf(".")))" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf-8 -Append + - name: Build NuGet package + run: dotnet pack QRCoder\QRCoder.csproj -c Release --no-build /p:PackageVersion="$env:ASSEM_VER_SHT" /p:PackageReleaseNotes="${{ github.event.inputs.releaseNotes }}" + - name: Publish to Github packages + run: dotnet nuget push "**/*.nupkg" --no-symbols --skip-duplicate --api-key $env:GH_PKG_SEC --source https://nuget.pkg.github.com/codebude/index.json + + + clean: + needs: [build, test, pack-push-release] + if: always() + runs-on: windows-latest + steps: + - name: Delete artifacts + uses: GeekyEggo/delete-artifact@v1.0.0 + with: + name: Compiled project \ No newline at end of file diff --git a/MyGet.bat b/MyGet.bat deleted file mode 100644 index 8e0b0783..00000000 --- a/MyGet.bat +++ /dev/null @@ -1,31 +0,0 @@ -@echo Off -set config=%1 -if "%config%" == "" ( - set config=Release -) - -echo Working dir: %cd% - -dotnet clean -c %config% - -dotnet build -c %config% || EXIT /B 1 - -echo Assembly information - -powershell -Command "[Reflection.Assembly]::ReflectionOnlyLoadFrom(\"%cd%\QRCoder\bin\%config%\net35\QRCoder.dll\").ImageRuntimeVersion" -certUtil -hashfile "QRCoder\bin\%config%\net35\QRCoder.dll" md5 - -powershell -Command "[Reflection.Assembly]::ReflectionOnlyLoadFrom(\"%cd%\QRCoder\bin\%config%\net40\QRCoder.dll\").ImageRuntimeVersion" -certUtil -hashfile "QRCoder\bin\%config%\net40\QRCoder.dll" md5 - -powershell -Command "[Reflection.Assembly]::ReflectionOnlyLoadFrom(\"%cd%\QRCoder\bin\%config%\netstandard1.1\QRCoder.dll\").ImageRuntimeVersion" -certUtil -hashfile "QRCoder\bin\%config%\netstandard1.1\QRCoder.dll" md5 - -powershell -Command "[Reflection.Assembly]::ReflectionOnlyLoadFrom(\"%cd%\QRCoder\bin\%config%\netstandard2.0\QRCoder.dll\").ImageRuntimeVersion" -certUtil -hashfile "QRCoder\bin\%config%\netstandard2.0\QRCoder.dll" md5 - -dotnet test QRCoderTests\QRCoderTests.csproj --framework net452 || EXIT /B 1 -dotnet test QRCoderTests\QRCoderTests.csproj --framework netcoreapp1.1 || EXIT /B 1 -dotnet test QRCoderTests\QRCoderTests.csproj --framework netcoreapp2.0 || EXIT /B 1 - -dotnet pack QRCoder\QRCoder.csproj -c %config% --no-build diff --git a/QRCoder/QRCoder.csproj b/QRCoder/QRCoder.csproj index f2eab77e..ec6c4618 100644 --- a/QRCoder/QRCoder.csproj +++ b/QRCoder/QRCoder.csproj @@ -7,6 +7,7 @@ true $(DefineConstants);NET5_0_WINDOWS false + true @@ -52,3 +53,5 @@ QRCoderStrongName.snk false + + diff --git a/QRCoderTests/QRCoderTests.csproj b/QRCoderTests/QRCoderTests.csproj index f83a5cab..b14a2471 100644 --- a/QRCoderTests/QRCoderTests.csproj +++ b/QRCoderTests/QRCoderTests.csproj @@ -7,6 +7,7 @@ false true false + true @@ -27,6 +28,14 @@ + + runtime; build; native; contentfiles; analyzers; buildtransitive + all + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + @@ -41,4 +50,4 @@ $(MSBuildProgramFiles32)\Reference Assemblies\Microsoft\Framework\.NETFramework\v3.5\Profile\Client false - \ No newline at end of file + From f81b6c54d96e6f555522a7a4fa094856252ad742 Mon Sep 17 00:00:00 2001 From: Raffael Herrmann Date: Sun, 31 Oct 2021 14:38:30 +0100 Subject: [PATCH 4/5] Added Coverage Info and new CI-build source --- readme.md | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/readme.md b/readme.md index 8899f4c6..6f75c4b4 100644 --- a/readme.md +++ b/readme.md @@ -1,6 +1,12 @@ # QRCoder -[![qrcoder MyGet Build Status](https://www.myget.org/BuildSource/Badge/qrcoder?identifier=10cbdaa5-2dd9-460b-b424-be44e75258ec&service=github)](https://www.myget.org/feed/qrcoder/package/nuget/QRCoder) [![NuGet Badge](https://buildstats.info/nuget/QRCoder)](https://www.nuget.org/packages/QRCoder/) -## Info + +|Build|Code coverage|Build status|NuGet Package| +|-----|-------------|------------|-------------| +|Latest / Stable|[![codecov](https://codecov.io/gh/codebude/QRCoder/branch/master/graph/badge.svg?token=3yNs88KD8S)](https://codecov.io/gh/codebude/QRCoder)|[![Build, test, pack, push (Release)](https://github.com/codebude/QRCoder/actions/workflows/wf-build-release.yml/badge.svg?branch=main)](https://github.com/codebude/QRCoder/actions/workflows/wf-build-release.yml)|[![NuGet Badge](https://buildstats.info/nuget/QRCoder)](https://www.nuget.org/packages/QRCoder/)| +|CI / Last commit|[![codecov](https://codecov.io/gh/codebude/QRCoder/branch/master/graph/badge.svg?token=3yNs88KD8S)](https://codecov.io/gh/codebude/QRCoder)|[![Build, test, pack, push (CI)](https://github.com/codebude/QRCoder/actions/workflows/wf-build-release-ci.yml/badge.svg)](https://github.com/codebude/QRCoder/actions/workflows/wf-build-release-ci.yml)|[![Github packages](https://img.shields.io/badge/Github-Packages-blue)](https://github.com/codebude/qrcoder/packages)| + + +## Info QRCoder is a simple library, written in C#.NET, which enables you to create QR codes. It hasn't any dependencies to other libraries and is available as .NET Framework and .NET Core PCL version on NuGet. @@ -8,12 +14,11 @@ Feel free to grab-up/fork the project and make it better! For more information see: [**QRCode Wiki**](https://github.com/codebude/QRCoder/wiki) | [Creator's blog (english)](http://en.code-bude.net/2013/10/17/qrcoder-an-open-source-qr-code-generator-implementation-in-csharp/) | [Creator's blog (german)](http://code-bude.net/2013/10/17/qrcoder-eine-open-source-qr-code-implementierung-in-csharp/) - + ## Legal information and credits -QRCoder is project by [Raffael Herrmann](http://raffaelherrmann.de) and was first released -in 10/2013. It's licensed under the MIT license. +QRCoder is a project by [Raffael Herrmann](https://raffaelherrmann.de) and was first released in 10/2013. It's licensed under the [MIT license](https://github.com/codebude/QRCoder/blob/master/LICENSE.txt). * * * @@ -26,12 +31,9 @@ Either checkout this Github repository or install QRCoder via NuGet Package Mana PM> Install-Package QRCoder ``` -*Note: The NuGet feed contains only **stable** releases. If you wan't the latest build add one of the following urls to the "Package Sources" of Visual Studio's NuGet Package Manager options.* - -*NuGet V3 feed URL (Visual Studio 2015+):* `https://www.myget.org/F/qrcoder/api/v3/index.json` - -*NuGet V2 feed URL (Visual Studio 2012+):* `https://www.myget.org/F/qrcoder/api/v2` - +#### CI builds +The NuGet feed contains only **major/stable** releases. If you want the latest functions and features, you can use the CI builds [via Github packages](https://github.com/codebude/qrcoder/packages). +_(More information on how to use Github Packages in Nuget Package Manager can be [found here](http://webcache.googleusercontent.com/search?q=cache:i_gL6oIwpr8J:www.catiawidgets.net/2021/04/20/creating-github-packages-and-accessing-them-in-nuget/+&cd=1&hl=de&ct=clnk&gl=de).)_ ## Usage From acea6c057d52de290396e8a30022c4de16883ae2 Mon Sep 17 00:00:00 2001 From: Raffael Herrmann Date: Sun, 31 Oct 2021 14:57:13 +0100 Subject: [PATCH 5/5] Update wf-build-release.yml --- .github/workflows/wf-build-release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/wf-build-release.yml b/.github/workflows/wf-build-release.yml index e3ff6973..d16e603b 100644 --- a/.github/workflows/wf-build-release.yml +++ b/.github/workflows/wf-build-release.yml @@ -73,7 +73,7 @@ jobs: files: ./QRCoderTests/coverage.net5.0-windows.opencover.xml flags: net5.0-windows -pack-push-release: + pack-push-release: needs: test runs-on: windows-latest env: @@ -104,4 +104,4 @@ pack-push-release: - name: Delete artifacts uses: GeekyEggo/delete-artifact@v1.0.0 with: - name: Compiled project \ No newline at end of file + name: Compiled project