From 32871c7b3b75de8a5a694eaf0366eed439add98b Mon Sep 17 00:00:00 2001 From: James Brundage <@github.com> Date: Wed, 1 Nov 2023 21:08:45 -0700 Subject: [PATCH 01/22] enhancement: Parsing git blame (Fixes #192) --- Extensions/Git.Blame.UGit.extension.ps1 | 51 +++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 Extensions/Git.Blame.UGit.extension.ps1 diff --git a/Extensions/Git.Blame.UGit.extension.ps1 b/Extensions/Git.Blame.UGit.extension.ps1 new file mode 100644 index 00000000..ee17e586 --- /dev/null +++ b/Extensions/Git.Blame.UGit.extension.ps1 @@ -0,0 +1,51 @@ +<# +.SYNOPSIS + Parses git blame output +.DESCRIPTION + Parses the output of git blame. +.EXAMPLE + git blame ugit.psd1 +#> +[Management.Automation.Cmdlet("Out","Git")] # It's an extension for Out-Git +[ValidatePattern("^u?git blame",Options='IgnoreCase')] # when the pattern is "git blame" +param() + +begin { + $gitBlameOutput = @() + $blameHeaderPattern = "(?[0-9a-f]{8})\s\((?.+?)\)" +} + +process { + $gitBlameOutput += $gitout +} + +end { + $blameObjects = @( + foreach ($gitBlameLine in $gitBlameOutput) { + if ($gitBlameLine -notmatch $blameHeaderPattern) { continue } + $lineContent = $gitBlameLine -replace $blameHeaderPattern + $commitMatch = [Ordered]@{} + $matches + $whoWhenWhat = $commitMatch.WhoWhenWhat -split '\s+' + $commitAuthorStart = $whoWhenWhat.Length + + [PSCustomObject][Ordered]@{ + PSTypeName = 'git.blame' + CommitHash = $commitMatch.CommitHash + CommitDate = ($whoWhenWhat[-4..-2] -join ' ') -as [DateTime] + Line = $whoWhenWhat[-1] + Content = $lineContent + GitRoot = $GitRoot + Author = $whoWhenWhat[0..$( + ($whoWhenWhat.Length - 5) + )] -join ' ' + } + } + ) + + if ($blameObjects) { + $blameObjects + } else { + $gitBlameOutput + } +} + From d91ba50d4ece5538ecbe02de716e5a4715fbbda7 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 2 Nov 2023 04:09:49 +0000 Subject: [PATCH 02/22] enhancement: Parsing git blame (Fixes #192) --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index acc7b637..1c112844 100644 --- a/README.md +++ b/README.md @@ -73,6 +73,13 @@ Get-UGitExtension is built using [Piecemeal](https://github.com/StartAutomating/ ugit comes packed with many examples. You might want to try giving some of these a try. +### Git.Blame Example 1 + + +~~~PowerShell + git blame ugit.psd1 +~~~ + ### Git.Branch Example 1 @@ -392,6 +399,9 @@ You might want to try giving some of these a try. Most extensions handle output from a single git command. +* [Git Blame](docs/Git.Blame-Extension.md) + + * [Git Branch](docs/Git.Branch-Extension.md) From 8efde280c2253d316d62b913ee584856d251db06 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 2 Nov 2023 04:09:54 +0000 Subject: [PATCH 03/22] enhancement: Parsing git blame (Fixes #192) --- ugit.format.ps1xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ugit.format.ps1xml b/ugit.format.ps1xml index 042dc14e..dff4fa75 100644 --- a/ugit.format.ps1xml +++ b/ugit.format.ps1xml @@ -1,5 +1,5 @@ - + From 5e83c1acf55d23016839e97ff12ecebd40f7bb26 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 2 Nov 2023 04:09:54 +0000 Subject: [PATCH 04/22] enhancement: Parsing git blame (Fixes #192) --- ugit.types.ps1xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ugit.types.ps1xml b/ugit.types.ps1xml index 8dd843b3..c2e1557e 100644 --- a/ugit.types.ps1xml +++ b/ugit.types.ps1xml @@ -1,5 +1,5 @@ - + git.branch From f7bf6a8d1c993f9fd732e8b0f702ba8740d9c9f6 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 2 Nov 2023 04:09:59 +0000 Subject: [PATCH 05/22] enhancement: Parsing git blame (Fixes #192) --- docs/Git.Blame-Extension.md | 38 +++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 docs/Git.Blame-Extension.md diff --git a/docs/Git.Blame-Extension.md b/docs/Git.Blame-Extension.md new file mode 100644 index 00000000..68ba7b33 --- /dev/null +++ b/docs/Git.Blame-Extension.md @@ -0,0 +1,38 @@ +Extensions/Git.Blame.UGit.extension.ps1 +--------------------------------------- + + + + +### Synopsis +Parses git blame output + + + +--- + + +### Description + +Parses the output of git blame. + + + +--- + + +### Examples +> EXAMPLE 1 + +```PowerShell +git blame ugit.psd1 +``` + + +--- + + +### Syntax +```PowerShell +Extensions/Git.Blame.UGit.extension.ps1 [] +``` From c67654ede7d10b265b84a0c9813b7d18c2c196c6 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 2 Nov 2023 04:10:00 +0000 Subject: [PATCH 06/22] enhancement: Parsing git blame (Fixes #192) --- docs/README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/README.md b/docs/README.md index 9e1fa661..139cbec2 100644 --- a/docs/README.md +++ b/docs/README.md @@ -73,6 +73,13 @@ Get-UGitExtension is built using [Piecemeal](https://github.com/StartAutomating/ ugit comes packed with many examples. You might want to try giving some of these a try. +### Git.Blame Example 1 + + +~~~PowerShell + git blame ugit.psd1 +~~~ + ### Git.Branch Example 1 @@ -392,6 +399,9 @@ You might want to try giving some of these a try. Most extensions handle output from a single git command. +* [Git Blame](Git.Blame-Extension.md) + + * [Git Branch](Git.Branch-Extension.md) From cc3e02baeeac9f067eebaeaa5d127b8aea704ad9 Mon Sep 17 00:00:00 2001 From: James Brundage <@github.com> Date: Wed, 1 Nov 2023 22:06:09 -0700 Subject: [PATCH 07/22] enhancement: Formatting git blame (Fixes #193) --- Types/git.blame/git.blame.format.ps1 | 4 ++++ ugit.ezout.ps1 | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 Types/git.blame/git.blame.format.ps1 diff --git a/Types/git.blame/git.blame.format.ps1 b/Types/git.blame/git.blame.format.ps1 new file mode 100644 index 00000000..98b3deff --- /dev/null +++ b/Types/git.blame/git.blame.format.ps1 @@ -0,0 +1,4 @@ +Write-FormatView -TypeName git.blame -GroupByProperty GitRoot -Property CommitHash, Author, CommitDate, Line, Content -AlignProperty @{ + 'Line' = 'Right' + 'Content' = 'Left' +} diff --git a/ugit.ezout.ps1 b/ugit.ezout.ps1 index c4fabcfb..974334f2 100644 --- a/ugit.ezout.ps1 +++ b/ugit.ezout.ps1 @@ -7,7 +7,7 @@ Push-Location $myRoot $formatting = @( # Add your own Write-FormatView here, # or put them in a Formatting or Views directory - foreach ($potentialDirectory in 'Formatting','Views') { + foreach ($potentialDirectory in 'Formatting','Views','Types') { Join-Path $myRoot $potentialDirectory | Get-ChildItem -ea ignore | Import-FormatView -FilePath {$_.Fullname} From 739b257be02f60a6890ab246797e7fd667df0597 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 2 Nov 2023 05:07:11 +0000 Subject: [PATCH 08/22] enhancement: Formatting git blame (Fixes #193) --- ugit.format.ps1xml | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/ugit.format.ps1xml b/ugit.format.ps1xml index dff4fa75..2a46bd69 100644 --- a/ugit.format.ps1xml +++ b/ugit.format.ps1xml @@ -3036,5 +3036,51 @@ $BackgroundColor + + git.blame + + git.blame + + + GitRoot + + + + + + + + + + + Right + + + Left + + + + + + + CommitHash + + + Author + + + CommitDate + + + Line + + + Content + + + + + + From ad19062eb2ebd4b43a239ae07b4028818111073c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 2 Nov 2023 05:07:11 +0000 Subject: [PATCH 09/22] enhancement: Formatting git blame (Fixes #193) --- ugit.types.ps1xml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ugit.types.ps1xml b/ugit.types.ps1xml index c2e1557e..b07ac6f3 100644 --- a/ugit.types.ps1xml +++ b/ugit.types.ps1xml @@ -1,6 +1,11 @@ + + git.blame + + + git.branch From 0adf182f48ad5928a37f6daa750630cfc1f0cbc3 Mon Sep 17 00:00:00 2001 From: James Brundage <@github.com> Date: Wed, 1 Nov 2023 22:09:21 -0700 Subject: [PATCH 10/22] enhancement: git.blame.log (Fixes #201) --- Types/git.blame/PSTypeName.txt | 1 + Types/git.blame/get_Log.ps1 | 4 ++++ 2 files changed, 5 insertions(+) create mode 100644 Types/git.blame/PSTypeName.txt create mode 100644 Types/git.blame/get_Log.ps1 diff --git a/Types/git.blame/PSTypeName.txt b/Types/git.blame/PSTypeName.txt new file mode 100644 index 00000000..af41d9e4 --- /dev/null +++ b/Types/git.blame/PSTypeName.txt @@ -0,0 +1 @@ +git.blame diff --git a/Types/git.blame/get_Log.ps1 b/Types/git.blame/get_Log.ps1 new file mode 100644 index 00000000..e1307fff --- /dev/null +++ b/Types/git.blame/get_Log.ps1 @@ -0,0 +1,4 @@ + +Push-Location $this.GitRoot +git log $this.CommitHash -NumberOfCommits 1 +Pop-Location \ No newline at end of file From b717694676cbf63373221dfb53ba6a185f5c97b0 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 2 Nov 2023 05:10:38 +0000 Subject: [PATCH 11/22] enhancement: git.blame.log (Fixes #201) --- ugit.types.ps1xml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/ugit.types.ps1xml b/ugit.types.ps1xml index b07ac6f3..a4f7cd91 100644 --- a/ugit.types.ps1xml +++ b/ugit.types.ps1xml @@ -4,6 +4,15 @@ git.blame + + Log + + +Push-Location $this.GitRoot +git log $this.CommitHash -NumberOfCommits 1 +Pop-Location + + From 5733a4c57e383d4aa69d53f92104b5499ce35319 Mon Sep 17 00:00:00 2001 From: James Brundage <@github.com> Date: Sat, 4 Nov 2023 15:15:12 -0700 Subject: [PATCH 12/22] enhancement: git blame adding .File and .Revision (re #192) --- Extensions/Git.Blame.UGit.extension.ps1 | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/Extensions/Git.Blame.UGit.extension.ps1 b/Extensions/Git.Blame.UGit.extension.ps1 index ee17e586..9b2f7be7 100644 --- a/Extensions/Git.Blame.UGit.extension.ps1 +++ b/Extensions/Git.Blame.UGit.extension.ps1 @@ -12,11 +12,19 @@ param() begin { $gitBlameOutput = @() - $blameHeaderPattern = "(?[0-9a-f]{8})\s\((?.+?)\)" + $blameHeaderPattern = @( + '(?[0-9a-f]{8})\s' + + # If your filename contains parenthesis, this may not work, and you'll only have yourself to blame. + '(?:(?[\S-[\(]]+)\s)?' + + '\((?.+?)\)' + ) -join '' + $blameRevision = @($gitCommand -split '\s' -notmatch '^--')[-1] } process { - $gitBlameOutput += $gitout + $gitBlameOutput += $gitout } end { @@ -26,19 +34,21 @@ end { $lineContent = $gitBlameLine -replace $blameHeaderPattern $commitMatch = [Ordered]@{} + $matches $whoWhenWhat = $commitMatch.WhoWhenWhat -split '\s+' - $commitAuthorStart = $whoWhenWhat.Length [PSCustomObject][Ordered]@{ PSTypeName = 'git.blame' CommitHash = $commitMatch.CommitHash CommitDate = ($whoWhenWhat[-4..-2] -join ' ') -as [DateTime] Line = $whoWhenWhat[-1] + File = $matches.File + Revision = $blameRevision Content = $lineContent GitRoot = $GitRoot Author = $whoWhenWhat[0..$( ($whoWhenWhat.Length - 5) )] -join ' ' - } + GitOutputLines = $gitBlameLine + } } ) From 4223d0ce79ffc038b14eff7edb8c28e56cb592a5 Mon Sep 17 00:00:00 2001 From: James Brundage <@github.com> Date: Sat, 4 Nov 2023 15:24:26 -0700 Subject: [PATCH 13/22] enhancement: git blame input (Fixes #199) --- Extensions/Git.Blame.Input.ugit.extension.ps1 | 50 +++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 Extensions/Git.Blame.Input.ugit.extension.ps1 diff --git a/Extensions/Git.Blame.Input.ugit.extension.ps1 b/Extensions/Git.Blame.Input.ugit.extension.ps1 new file mode 100644 index 00000000..edda0c03 --- /dev/null +++ b/Extensions/Git.Blame.Input.ugit.extension.ps1 @@ -0,0 +1,50 @@ +<# +.SYNOPSIS + Extends git blame's parameters +.DESCRIPTION + Extends the parameters for git blame. +#> +[ValidatePattern('^git blame')] +[Management.Automation.Cmdlet("Use","Git")] +[CmdletBinding(PositionalBinding=$false)] +param( +# The line number (and relative offset) +[Parameter(ValueFromPipelineByPropertyName)] +[int[]] +$LineNumber, + +# The blame pattern to look for. +[Parameter(ValueFromPipelineByPropertyName)] +[string[]] +$Pattern +) + +process { + + # All git of these git blame parameters need to be after the input object: + foreach ($gitArgToBe in @( + if ($LineNumber) { # If a -LineNumber was provided + # turn each pair into a range + for ($LineNumberNumber = 0; $LineNumberNumber -lt $LineNumber.Length; $LineNumberNumber++) { + "-L" # (this will be specified by git blame's real parameter, '-L') + "$( + if ($LineNumberNumber -lt ($LineNumber.Length - 1)) { + "$($lineNumber[$LineNumberNumber]),$($lineNumber[$LineNumberNumber + 1])" + } else { + # if there was only one of a pair, only grab that line. + "$($lineNumber[$LineNumberNumber]),1" + } + )" + } + } + + if ($Pattern) { # If a -Pattern was provided + foreach ($linePattern in $pattern) { + "-L" # this also becomes '-L' in git blame + "$linePattern" + } + } + )) { + $gitArgToBe | Add-Member NoteProperty AfterInput $true -Force -PassThru + } +} From ca081f7d5562a01d58249087ff168fa390e2d4e9 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 4 Nov 2023 22:25:12 +0000 Subject: [PATCH 14/22] enhancement: git blame input (Fixes #199) --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 1c112844..635b1a87 100644 --- a/README.md +++ b/README.md @@ -482,6 +482,9 @@ It will attempt to locate any output specified by -o and return it as a file or ugit also allows you to extend the input for git. +* [Git Blame Input](docs/Git.Blame.Input-Extension.md) + + * [Git Clone Input](docs/Git.Clone.Input-Extension.md) From 3b9c02939ccb778620c3e8278589cd254ed7626d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 4 Nov 2023 22:25:24 +0000 Subject: [PATCH 15/22] enhancement: git blame input (Fixes #199) --- docs/Git.Blame.Input-Extension.md | 63 +++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 docs/Git.Blame.Input-Extension.md diff --git a/docs/Git.Blame.Input-Extension.md b/docs/Git.Blame.Input-Extension.md new file mode 100644 index 00000000..d4377287 --- /dev/null +++ b/docs/Git.Blame.Input-Extension.md @@ -0,0 +1,63 @@ +Extensions/Git.Blame.Input.ugit.extension.ps1 +--------------------------------------------- + + + + +### Synopsis +Extends git blame's parameters + + + +--- + + +### Description + +Extends the parameters for git blame. + + + +--- + + +### Parameters +#### **LineNumber** + +The line number (and relative offset) + + + + + + +|Type |Required|Position|PipelineInput | +|-----------|--------|--------|---------------------| +|`[Int32[]]`|false |named |true (ByPropertyName)| + + + +#### **Pattern** + +The blame pattern to look for. + + + + + + +|Type |Required|Position|PipelineInput | +|------------|--------|--------|---------------------| +|`[String[]]`|false |named |true (ByPropertyName)| + + + + + +--- + + +### Syntax +```PowerShell +Extensions/Git.Blame.Input.ugit.extension.ps1 [-LineNumber ] [-Pattern ] [] +``` From e27290fe5993898f5849452d40533a45be0e860e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 4 Nov 2023 22:25:25 +0000 Subject: [PATCH 16/22] enhancement: git blame input (Fixes #199) --- docs/README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/README.md b/docs/README.md index 139cbec2..a0fc3271 100644 --- a/docs/README.md +++ b/docs/README.md @@ -482,6 +482,9 @@ It will attempt to locate any output specified by -o and return it as a file or ugit also allows you to extend the input for git. +* [Git Blame Input](Git.Blame.Input-Extension.md) + + * [Git Clone Input](Git.Clone.Input-Extension.md) From 820dd87618d67f345df79bdf3bf99433305af54a Mon Sep 17 00:00:00 2001 From: James Brundage <@github.com> Date: Sat, 4 Nov 2023 15:29:01 -0700 Subject: [PATCH 17/22] enhancement: Use-Git writing to Verbose (Fixes #204) Also Fixes #198. Writing to Verbose when no repo root is found. --- Use-Git.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Use-Git.ps1 b/Use-Git.ps1 index f0f1f5c8..e23d3403 100644 --- a/Use-Git.ps1 +++ b/Use-Git.ps1 @@ -319,7 +319,7 @@ if (-not $script:RepoRoots[$dir] -and # If we did not have a repo root -not ($gitArgument -match "(?>$($RepoNotRequired -join '|'))") # and we are not doing an operation that does not require one ) { - Write-Warning "'$($dir)' is not a git repository" # warn that there is no repo (#21) + Write-Verbose "'$($dir)' is not a git repository" # write that there is no repo to verbose (#21 , #198, #204) Pop-Location # pop back out of the directory continue nextDirectory # and continue to the next directory. } From 390c5164aa8aefd019329ccd1743c363e6654135 Mon Sep 17 00:00:00 2001 From: James Brundage <@github.com> Date: Sat, 4 Nov 2023 15:45:58 -0700 Subject: [PATCH 18/22] fix: ugit on-demand PSA (Fixes #189) --- ugit.psa.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ugit.psa.ps1 b/ugit.psa.ps1 index fefeccc3..1e1ce9dc 100644 --- a/ugit.psa.ps1 +++ b/ugit.psa.ps1 @@ -29,7 +29,7 @@ $importedModule = Import-Module .\ugit.psd1 -Global -PassThru $importedModule | Out-Host $moduleAndVersion = "$($importedModule.Name) $($importedModule.Version)" -$isManuallyTriggered = $gitHubEvent.psobject.properties["input"] +$isManuallyTriggered = $gitHubEvent.psobject.properties["inputs"] if ($isMergeToMain -or $isManuallyTriggered) { From 783a8aa2d67c38b3cab655f338049c3b7747dd45 Mon Sep 17 00:00:00 2001 From: James Brundage <@github.com> Date: Sat, 4 Nov 2023 15:49:36 -0700 Subject: [PATCH 19/22] enhancement: Adding ugit taglines (Fixes #206) --- ugit.psd1 | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/ugit.psd1 b/ugit.psd1 index 1b8849ad..fba8e5ff 100644 --- a/ugit.psd1 +++ b/ugit.psd1 @@ -36,6 +36,15 @@ Like It? Start It. Love It? Support It. https://github.com/StartAutomating/ugit '@ + Taglines = @( + "I've got to admit it's gitting better, gitting better all the time:" + "Somehow, someway, I keep coming up with funky git nearly every single day:" + "#git in the #PowerShell object pipeline!" + "Get your git together!" + "Put this git in your pipe and smoke it!" + "I promise you, git gets better" + "Git ahead of the game!" + ) } } } \ No newline at end of file From c85b88cafa775df66179bd66486a29d9e3d5d434 Mon Sep 17 00:00:00 2001 From: James Brundage <@github.com> Date: Sat, 4 Nov 2023 15:52:39 -0700 Subject: [PATCH 20/22] enhancement: Using ugit tagline in PSA (Fixes #207) --- ugit.psa.ps1 | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) diff --git a/ugit.psa.ps1 b/ugit.psa.ps1 index 1e1ce9dc..5331b825 100644 --- a/ugit.psa.ps1 +++ b/ugit.psa.ps1 @@ -36,26 +36,16 @@ if ($isMergeToMain -or $isManuallyTriggered) { $fullMessage = @(switch ($importedModule.Version) { default { - "I've got to admit it's gitting better, gitting better all the time:", - "Somehow, someway, I keep coming up with funky git nearly every single day:", - "#git in the #PowerShell object pipeline!", - "Get your git together!", - "Put this git in your pipe and smoke it!", - "I promise you, git gets better", - "Git ahead of the game!" | - Get-Random - - "$moduleAndVersion" - - "https://github.com/StartAutomating/ugit" + $importedModule.PrivateData.PSData.Taglines | Get-Random + "$moduleAndVersion" } }) -join ([Environment]::NewLine * 2) Send-AtProto -Text $fullMessage -WebCard @{ - Url = "https://github.com/StartAutomating/ugit" + Url = $importedModule.PrivateData.PSData.ProjectURI } -LinkPattern @{ - "ugit" = "https://github.com/StartAutomating/ugit" + $importedModule.Name = $importedModule.PrivateData.PSData.ProjectURI } return From 3199b358d6817bb20de042725e2c676c011efeb2 Mon Sep 17 00:00:00 2001 From: James Brundage <@github.com> Date: Sat, 4 Nov 2023 15:58:12 -0700 Subject: [PATCH 21/22] release: ugit@0.4.2 Updating Module Version and CHANGELOG --- CHANGELOG.md | 8 ++++++++ ugit.psd1 | 16 +++++----------- 2 files changed, 13 insertions(+), 11 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 06cf0449..f34773fc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,11 @@ +## 0.4.2: + +* git blame support (#192, #193, #199, #201) +* Use-Git will write to Verbose, not warning, when a directory is not a repository (#198, #204) +* ugit PSA improvements (#189, #205, #206, #207) + +--- + ## 0.4.1: * New Git Command Support: diff --git a/ugit.psd1 b/ugit.psd1 index fba8e5ff..58baf2f3 100644 --- a/ugit.psd1 +++ b/ugit.psd1 @@ -1,5 +1,5 @@ @{ - ModuleVersion = '0.4.1' + ModuleVersion = '0.4.2' RootModule = 'ugit.psm1' FormatsToProcess = 'ugit.format.ps1xml' TypesToProcess = 'ugit.types.ps1xml' @@ -17,17 +17,11 @@ PrivateData = @{ LicenseURI = 'https://github.com/StartAutomating/ugit/blob/main/LICENSE' BuildModule = @('EZOut', 'Piecemeal', 'PipeScript', 'PSSVG') ReleaseNotes = @' -## 0.4.1: +## 0.4.2: -* New Git Command Support: - * git submodule status (#183) -* New Git ScriptMethods: - * git.branch.diff (#187) - * git.branch.rename (#86) -* Easier Input: - * git commit -CommitDate (#184) - * git log -CurrentBranch (fixing forks, #179) -* Announcing Releases with [PSA](https://github.com/StartAutomating/PSA) +* git blame support (#192, #193, #199, #201) +* Use-Git will write to Verbose, not warning, when a directory is not a repository (#198, #204) +* ugit PSA improvements (#189, #205, #206, #207) --- From b88553cb567d0ae8c72a4289834c25a52e3bdf0d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 4 Nov 2023 22:59:19 +0000 Subject: [PATCH 22/22] release: ugit@0.4.2 Updating Module Version and CHANGELOG --- docs/CHANGELOG.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 46cf79de..35cbb9cc 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -1,3 +1,11 @@ +## 0.4.2: + +* git blame support (#192, #193, #199, #201) +* Use-Git will write to Verbose, not warning, when a directory is not a repository (#198, #204) +* ugit PSA improvements (#189, #205, #206, #207) + +--- + ## 0.4.1: * New Git Command Support: