diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index aed9a22..3ffe5c6 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -1,7 +1,7 @@
name: Stravaig Configuration SQL Server Provider
-on:
+on:
push:
- branches:
+ branches:
- main
paths-ignore:
@@ -25,7 +25,7 @@ on:
workflow_dispatch:
inputs:
isPublic:
- description: 'Is Public Release'
+ description: 'Is Public Release'
required: false
default: "false"
isPreview:
@@ -41,7 +41,7 @@ jobs:
STRAVAIG_SOLUTION: src/Stravaig.Configuration.SqlServer.sln
STRAVAIG_TESTS: Stravaig.Configuration.SqlServer.Tests
STRAVAIG_PROJECT: Stravaig.Configuration.SqlServer
-
+
steps:
- name: Check out code
uses: actions/checkout@v2
@@ -64,22 +64,22 @@ jobs:
echo "Publish To NuGet: $STRAVAIG_PUBLISH_TO_NUGET"
echo "Is Preview: $STRAVAIG_IS_PREVIEW"
echo "Is Stable: $STRAVAIG_IS_STABLE"
-
+
- uses: actions/setup-dotnet@v1
- name: Setup .NET 6.0 (Current LTS)
+ name: Setup .NET 6.0 (LTS)
with:
dotnet-version: 6.0.x
- name: Build Solution
run: dotnet build $STRAVAIG_SOLUTION --configuration Release
-
+
- name: Run Tests
run: dotnet test src/$STRAVAIG_TESTS/$STRAVAIG_TESTS.csproj --configuration Release
-
+
- name: Package Preview Release
if: ${{ env.STRAVAIG_IS_PREVIEW == 'true' }}
run: dotnet pack ./src/$STRAVAIG_PROJECT/$STRAVAIG_PROJECT.csproj --configuration Release --output ./out --include-symbols --include-source /p:VersionPrefix="$STRAVAIG_PACKAGE_VERSION" --version-suffix "$STRAVAIG_PACKAGE_VERSION_SUFFIX" -p:IncludeSymbols=true -p:SymbolPackageFormat=snupkg
-
+
- name: Package Stable Release
if: ${{ env.STRAVAIG_IS_STABLE == 'true' }}
run: dotnet pack ./src/$STRAVAIG_PROJECT/$STRAVAIG_PROJECT.csproj --configuration Release --output ./out --include-symbols --include-source /p:VersionPrefix="$STRAVAIG_PACKAGE_VERSION" -p:IncludeSymbols=true -p:SymbolPackageFormat=snupkg
@@ -104,7 +104,7 @@ jobs:
- name: Archive Simulated Release Information
if: ${{ env.STRAVAIG_PUBLISH_TO_NUGET == 'false' }}
- uses: actions/upload-artifact@v2
+ uses: actions/upload-artifact@v4
with:
name: simulated-release-information
path: |
@@ -116,7 +116,7 @@ jobs:
- name: Archive Release Notes
if: ${{ env.STRAVAIG_PUBLISH_TO_NUGET == 'true' }}
- uses: actions/upload-artifact@v2
+ uses: actions/upload-artifact@v4
with:
name: release-information
path: |
@@ -124,12 +124,12 @@ jobs:
release-notes/full-release-notes.md
release-notes/release-notes-${{ env.STRAVAIG_PACKAGE_FULL_VERSION }}.md
out/**
-
+
- name: Create Release
if: ${{ env.STRAVAIG_PUBLISH_TO_NUGET == 'true' }}
- shell: pwsh
- env:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ shell: pwsh
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
$assets = @();
$assets += "./out/*.nupkg"
@@ -139,7 +139,7 @@ jobs:
$assets += "README.md"
$assets += "./release-notes/release-notes-${{ env.STRAVAIG_PACKAGE_FULL_VERSION }}.md"
./Create-Release.ps1 -NotesFile "./release-body.md" -Assets $assets
-
+
- name: Bump version
#IF Publishing & Stable release
if: ${{ env.STRAVAIG_PUBLISH_TO_NUGET == 'true' && env.STRAVAIG_IS_STABLE == 'true' }}
@@ -151,7 +151,7 @@ jobs:
if: ${{ env.STRAVAIG_PUBLISH_TO_NUGET == 'true' && env.STRAVAIG_IS_STABLE == 'true' }}
shell: pwsh
run: ./Reset-WipReleaseNotes.ps1
-
+
- name: Commit post release updates
#IF Publishing & Stable release
if: ${{ env.STRAVAIG_PUBLISH_TO_NUGET == 'true' && env.STRAVAIG_IS_STABLE == 'true' }}
diff --git a/contributors.md b/contributors.md
index 0bc0bbe..76ce80d 100644
--- a/contributors.md
+++ b/contributors.md
@@ -2,23 +2,17 @@
This is a list of all the contributors to this repository in ascending order by the contributor name.
-**Colin Mackay** contributed 86 commits from Friday, 28 January, 2022 @ 22:52:08 +00:00 to Monday, 14 November, 2022 @ 21:28:37 +00:00.
+**Colin Mackay** contributed 107 commits from Friday, 28 January, 2022 @ 22:52:08 +00:00 to Monday, 2 December, 2024 @ 22:28:08 +00:00.
-**dependabot[bot]** contributed 29 commits from Monday, 31 January, 2022 @ 14:31:26 +00:00 to Monday, 14 November, 2022 @ 20:56:14 +00:00.
+**dependabot[bot]** contributed 48 commits from Monday, 31 January, 2022 @ 14:31:26 +00:00 to Wednesday, 2 August, 2023 @ 14:17:50 +01:00.
-**StravaigBot** contributed 4 commits from Thursday, 3 February, 2022 @ 12:20:25 +00:00 to Wednesday, 9 February, 2022 @ 22:29:07 +00:00.
+**StravaigBot** contributed 5 commits from Thursday, 3 February, 2022 @ 12:20:25 +00:00 to Monday, 14 November, 2022 @ 21:56:12 +00:00.
## Summary
-:octocat: 119 commits in total.
+:octocat: 160 commits in total.
:date: From Friday, 28 January, 2022 @ 22:52:08 +00:00.
-:date: Until Monday, 14 November, 2022 @ 21:28:37 +00:00.
-
-:1st_place_medal: Gold medal to Colin Mackay with 86 commits which represents 72.27 % of all commits.
-
-:2nd_place_medal: Silver medal to dependabot[bot] with 29 commits which represents 24.37 % of all commits.
-
-:3rd_place_medal: Bronze medal to StravaigBot with 4 commits which represents 3.36 % of all commits.
+:date: Until Monday, 2 December, 2024 @ 22:28:08 +00:00.
diff --git a/list-contributors.ps1 b/list-contributors.ps1
index a16f501..f3dd5c9 100644
--- a/list-contributors.ps1
+++ b/list-contributors.ps1
@@ -101,7 +101,7 @@ function Get-IgnoredNamesList($IgnoredNamesPath, $AkaContributors)
}
}
- $IgnoredNamesPath = Get-ConfigFilePath -configFilePath $IgnoredNamesPath -defaultConfigFilePath "$PSScriptRoot/.stravaig/list-contributor-ignore-names.txt" -friendlyName "list of ignored names";
+ $IgnoredNamesPath = Get-ConfigFilePath -configFilePath $IgnoredNamesPath -defaultConfigFilePath "$PSScriptRoot/.stravaig/list-contributor-ignore-names.txt" -friendlyName "list of ignored names";
if ($null -ne $IgnoredNamesPath)
{
$ignoredNames = Get-Content -Path $IgnoredNamesPath;
@@ -156,8 +156,8 @@ function Get-InitialContributors($AkaFilePath)
}
catch
{
- # For some reason it isn't stopping the script when erroring with
- # -ErrorAction Stop in the ConvertFrom-Json
+ # For some reason it isn't stopping the script when erroring with
+ # -ErrorAction Stop in the ConvertFrom-Json
throw $_
}
@@ -218,7 +218,7 @@ function Get-InitialContributors($AkaFilePath)
$contributors = Get-InitialContributors -AkaFilePath $AkaFilePath;
$ignoredNamesList = Get-IgnoredNamesList -IgnoredNamesPath $IgnoredNamesPath -AkaContributors $contributors
$ignoredEmailsList = Get-IgnoredEmailsList -IgnoredEmailsPath $IgnoredEmailsPath -AkaContributors $contributors
-& git log --format="\`"%ai\`",\`"%an\`",\`"%ae\`",\`"%H\`"" > raw-contributors.csv
+& git log --format="`"%ai`",`"%an`",`"%ae`",`"%H`"" > raw-contributors.csv
$commits = Import-Csv raw-contributors.csv -Header Time,Name,Email,Hash | Sort-Object Time;
Remove-Item .\raw-contributors.csv
@@ -241,9 +241,9 @@ for($i = 0; $i -lt $totalCommits; $i++)
$contributor = New-Object -TypeName PSObject -Property @{
Names=@($nextCommit.Name);
PrimaryName = $nextCommit.Name;
- Emails=@($nextCommit.Email);
- FirstCommit=$commitTime;
- LastCommit=$commitTime;
+ Emails=@($nextCommit.Email);
+ FirstCommit=$commitTime;
+ LastCommit=$commitTime;
CommitCount=1
};
$contributors += $contributor;
@@ -252,13 +252,13 @@ for($i = 0; $i -lt $totalCommits; $i++)
}
else
{
- if ((-not(Test-IgnoredItem -Item $nextCommit.Email -IgnoredItemsList $ignoredEmailsList)) -and
+ if ((-not(Test-IgnoredItem -Item $nextCommit.Email -IgnoredItemsList $ignoredEmailsList)) -and
(-not (Test-Email -Contributor $contributor -CommitterEmail $nextCommit.Email)))
{
Write-Verbose "Adding email `"$($nextCommit.Email)`" to $($contributor.PrimaryName) from commit $($nextCommit.Hash)."
$contributor.Emails += $nextCommit.Email;
}
- if ((-not(Test-IgnoredItem -Item $nextCommit.Name -IgnoredItemsList $ignoredNamesList)) -and
+ if ((-not(Test-IgnoredItem -Item $nextCommit.Name -IgnoredItemsList $ignoredNamesList)) -and
(-not (Test-Name -Contributor $contributor -CommitterName $nextCommit.Name)))
{
Write-Verbose "Adding name `"$($nextCommit.Name)`" to $($contributor.PrimaryName) from commit $($nextCommit.Hash)."
@@ -282,20 +282,20 @@ $contributors = $contributors | Where-Object CommitCount -gt 0
$isDescending = $SortDirection -eq "Descending";
Switch($SortOrder)
{
- "Name" {
+ "Name" {
$contributors = $contributors | Sort-Object PrimaryName -Descending:$isDescending;
$textOrderBy = "contributor name";
}
"FirstCommit" {
- $contributors = $contributors | Sort-Object FirstCommit -Descending:$isDescending;
+ $contributors = $contributors | Sort-Object FirstCommit -Descending:$isDescending;
$textOrderBy = "first commit date";
}
"LastCommit" {
- $contributors = $contributors | Sort-Object LastCommit -Descending:$isDescending;
+ $contributors = $contributors | Sort-Object LastCommit -Descending:$isDescending;
$textOrderBy = "last commit date";
}
"CommitCount" {
- $contributors = $contributors | Sort-Object CommitCount -Descending:$isDescending;
+ $contributors = $contributors | Sort-Object CommitCount -Descending:$isDescending;
$textOrderBy = "number of commits";
}
}
@@ -331,14 +331,14 @@ foreach($contributor in $contributors)
$end = $contributor.LastCommit.ToString($TimeFormat);
}
else {
- $end = $contributor.LastCommit.ToString($DateTimeFormat);
+ $end = $contributor.LastCommit.ToString($DateTimeFormat);
}
"**$name**$aka contributed $numCommits $commitMsg" | Out-File $OutputFile -Append -Encoding utf8 -NoNewline
if ($numCommits -eq 1)
{
" on $start." | Out-File $OutputFile -Append -Encoding utf8
}
- else
+ else
{
" from $start to $end." | Out-File $OutputFile -Append -Encoding utf8
}
@@ -348,9 +348,9 @@ foreach($contributor in $contributors)
"" | Out-File $OutputFile -Append -Encoding utf8
$firstCommit = $commits[0];
-$firstCommitMsg = [DateTime]::ParseExact($firstCommit.Time, "yyyy-MM-dd HH:mm:ss zzz", [CultureInfo]::InvariantCulture).ToString($DateTimeFormat);
+$firstCommitMsg = [DateTime]::ParseExact($firstCommit.Time, "yyyy-MM-dd HH:mm:ss zzz", [CultureInfo]::InvariantCulture).ToString($DateTimeFormat);
$lastCommit = $commits[$totalCommits - 1];
-$lastCommitMsg = [DateTime]::ParseExact($lastCommit.Time, "yyyy-MM-dd HH:mm:ss zzz", [CultureInfo]::InvariantCulture).ToString($DateTimeFormat);
+$lastCommitMsg = [DateTime]::ParseExact($lastCommit.Time, "yyyy-MM-dd HH:mm:ss zzz", [CultureInfo]::InvariantCulture).ToString($DateTimeFormat);
":octocat: $totalCommits commits in total." | Out-File $OutputFile -Append -Encoding utf8
"" | Out-File $OutputFile -Append -Encoding utf8
@@ -358,32 +358,3 @@ $lastCommitMsg = [DateTime]::ParseExact($lastCommit.Time, "yyyy-MM-dd HH:mm:ss z
"" | Out-File $OutputFile -Append -Encoding utf8
":date: Until $lastCommitMsg." | Out-File $OutputFile -Append -Encoding utf8
"" | Out-File $OutputFile -Append -Encoding utf8
-
-$topCommitters = ($contributors | Sort-Object CommitCount -Descending);
-$topCommitter = $topCommitters[0];
-$name = $topCommitter.PrimaryName;
-$commitCount = $topCommitter.CommitCount;
-$percentage = $topCommitter.CommitCount / $totalCommits;
-
-":1st_place_medal: Gold medal to $name with $commitCount commits which represents "+("{0:P2}" -f $percentage)+" of all commits." | Out-File $OutputFile -Append -Encoding utf8
-"" | Out-File $OutputFile -Append -Encoding utf8
-
-$topCommitter = $topCommitters[1];
-if ($null -ne $topCommitter)
-{
- $name = $topCommitter.PrimaryName;
- $commitCount = $topCommitter.CommitCount;
- $percentage = $topCommitter.CommitCount / $totalCommits;
- ":2nd_place_medal: Silver medal to $name with $commitCount commits which represents "+("{0:P2}" -f $percentage)+" of all commits." | Out-File $OutputFile -Append -Encoding utf8
- "" | Out-File $OutputFile -Append -Encoding utf8
-}
-
-$topCommitter = $topCommitters[2];
-if ($null -ne $topCommitter)
-{
- $name = $topCommitter.PrimaryName;
- $commitCount = $topCommitter.CommitCount;
- $percentage = $topCommitter.CommitCount / $totalCommits;
- ":3rd_place_medal: Bronze medal to $name with $commitCount commits which represents "+("{0:P2}" -f $percentage)+" of all commits." | Out-File $OutputFile -Append -Encoding utf8
- "" | Out-File $OutputFile -Append -Encoding utf8
-}
diff --git a/release-notes/wip-release-notes.md b/release-notes/wip-release-notes.md
index d94c394..8037c7b 100644
--- a/release-notes/wip-release-notes.md
+++ b/release-notes/wip-release-notes.md
@@ -4,16 +4,13 @@
Date: ???
-### Bugs
-
-### Features
-
-### Miscellaneous
-
### Dependent Packages
-- No changes
+- Bump Microsoft.Extensions.Configuration
+- Bump Microsoft.Extensions.Configuration.Abstractions
+- Bump Microsoft.Extensions.Configuration.Binder
+- Bump Microsoft.Extensions.Logging.Abstractions
+- Bump Microsoft.SourceLink.GitHub"
+- Bump System.Data.SqlClient
---
-
-
diff --git a/src/.idea/.idea.Stravaig.Configuration.SqlServer/.idea/projectSettingsUpdater.xml b/src/.idea/.idea.Stravaig.Configuration.SqlServer/.idea/projectSettingsUpdater.xml
index 4bb9f4d..64af657 100644
--- a/src/.idea/.idea.Stravaig.Configuration.SqlServer/.idea/projectSettingsUpdater.xml
+++ b/src/.idea/.idea.Stravaig.Configuration.SqlServer/.idea/projectSettingsUpdater.xml
@@ -1,6 +1,7 @@
-
+
+
\ No newline at end of file
diff --git a/src/Example/Example.csproj b/src/Example/Example.csproj
index 72fb574..6e55354 100644
--- a/src/Example/Example.csproj
+++ b/src/Example/Example.csproj
@@ -13,9 +13,9 @@
-
+
-
+
diff --git a/src/Stravaig.Configuration.SqlServer.Tests/Stravaig.Configuration.SqlServer.Tests.csproj b/src/Stravaig.Configuration.SqlServer.Tests/Stravaig.Configuration.SqlServer.Tests.csproj
index 74801c7..e2df2b4 100644
--- a/src/Stravaig.Configuration.SqlServer.Tests/Stravaig.Configuration.SqlServer.Tests.csproj
+++ b/src/Stravaig.Configuration.SqlServer.Tests/Stravaig.Configuration.SqlServer.Tests.csproj
@@ -8,12 +8,12 @@
-
-
-
-
+
+
+
+
-
+
diff --git a/src/Stravaig.Configuration.SqlServer.sln b/src/Stravaig.Configuration.SqlServer.sln
index 8ca653b..52e268d 100644
--- a/src/Stravaig.Configuration.SqlServer.sln
+++ b/src/Stravaig.Configuration.SqlServer.sln
@@ -12,6 +12,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "__BuildAndDeploy", "__Build
..\Reset-WipReleaseNotes.ps1 = ..\Reset-WipReleaseNotes.ps1
..\Set-Version.ps1 = ..\Set-Version.ps1
..\version.txt = ..\version.txt
+ ..\list-contributors.ps1 = ..\list-contributors.ps1
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "__Documentation", "__Documentation", "{61C05782-A253-4EDD-9463-04912EB73870}"
diff --git a/src/Stravaig.Configuration.SqlServer/Stravaig.Configuration.SqlServer.csproj b/src/Stravaig.Configuration.SqlServer/Stravaig.Configuration.SqlServer.csproj
index 1ab2a7c..03dbb69 100644
--- a/src/Stravaig.Configuration.SqlServer/Stravaig.Configuration.SqlServer.csproj
+++ b/src/Stravaig.Configuration.SqlServer/Stravaig.Configuration.SqlServer.csproj
@@ -42,14 +42,14 @@
-
+
-
-
-
-
-
+
+
+
+
+