diff --git a/images/macos/provision/core/git.sh b/images/macos/provision/core/git.sh index 3a62d85e..5721d627 100644 --- a/images/macos/provision/core/git.sh +++ b/images/macos/provision/core/git.sh @@ -14,9 +14,6 @@ git lfs install # Update system git config sudo git lfs install --system -echo Installing Hub -brew_smart_install "hub" - echo Disable all the Git help messages... git config --global advice.pushUpdateRejected false git config --global advice.pushNonFFCurrent false diff --git a/images/macos/software-report/SoftwareReport.Common.psm1 b/images/macos/software-report/SoftwareReport.Common.psm1 index c060f453..55ea6d4b 100644 --- a/images/macos/software-report/SoftwareReport.Common.psm1 +++ b/images/macos/software-report/SoftwareReport.Common.psm1 @@ -302,11 +302,6 @@ function Get-GitHubCLIVersion { return $ghVersion } -function Get-HubVersion { - $hubVersion = Run-Command "brew list --versions hub" | Take-Part -Part 1 - return $hubVersion -} - function Get-WgetVersion { $wgetVersion = Run-Command "wget --version" | Select-String "GNU Wget" | Take-Part -Part 2 return $wgetVersion @@ -634,4 +629,4 @@ function Get-ColimaVersion { function Get-PKGConfigVersion { $pkgconfigVersion = Run-Command "pkg-config --version" return $pkgconfigVersion -} \ No newline at end of file +} diff --git a/images/macos/software-report/SoftwareReport.Generator.ps1 b/images/macos/software-report/SoftwareReport.Generator.ps1 index f75ec124..83ba5ff9 100644 --- a/images/macos/software-report/SoftwareReport.Generator.ps1 +++ b/images/macos/software-report/SoftwareReport.Generator.ps1 @@ -123,7 +123,6 @@ if ($os.IsBigSur) { $utilities.AddToolVersion("helm", $(Get-HelmVersion)) } if ((-not $os.IsVentura) -and (-not $os.IsVenturaArm64)) { - $utilities.AddToolVersion("Hub CLI", $(Get-HubVersion)) $utilities.AddToolVersion("ImageMagick", $(Get-ImageMagickVersion)) } $utilities.AddToolVersion("jq", $(Get-JqVersion)) diff --git a/images/macos/tests/Git.Tests.ps1 b/images/macos/tests/Git.Tests.ps1 index 0122c9fa..2a9f731e 100644 --- a/images/macos/tests/Git.Tests.ps1 +++ b/images/macos/tests/Git.Tests.ps1 @@ -8,8 +8,3 @@ Describe "Git" { "git lfs version" | Should -ReturnZeroExitCode } } -Describe "hub CLI" -Skip:($os.IsVentura -or $os.IsVenturaArm64) { - It "hub CLI is installed" { - "hub --version" | Should -ReturnZeroExitCode - } -} \ No newline at end of file