Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] develop from chocolatey:develop #102

Merged
merged 5 commits into from
Jan 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions CREDITS.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions GitReleaseManager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
multiline-regex: true
6 changes: 0 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
Expand Down
1 change: 0 additions & 1 deletion Source/ChocolateyGui.sln
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Import-Module ./helpers/gui-helpers.psm1
Import-Module ../helpers/gui-helpers.psm1

Describe "chocolateyguicli" -Tag ChocolateyGuiCli {
BeforeDiscovery {
Expand Down Expand Up @@ -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
}
}
}
Loading