From 8514c941e1aac07b6566fb4ed47adb2e4175c529 Mon Sep 17 00:00:00 2001 From: Cory Knox Date: Tue, 19 Dec 2023 17:52:25 -0800 Subject: [PATCH 1/4] (tests) Move the Pester tests to be consistent The pester tests in the rest of the Chocolatey repositories reside in a tests/pester-tests directory. This moves the tests to be consistent with the other repositories. --- Tests/{ => pester-tests}/chocolateyguicli.Tests.ps1 | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename Tests/{ => pester-tests}/chocolateyguicli.Tests.ps1 (100%) diff --git a/Tests/chocolateyguicli.Tests.ps1 b/Tests/pester-tests/chocolateyguicli.Tests.ps1 similarity index 100% rename from Tests/chocolateyguicli.Tests.ps1 rename to Tests/pester-tests/chocolateyguicli.Tests.ps1 From 8d431e92463b70337fc7b422e0748bbd2b0ed63c Mon Sep 17 00:00:00 2001 From: Cory Knox Date: Tue, 19 Dec 2023 17:54:29 -0800 Subject: [PATCH 2/4] (tests) Update Pester tests to be consistent --- Tests/pester-tests/chocolateyguicli.Tests.ps1 | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/Tests/pester-tests/chocolateyguicli.Tests.ps1 b/Tests/pester-tests/chocolateyguicli.Tests.ps1 index 44a013870..393001fad 100644 --- a/Tests/pester-tests/chocolateyguicli.Tests.ps1 +++ b/Tests/pester-tests/chocolateyguicli.Tests.ps1 @@ -1,4 +1,4 @@ -Import-Module ./helpers/gui-helpers.psm1 +Import-Module ../helpers/gui-helpers.psm1 Describe "chocolateyguicli" -Tag ChocolateyGuiCli { BeforeDiscovery { @@ -29,20 +29,21 @@ Describe "chocolateyguicli" -Tag ChocolateyGuiCli { $Output.String | Should -Match $Name } } - + Context "Toggles the feature (<_.Name>) successfully" -ForEach $Features { BeforeAll { - $Outputs = if ($Enabled) { - Invoke-GuiCli feature disable --name $_.Name - Invoke-GuiCli feature enable --name $_.Name + if ($Enabled) { + $DisableOutput = Invoke-GuiCli feature disable --name $_.Name + $EnableOutput = Invoke-GuiCli feature enable --name $_.Name } else { - Invoke-GuiCli feature enable --name $_.Name - Invoke-GuiCli feature disable --name $_.Name + $EnableOutput = Invoke-GuiCli feature enable --name $_.Name + $DisableOutput = Invoke-GuiCli feature disable --name $_.Name } } - It "Should exit success" { - $Outputs.ExitCode | Should -Not -Contain 1 + It "Should exit success (0)" { + $EnableOutput.ExitCode | Should -Be 0 -Because $EnableOutput.String + $DisableOutput.ExitCode | Should -Be 0 -Because $DisableOutput.String } } } From 9bf2d96e1221ac50566814fb9179dcf748226ebe Mon Sep 17 00:00:00 2001 From: Gary Ewan Park Date: Wed, 20 Dec 2023 15:07:54 +0000 Subject: [PATCH 3/4] (maint) Update GRM configuration This commit makes a very small change to GRM configuration, to add a space between the 2 emojis. This doesn't cause problem for GitHub, but it does in GitLab, so to keep things the same, let's add the space. --- GitReleaseManager.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/GitReleaseManager.yaml b/GitReleaseManager.yaml index ef0b76a3b..82ad0a18a 100644 --- a/GitReleaseManager.yaml +++ b/GitReleaseManager.yaml @@ -35,10 +35,10 @@ close: - [GitHub Release](https://github.com/{owner}/{repository}/releases/tag/{milestone}) - [Chocolatey Package](https://community.chocolatey.org/packages/chocolateygui/{milestone}) - Your **[GitReleaseManager](https://github.com/GitTools/GitReleaseManager)** bot :package::rocket: + Your **[GitReleaseManager](https://github.com/GitTools/GitReleaseManager)** bot :package: :rocket: export: include-created-date-in-title: true created-date-string-format: MMMM dd, yyyy perform-regex-removal: true regex-text: '### Where to get it(\r\n)*You can .*\)' - multiline-regex: true \ No newline at end of file + multiline-regex: true From 1058d7fc0682f39f9f11345a1eb6e87f63bdae8c Mon Sep 17 00:00:00 2001 From: Gary Ewan Park Date: Thu, 21 Dec 2023 07:46:38 +0000 Subject: [PATCH 4/4] (maint) Remove mention of services no longer used Both AppVeyor and MyGet are no longer used, so we should remove mention on them across the repository. --- CREDITS.md | 2 -- README.md | 6 ------ Source/ChocolateyGui.sln | 1 - 3 files changed, 9 deletions(-) diff --git a/CREDITS.md b/CREDITS.md index 928fe6196..baf0f5dd5 100644 --- a/CREDITS.md +++ b/CREDITS.md @@ -21,10 +21,8 @@ These are the committers to Chocolatey/Chocolatey GUI repository: Chocolatey GUI is built, with the following fantastic frameworks and services: -* [AppVeyor](http://www.appveyor.com/) * [Cake](http://cakebuild.net/) * [Cake.Recipe](https://github.com/cake-contrib/Cake.Recipe) -* [MyGet](http://www.myget.org/) * [NuGet.exe](https://www.nuget.org/) Chocolatey GUI is tested and analyzed with the following rockstar frameworks: diff --git a/README.md b/README.md index b7007ade7..068df2411 100644 --- a/README.md +++ b/README.md @@ -8,12 +8,6 @@ You can install Chocolatey GUI via Chocolatey itself by executing: ```choco install ChocolateyGUI``` -If you are interested in trying out the latest pre-release version of Chocolatey GUI then you can use the following installation command: - -```choco install chocolateygui --source https://www.myget.org/F/chocolateygui/ --pre``` - -This uses the public Chocolatey GUI feed which is hosted on [MyGet.org](https://www.myget.org) as the source. - ## Build Status | GitHub Action | diff --git a/Source/ChocolateyGui.sln b/Source/ChocolateyGui.sln index 9b1f488b0..dfa4e91cf 100644 --- a/Source/ChocolateyGui.sln +++ b/Source/ChocolateyGui.sln @@ -10,7 +10,6 @@ EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Build", "Build", "{C6760D8F-E01B-4F26-9B0C-4E2D825509D2}" ProjectSection(SolutionItems) = preProject ..\.editorconfig = ..\.editorconfig - ..\appveyor.yml = ..\appveyor.yml ..\nuspec\chocolatey\ChocolateyGUI.nuspec = ..\nuspec\chocolatey\ChocolateyGUI.nuspec ..\nuspec\chocolatey\chocolateyInstall.ps1 = ..\nuspec\chocolatey\chocolateyInstall.ps1 ..\nuspec\chocolatey\chocolateyUninstall.ps1 = ..\nuspec\chocolatey\chocolateyUninstall.ps1