diff --git a/.editorconfig b/.editorconfig index e9494e8..4cab270 100644 --- a/.editorconfig +++ b/.editorconfig @@ -58,6 +58,12 @@ dotnet_style_require_accessibility_modifiers = omit_if_default:error dotnet_diagnostic.IDE0040.severity = error [*.cs] +# Top-level files are definitely OK +csharp_using_directive_placement = outside_namespace:silent +csharp_style_namespace_declarations = block_scoped:silent +csharp_prefer_simple_using_statement = true:suggestion +csharp_prefer_braces = true:silent + # Prefer "var" everywhere csharp_style_var_for_built_in_types = true:suggestion csharp_style_var_when_type_is_apparent = true:suggestion @@ -88,5 +94,16 @@ csharp_new_line_before_finally = true csharp_new_line_before_members_in_object_initializers = true csharp_new_line_before_members_in_anonymous_types = true +# Test settings +[**/*Tests*/**{.cs,.vb}] # xUnit1013: Public method should be marked as test. Allows using records as test classes dotnet_diagnostic.xUnit1013.severity = none + +# CS9113: Parameter is unread (usually, ITestOutputHelper) +dotnet_diagnostic.CS9113.severity = none + +# Default severity for analyzer diagnostics with category 'Style' +dotnet_analyzer_diagnostic.category-Style.severity = none + +# VSTHRD200: Use "Async" suffix for async methods +dotnet_diagnostic.VSTHRD200.severity = none diff --git a/code-of-conduct.md b/.github/CODE_OF_CONDUCT.md similarity index 100% rename from code-of-conduct.md rename to .github/CODE_OF_CONDUCT.md diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md new file mode 100644 index 0000000..f577cde --- /dev/null +++ b/.github/CONTRIBUTING.md @@ -0,0 +1,35 @@ +# Contributing + +You can contribute to the project with issues and PRs. +Simply filing issues for problems you encounter is a great way to contribute. Contributing implementations is greatly appreciated. + +## Before you file a bug... +* Is this a question, or are you looking for help? Ask it in the project's **Discussions** tab instead, if available. + +* Did you search the issues list to see if someone already reported it? _When looking for duplicates, make sure to look through open **and** closed issues._ +* Did you create a simple repro for the problem? _We won't look at your bug until you provide a repro project or complete repro steps._ + +## Before you submit a PR... + +* Did you ensure there is a corresponding issue labelled as 🟢 help wanted? + If not, please open one to start the discussion. +* Does the code follow existing coding styles? (spaces, comments, no regions, etc.)? + We enforce the basic styles by running `dotnet format` on the repository root. + You can do the same before submitting a PR to speed up the process. +* Did you write unit tests? + Typically required if there are other unit tests for existing or related code. + +## Looking for something to work on? + +Look at the repo issues labelled as 🟢 help wanted and 🟣 good first issue to find +something to contribute! + +# Contributor License Agreement + +You must sign the [Contribution License Agreement (CLA)](https://cla-assistant.io/devlooped/) before your PR will be merged. +This is a one-time requirement for projects in the Devlooped organization. + You can read more about [Contribution License Agreements (CLA)](http://en.wikipedia.org/wiki/Contributor_License_Agreement) on Wikipedia. + + You don't have to do this up-front. You can simply clone, fork, and submit your pull-request as usual. + When your pull-request is created, it is classified by a CLA bot, which will let + you know if signing is pending. \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/bug.md b/.github/ISSUE_TEMPLATE/bug.md deleted file mode 100644 index 67f7595..0000000 --- a/.github/ISSUE_TEMPLATE/bug.md +++ /dev/null @@ -1,50 +0,0 @@ ---- -name: Bug Report -about: Create a report to help us fix a problem. -title: '' -labels: 'bug' -assignees: '' ---- - -## Describe the Bug - - - -## Steps to Reproduce - - - -```c# -public class ReproTest -{ - [Fact] - public void Repro() - { - // arrange - - // act - - // assert - } -} -``` - -## Expected Behavior - - - -## Exception with Stack Trace - - - -```text -Put the exception with stack trace here. -``` - -## Version Info - - - -## Additional Info - - diff --git a/security.md b/.github/SECURITY.md similarity index 100% rename from security.md rename to .github/SECURITY.md diff --git a/support.md b/.github/SUPPORT.md similarity index 100% rename from support.md rename to .github/SUPPORT.md diff --git a/.github/release.yml b/.github/release.yml new file mode 100644 index 0000000..9a018cd --- /dev/null +++ b/.github/release.yml @@ -0,0 +1,32 @@ +changelog: + exclude: + labels: + - bydesign + - dependencies + - duplicate + - question + - invalid + - wontfix + - need info + - docs + - techdebt + authors: + - devlooped-bot + - dependabot + - github-actions + categories: + - title: ✨ Implemented enhancements + labels: + - enhancement + - title: 🐛 Fixed bugs + labels: + - bug + - title: 📝 Documentation updates + labels: + - docs + - title: 🔨 Other + labels: + - '*' + exclude: + labels: + - dependencies diff --git a/.github/.github_changelog_generator b/.github/workflows/changelog.config similarity index 93% rename from .github/.github_changelog_generator rename to .github/workflows/changelog.config index 2d4d913..cd34ee7 100644 --- a/.github/.github_changelog_generator +++ b/.github/workflows/changelog.config @@ -1,7 +1,7 @@ usernames-as-github-logins=true issues_wo_labels=true pr_wo_labels=true -exclude-labels=bydesign,dependencies,duplicate,question,invalid,wontfix,need info +exclude-labels=bydesign,dependencies,duplicate,question,invalid,wontfix,need info,docs enhancement-label=:sparkles: Implemented enhancements: bugs-label=:bug: Fixed bugs: issues-label=:hammer: Other: diff --git a/.github/workflows/changelog.yml b/.github/workflows/changelog.yml index 996f1a7..b120b73 100644 --- a/.github/workflows/changelog.yml +++ b/.github/workflows/changelog.yml @@ -31,7 +31,7 @@ jobs: - name: ⚙ changelog run: | gem install github_changelog_generator - github_changelog_generator --user ${GITHUB_REPOSITORY%/*} --project ${GITHUB_REPOSITORY##*/} --token $GH_TOKEN --o changelog.md --config-file .github/.github_changelog_generator + github_changelog_generator --user ${GITHUB_REPOSITORY%/*} --project ${GITHUB_REPOSITORY##*/} --token $GH_TOKEN --o changelog.md --config-file .github/workflows/changelog.config - name: 🚀 changelog run: | diff --git a/.github/workflows/combine-prs.yml b/.github/workflows/combine-prs.yml index dcead42..0255974 100644 --- a/.github/workflows/combine-prs.yml +++ b/.github/workflows/combine-prs.yml @@ -1,3 +1,6 @@ +# Source: https://github.com/hrvey/combine-prs-workflow +# Tweaks: regex support for branch + name: '⛙ combine-prs' on: @@ -45,7 +48,7 @@ jobs: const branch = pull['head']['ref']; console.log('Pull for branch: ' + branch); if (branchRegExp.test(branch)) { - console.log('Branch matched prefix: ' + branch); + console.log('Branch matched: ' + branch); let statusOK = true; if(${{ github.event.inputs.mustBeGreen }}) { console.log('Checking green status: ' + branch); diff --git a/.github/workflows/dotnet-file.yml b/.github/workflows/dotnet-file.yml index 6ebf30f..818aa2c 100644 --- a/.github/workflows/dotnet-file.yml +++ b/.github/workflows/dotnet-file.yml @@ -13,6 +13,7 @@ env: jobs: sync: runs-on: windows-latest + continue-on-error: true steps: - name: 🤖 defaults uses: devlooped/actions-bot@v1 @@ -69,8 +70,7 @@ jobs: validate: false - name: ✍ pull request - uses: peter-evans/create-pull-request@v3 - continue-on-error: true + uses: peter-evans/create-pull-request@v4 with: base: main branch: dotnet-file-sync diff --git a/.github/workflows/includes.yml b/.github/workflows/includes.yml index 04dc2ba..bb1a90b 100644 --- a/.github/workflows/includes.yml +++ b/.github/workflows/includes.yml @@ -26,10 +26,10 @@ jobs: token: ${{ env.GH_TOKEN }} - name: +Mᐁ includes - uses: devlooped/actions-include@v1 + uses: devlooped/actions-includes@v1 - name: ✍ pull request - uses: peter-evans/create-pull-request@v3 + uses: peter-evans/create-pull-request@v4 with: base: main branch: markdown-includes diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml deleted file mode 100644 index 323a0f3..0000000 --- a/.github/workflows/pages.yml +++ /dev/null @@ -1,58 +0,0 @@ -name: pages -on: - workflow_dispatch: - push: - branches: - - main - - pages - -env: - PAGES_ORGANIZATION: ${{ secrets.PAGES_ORGANIZATION }} - PAGES_REPOSITORY: ${{ secrets.PAGES_REPOSITORY }} - -jobs: - gh-pages: - runs-on: ubuntu-latest - steps: - - name: 🤘 checkout - uses: actions/checkout@v2 - - - name: ⚙ jekyll - run: | - sudo gem install bundler - bundle install - - - name: 🖉 default env - env: - PAGES_ORGANIZATION: ${{ secrets.PAGES_ORGANIZATION }} - PAGES_REPOSITORY: ${{ secrets.PAGES_REPOSITORY }} - run: | - echo "PAGES_ORGANIZATION=${PAGES_ORGANIZATION}" >> $GITHUB_ENV - echo "PAGES_REPOSITORY=${PAGES_REPOSITORY}" >> $GITHUB_ENV - - - name: 🖉 default repo - if: env.PAGES_REPOSITORY == '' - run: echo "PAGES_REPOSITORY=${GITHUB_REPOSITORY#*/}" >> $GITHUB_ENV - - - name: 🙏 build - run: bundle exec jekyll build -b ${{ env.PAGES_REPOSITORY }} - env: - JEKYLL_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - - name: ✓ commit - run: | - cd _site - git init - git add -A - git config --local user.email "bot@devlooped.com" - git config --local user.name "bot@devlooped.com" - git commit -m "Publish pages from ${GITHUB_REPOSITORY}@${GITHUB_SHA:0:9}" - - - name: 🚀 push - uses: ad-m/github-push-action@v0.6.0 - with: - github_token: ${{ secrets.PAGES_ACCESS_TOKEN }} - repository: ${{ env.PAGES_ORGANIZATION }}/${{ env.PAGES_REPOSITORY }} - branch: gh-pages - force: true - directory: ./_site \ No newline at end of file diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index aee0704..bd83ada 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -21,27 +21,6 @@ jobs: submodules: recursive fetch-depth: 0 - - name: ⚙ dotnet - uses: actions/setup-dotnet@v1 - with: - dotnet-version: '6.0.x' - - - name: ⏬ download - run: | - mkdir obj - - curl https://download-chromium.appspot.com/dl/Win_x64?type=snapshots -L -o obj/win-x64.zip - unzip obj/win-x64.zip -d src/chromium.win-x64 - echo Chromium build https://crrev.com/$(curl --silent https://download-chromium.appspot.com/rev/Win_x64?type=snapshots | grep -oP "\d{6,}") > src/chromium.win-x64/readme.md - - curl https://download-chromium.appspot.com/dl/Win?type=snapshots -L -o obj/win-x86.zip - unzip obj/win-x86.zip -d src/chromium.win-x86 - echo Chromium build https://crrev.com/$(curl --silent https://download-chromium.appspot.com/rev/Win?type=snapshots | grep -oP "\d{6,}") > src/chromium.win-x86/readme.md - - curl https://download-chromium.appspot.com/dl/Linux_x64?type=snapshots -L -o obj/linux-x64.zip - unzip obj/linux-x64.zip -d src/chromium.linux-x64 - echo Chromium build https://crrev.com/$(curl --silent https://download-chromium.appspot.com/rev/Linux_x64?type=snapshots | grep -oP "\d{6,}") > src/chromium.linux-x64/readme.md - - name: 🙏 build run: dotnet build -m:1 -p:version=${GITHUB_REF#refs/*/v} @@ -52,4 +31,4 @@ jobs: run: dotnet pack -m:1 -p:version=${GITHUB_REF#refs/*/v} - name: 🚀 nuget - run: dotnet nuget push ./bin/*.nupkg -s https://api.nuget.org/v3/index.json -k ${{secrets.NUGET_API_KEY}} --skip-duplicate + run: dotnet nuget push ./bin/**/*.nupkg -s https://api.nuget.org/v3/index.json -k ${{secrets.NUGET_API_KEY}} --skip-duplicate diff --git a/.github/workflows/release-notes.yml b/.github/workflows/release-notes.yml deleted file mode 100644 index d31e1f0..0000000 --- a/.github/workflows/release-notes.yml +++ /dev/null @@ -1,61 +0,0 @@ -# Updates a release with release notes -name: release-notes - -on: - release: - types: [published] - -jobs: - release-notes: - runs-on: ubuntu-latest - steps: - - name: 🤘 checkout - uses: actions/checkout@v2 - with: - submodules: recursive - fetch-depth: 0 - - - name: 🏷 current - run: echo "CURRENT_TAG=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV - - name: 🏷 since - run: echo "SINCE_TAG=$(git describe --abbrev=0 --tags $(git rev-list --tags --skip=1 --max-count=1))" >> $GITHUB_ENV - - - name: ⚙ ruby - uses: ruby/setup-ruby@v1 - with: - ruby-version: 3.0.3 - - - name: ⚙ changelog - if: env.SINCE_TAG != '' - run: | - gem install github_changelog_generator - github_changelog_generator --since-tag ${{ env.SINCE_TAG }} --user ${GITHUB_REPOSITORY%/*} --project ${GITHUB_REPOSITORY##*/} --token ${{ secrets.GITHUB_TOKEN }} --o changelog.md --config-file .github/.github_changelog_generator - - - name: ⚙ changelog - if: env.SINCE_TAG == '' - run: | - gem install github_changelog_generator - github_changelog_generator --user ${GITHUB_REPOSITORY%/*} --project ${GITHUB_REPOSITORY##*/} --token ${{ secrets.GITHUB_TOKEN }} --o changelog.md --config-file .github/.github_changelog_generator - - - name: 🖉 release - shell: pwsh - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: | - $headers = @{ 'Accept'='application/vnd.github.v3+json;charset=utf-8'; 'Authorization' = "bearer $env:GITHUB_TOKEN" } - $id = iwr "$env:GITHUB_API_URL/repos/$env:GITHUB_REPOSITORY/releases/tags/$env:CURRENT_TAG" -Headers $headers | - select -ExpandProperty Content | - ConvertFrom-Json | - select -ExpandProperty id - - $notes = (Get-Content .\changelog.md | where { !($_ -like '\*') } | %{ $_.replace('\', '\\').replace('"', "'").replace('undefined', 'un-defined') }) -join '\n' - $body = '{ "body":"' + $notes + '" }' - - # ensure we can convert to json - $body | ConvertFrom-Json | ConvertTo-Json - - # patch & render response nicely - iwr -Body $body "$env:GITHUB_API_URL/repos/$env:GITHUB_REPOSITORY/releases/$id" -Method PATCH -Headers $headers | - select -ExpandProperty Content | - ConvertFrom-Json | - ConvertTo-Json diff --git a/.github/workflows/sponsor.yml b/.github/workflows/sponsor.yml deleted file mode 100644 index f74e990..0000000 --- a/.github/workflows/sponsor.yml +++ /dev/null @@ -1,19 +0,0 @@ -name: sponsor ❤️ -on: - issues: - types: [opened, edited, reopened] - pull_request: - types: [opened, edited, synchronize, reopened] - -jobs: - sponsor: - runs-on: ubuntu-latest - if: ${{ !endsWith(github.event.sender.login, '[bot]') && !endsWith(github.event.sender.login, 'bot') }} - steps: - - name: 🤘 checkout - uses: actions/checkout@v2 - - - name: ❤️ sponsor - uses: devlooped/actions-sponsor@main - with: - token: ${{ secrets.GH_TOKEN }} diff --git a/.gitignore b/.gitignore index 242945b..0c18de7 100644 --- a/.gitignore +++ b/.gitignore @@ -1,10 +1,12 @@ bin +app obj artifacts pack TestResults .vs .vscode +.idea *.suo *.sdf diff --git a/.netconfig b/.netconfig index 5973d9c..cf3e16b 100644 --- a/.netconfig +++ b/.netconfig @@ -24,29 +24,19 @@ skip [file ".editorconfig"] url = https://github.com/devlooped/oss/blob/main/.editorconfig - sha = 369cd2bd49ce032f616a2fcb4c997535dbe8d9aa - etag = 4e857df48d0abd81512350d6b3b1a1c83b78284be65bd5172a4ec8e52cd04e2d + sha = c779d3d4e468358106dea03e93ba2cd35bb01ecb + etag = 7298c6450967975a8782b5c74f3071e1910fc59686e48f9c9d5cd7c68213cf59 weak [file ".gitattributes"] url = https://github.com/devlooped/oss/blob/main/.gitattributes sha = 0683ee777d7d878d4bf013d7deea352685135a05 etag = 7acb32f5fa6d4ccd9c824605a7c2b8538497f0068c165567807d393dcf4d6bb7 weak -[file ".github/.github_changelog_generator"] - url = https://github.com/devlooped/oss/blob/main/.github/.github_changelog_generator - sha = b7ce2bedba3fe467b8bc252c372cd36bbde259a5 - etag = 28145d505ce95b57628ab368bb12744300d5f539d3651c346e3c0c3f772ffa7b - weak [file ".github/FUNDING.yml"] url = https://github.com/devlooped/.github/blob/main/.github/FUNDING.yml sha = 39f4c591716ff50dd035d2fade35e5822489ab7f etag = a944c728facd033bbdfb4ff8d0ef10d0b3a457c277dc499458df0ffc7e6409da weak -[file ".github/ISSUE_TEMPLATE/bug.md"] - url = https://github.com/devlooped/oss/blob/main/.github/ISSUE_TEMPLATE/bug.md - sha = 0683ee777d7d878d4bf013d7deea352685135a05 - etag = 026852ba1f1921f3a043bb5e09cd7a2c3d9a33ec51f48e524dc3a2ab72de3141 - weak [file ".github/dependabot.yml"] url = https://github.com/devlooped/oss/blob/main/.github/dependabot.yml sha = 4f070a477b4162a280f02722ae666376ae4fcc71 @@ -57,23 +47,18 @@ skip [file ".github/workflows/changelog.yml"] url = https://github.com/devlooped/oss/blob/main/.github/workflows/changelog.yml - sha = 5406d907e0bf87dd1b4375f2ae2279dd775ed672 - etag = 034c69fefe727b412a52e49964646131b899d6e7bb1576fe9d4a4db9208675ff + sha = a4b66eb5f4dfb9704502f19f59ba33cb4855188c + etag = 54c0b571648b1055beb3ddac180b34e93a9869b9f0277de306901b2c1dbe0b2c weak [file ".github/workflows/dotnet-file.yml"] url = https://github.com/devlooped/oss/blob/main/.github/workflows/dotnet-file.yml - sha = b97b8f19569fa1b93cece4b22afab0e838693c5a - etag = a9d246d40ee9cf9796fe694835b787cba415f4f23e919c6a763dd3ebfa607681 + sha = f08c3f28e46e28eb31e70846d65e57aa9553ce56 + etag = 567444486383d032c1c5fbc538f07e860f92b1d08c66ac6ffb1db64ca539251c weak [file ".github/workflows/publish.yml"] url = https://github.com/devlooped/oss/blob/main/.github/workflows/publish.yml - sha = 0e5a33cc685fa85e3a81b797202f3e14e1cd84a9 - etag = 1d6a05b7f684b4fc1bb387750b0e100406e8a0017981c4e9d39a012479f35266 - weak -[file ".github/workflows/release-notes.yml"] - url = https://github.com/devlooped/oss/blob/main/.github/workflows/release-notes.yml - sha = a922d0300a188bbd872bcf8ca48c6b7a13dee5df - etag = 5db902d761d80de182417cfbece00cbb6d1fa4b99a945b3a97c57f58f7043b5d + sha = d3022567c9ef2bc9461511e53b8abe065afdf03b + etag = 58601b5a71c805647ab26e84053acdfb8d174eaa93330487af8a5503753c5707 weak [file ".github/workflows/test/action.yml"] url = https://github.com/devlooped/oss/blob/main/.github/workflows/test/action.yml @@ -82,8 +67,8 @@ weak [file ".gitignore"] url = https://github.com/devlooped/oss/blob/main/.gitignore - sha = c78868eba59a3e04602434684f9eac241fef13fb - etag = 1c1705a3f0ed65e33c9133996ebaa100aa445a8b968b2904ad48fef938702006 + sha = b87a8a795a4c2b6830602225c066c11108552a99 + etag = 96e0860052044780f1fc9e3bdfbee09d82d5dddb8b1217d67460fc7330a64dd8 weak [file "Directory.Build.rsp"] url = https://github.com/devlooped/oss/blob/main/Directory.Build.rsp @@ -100,30 +85,20 @@ sha = 9db26e2710b084d219d6355339d822f159bf5780 etag = f710d8919abfd5a8d00050b74ba7d0bb05c6d02e40842a3012eb96555c208504 weak -[file "code-of-conduct.md"] - url = https://github.com/devlooped/oss/blob/main/code-of-conduct.md - sha = f72699c9d52f02e6a3411ef589f2a02007c5e5af - etag = 4857c01bb695f09bf6912d778951c3065d9dd565e5de3d0827f40432d0e4c613 - weak [file "license.txt"] url = https://github.com/devlooped/oss/blob/main/license.txt sha = 0683ee777d7d878d4bf013d7deea352685135a05 etag = 2c6335b37e4ae05eea7c01f5d0c9d82b49c488f868a8b5ba7bff7c6ff01f3994 weak -[file "security.md"] - url = https://github.com/devlooped/oss/blob/main/security.md - sha = a0f58a6d63e48ae6e55944c556d0bc94476dc8df - etag = fc8101fd914820db3e6b42d608dc46aefbc60c830ac721ed3917daead3727dbd - weak [file "src/Directory.Build.props"] url = https://github.com/devlooped/oss/blob/main/src/Directory.Build.props - sha = 2fea462dc563923800a7efad24a52aa0541a8864 - etag = 819e24ed16c1257f3c6ea3c728e1507020bacf32aeb63f5dd56f9a5cb2652275 + sha = 6ae80a175a8f926ac5d9ffb0f6afd55d85cc9320 + etag = 69d4b16c14d5047b3ed812dbf556b0b8d77deb86f73af04b9bd3640220056fa8 weak [file "src/Directory.Build.targets"] url = https://github.com/devlooped/oss/blob/main/src/Directory.Build.targets - sha = b9fb0a7d34d6c16fb404f9dff4aac6789ef08a00 - etag = 852b16129d2c681ad6ec86ff56b256541e0ce0961eb3a9492e0ead89ffe5a6bd + sha = 1514d15399a7d545ad92a0e9d57dc8295fdd6af8 + etag = 428f80b0786ff17b836c7a5b0640948724855d17933e958642b22849ac00dadb weak [file "src/kzu.snk"] url = https://github.com/devlooped/oss/blob/main/src/kzu.snk @@ -132,36 +107,46 @@ weak [file "src/nuget.config"] url = https://github.com/devlooped/oss/blob/main/src/nuget.config - sha = 1537aa96d3c999642d678e1143b09950f235b977 - etag = 754274e682c3523e3ac0a142ada64abff20551dc73bf16edfbd66415dcf87fd0 - weak -[file "support.md"] - url = https://github.com/devlooped/oss/blob/main/support.md - sha = a0f58a6d63e48ae6e55944c556d0bc94476dc8df - etag = 2d47e2fc4fdfa3515203d452674566e3df507461f9938f451a06d79deb687d24 - weak -[file ".github/workflows/pages.yml"] - url = https://github.com/devlooped/.github/blob/main/.github/workflows/pages.yml - sha = e8f3774884afda36ac177c4193929d24d7901de9 - etag = 42fdc888e07b492cccc6fd29972bd9ea6f13691a3fdf057e07f3f8eec9330b7a - weak -[file "Gemfile"] - url = https://github.com/devlooped/.github/blob/main/Gemfile - sha = f2dc1370469bec1b2d32d82faf659b050cdc7e2a - etag = d45832acd078778ffebf260000f6d25172a131f51684744d7e982da2a47170ce + sha = b2fa09bd9db6de89e37a8ba6705b5659e435dafd + etag = eb2d09e546aa1e11c0b464d9ed6ab2d3c028a1d86c3ac40a318053625fb72819 weak [file ".github/workflows/combine-prs.yml"] url = https://github.com/devlooped/oss/blob/main/.github/workflows/combine-prs.yml - sha = 74189b061850a3527676d76281de61044abc86a2 - etag = 10106929413a89658d22c36b5b934c598809e1deb8cdd994ec846f824195aac6 + sha = c1610886eba42cb250e3894aed40c0a258cd383d + etag = 598ee294649a44d4c5d5934416c01183597d08aa7db7938453fd2bbf52a4e64d weak [file ".github/workflows/includes.yml"] url = https://github.com/devlooped/oss/blob/main/.github/workflows/includes.yml - sha = 5d05e541d7b028d64b044c5b9cc80afa19dc0de0 - etag = c73a2aa293ec204e46771a99b095566082cad7989595ea725e5d76b27fe90894 + sha = ac753b791d03997eb655efb26ae141b51addd1c0 + etag = fcd94a08ac9ebc0e8351deac4e7f085cf8ef67816cc50006e068f44166096eb8 + weak +[file ".github/release.yml"] + url = https://github.com/devlooped/oss/blob/main/.github/release.yml + sha = 1afd173fe8f81b510c597737b0d271218e81fa73 + etag = 482dc2c892fc7ce0cb3a01eb5d9401bee50ddfb067d8cb85873555ce63cf5438 + weak +[file ".github/workflows/changelog.config"] + url = https://github.com/devlooped/oss/blob/main/.github/workflows/changelog.config + sha = 055a8b7c94b74ae139cce919d60b83976d2a9942 + etag = ddb17acb5872e9e69a76f9dec0ca590f25382caa2ccf750df058dcabb674db2b + weak +[file ".github/CODE_OF_CONDUCT.md"] + url = https://github.com/devlooped/.github/blob/main/.github/CODE_OF_CONDUCT.md + sha = c97cdeb04769df3f397d9e70b345d4549628c388 + etag = 4857c01bb695f09bf6912d778951c3065d9dd565e5de3d0827f40432d0e4c613 weak -[file ".github/workflows/sponsor.yml"] - url = https://github.com/devlooped/.github/blob/main/.github/workflows/sponsor.yml - sha = e347e5c7b91aaeb11eff95037c2c0b54206cc976 - etag = 06319ff741c03cf4cd5113926d490ec09999a85b5a0e0480ce44222db026341a +[file ".github/CONTRIBUTING.md"] + url = https://github.com/devlooped/.github/blob/main/.github/CONTRIBUTING.md + sha = 1dc5908c7711c17c1fe06abd191f2c09f37ac56a + etag = b2bc4ee0e910ea60c3daa4e7d391e6260b5644d3e3c2a19145525c8db3f454fd + weak +[file ".github/SECURITY.md"] + url = https://github.com/devlooped/.github/blob/main/.github/SECURITY.md + sha = c97cdeb04769df3f397d9e70b345d4549628c388 + etag = fc8101fd914820db3e6b42d608dc46aefbc60c830ac721ed3917daead3727dbd + weak +[file ".github/SUPPORT.md"] + url = https://github.com/devlooped/.github/blob/main/.github/SUPPORT.md + sha = c97cdeb04769df3f397d9e70b345d4549628c388 + etag = 2d47e2fc4fdfa3515203d452674566e3df507461f9938f451a06d79deb687d24 weak diff --git a/Gemfile b/Gemfile deleted file mode 100644 index 025f43f..0000000 --- a/Gemfile +++ /dev/null @@ -1,3 +0,0 @@ -source 'https://rubygems.org' - -gem 'github-pages', '~> 209', group: :jekyll_plugins \ No newline at end of file diff --git a/src/Directory.Build.props b/src/Directory.Build.props index 5976dd6..6b9a668 100644 --- a/src/Directory.Build.props +++ b/src/Directory.Build.props @@ -38,7 +38,6 @@ true - https://api.nuget.org/v3/index.json;https://pkg.kzu.io/index.json;$(RestoreSources) true @@ -56,7 +55,9 @@ embedded true enable - + + strict + $(MSBuildProjectName) $(MSBuildProjectName.IndexOf('.')) @@ -111,7 +112,7 @@ after the fixed prefix. This allows dogfooding a branch build. The suffix is sanitized and optionally turned into --> - 42.42.42 + 42.42.42 @@ -141,4 +142,5 @@ + diff --git a/src/Directory.Build.targets b/src/Directory.Build.targets index 11b776b..5bd4019 100644 --- a/src/Directory.Build.targets +++ b/src/Directory.Build.targets @@ -94,11 +94,25 @@ $(BUDDY_EXECUTION_BRANCH) + + + PrepareResources;$(CoreCompileDependsOn) + + - + + + + MSBuild:Compile + $(IntermediateOutputPath)\$([MSBuild]::ValueOrDefault('%(RelativeDir)', '').Replace('\', '.').Replace('/', '.'))%(Filename).g$(DefaultLanguageSourceExtension) + $(Language) + $(RootNamespace) + $(RootNamespace).$([MSBuild]::ValueOrDefault('%(RelativeDir)', '').Replace('\', '.').Replace('/', '.').TrimEnd('.')) + %(Filename) + @@ -159,5 +173,6 @@ + diff --git a/src/nuget.config b/src/nuget.config index 798c553..ef2b768 100644 --- a/src/nuget.config +++ b/src/nuget.config @@ -1,18 +1,32 @@ - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + +