Brownserve.PSTools
0.12.0
A collection of common tools for use in Brownserve projects
Minimum PowerShell version
6.0
Installation Options
Owners
Copyright
2023 Brownserve UK
Package Details
Author(s)
- Brownserve UK
Tags
Functions
Add-ChangelogEntry Get-SPDXLicenseIDs Initialize-BrownserveRepository New-BrownservePowerShellModuleBuild New-NuGetPackageVersion Read-Changelog Send-BuildNotification Update-BrownserveRepository Update-Changelog Install-ChocolateyPackage Assert-Command Assert-Directory ConvertTo-SortedHashtable Get-Response Invoke-DownloadMethod Invoke-NativeCommand Merge-Hashtable New-BrownserveTemporaryDirectory New-BrownserveTemporaryFile Read-ConfigurationFromFile Search-FileContent Test-Administrator Test-OperatingSystem Add-ModuleHelp Build-ModuleDocumentation ConvertTo-HTTPSRepoURL Get-GitBranches Get-GitCurrentBranch Get-GitRemoteOriginURL New-GitBranch Switch-GitBranch Add-PullRequestComment Get-GitHubRelease Get-GitHubTags Get-OpenPullRequests New-GitHubRelease New-PullRequest New-BrownservePowerShellModule Update-BrownservePowerShellModule Send-SlackNotification Publish-TeamcityArtifact Set-TeamcityBuildNumber Write-TeamcityBuildProblem Write-TeamcityStatus Format-TerraformResourceName Get-Terraform Get-TerraformResource Invoke-TerraformApply Invoke-TerraformInit Invoke-TerraformPlan Invoke-TerraformShow Invoke-TerraformValidate New-TerraformResourceBlock Set-TerraformLogLevel Get-Vault Get-VaultSecret Split-URI
Dependencies
This module has no dependencies.
Release Notes
Features
Cmdlet updates/additions:
- Various new classes for handling data types
- Initialize-BrownserveRepository cmdlet which replaces the previous Initialize-BrownserveBuildRepo cmdlet
- New-BrownservePowerShellModuleBuild which allows for the quick creation of builds in repos.
- Assert-Command ensures a command is present in the current session
- ConvertTo-SortedHashtable converts a hashtable to one which is ordered alphabetically
- Tweak Invoke-NativeCommand to return the exit code
- Merge-Hashtable merges two hashtables together
- New-BrownserveTemporaryDirectory replaces New-BrownserveTempDirectory to be more consistent with our naming
- Read-ConfigurationFromFile allows storing complex default data in .json files
- Search-FileContent searches a file and returns any text between the two indicators
- Rework our help generation cmdlets to actually work
- ConvertTo-HTTPSRepoURL converts a ssh git repo URI to the HTTPS equivalent
- Various cmdlets for working with git
- Rename ConvertFrom-URI to Split-URI
Build/Test features:
- Updates the build/test scripts to use our new standard approach
- Updates the repo to be compatible with our new automated init/update approach
- Removed private cmdlet documentation, these will now be documented in the cmdlets themselves if required
Bugfixes
N/A
Known Issues
- This release renames a lot of our previously used cmdlets
- Private cmdlet documentation has been removed
FileList
- Brownserve.PSTools.nuspec
- Public\Chocolatey\Install-ChocolateyPackage.ps1
- Brownserve.PSTools.psd1
- Public\Common\Assert-Command.ps1
- Brownserve.PSTools.psm1
- Public\Common\Assert-Directory.ps1
- en-US\Brownserve.PSTools-help.xml
- Public\Common\ConvertTo-SortedHashtable.ps1
- Private\.config\devcontainer_config.json
- Public\Common\Get-Response.ps1
- Private\.config\gitignore_config.json
- Public\Common\Invoke-DownloadMethod.ps1
- Private\.config\package_aliases_config.json
- Public\Common\Invoke-NativeCommand.ps1
- Private\.config\paket_dependencies_config.json
- Public\Common\Merge-Hashtable.ps1
- Private\.config\repository_paths_config.json
- Public\Common\New-BrownserveTemporaryDirectory.ps1
- Private\.config\repository_vscode_extensions.json
- Public\Common\New-BrownserveTemporaryFile.ps1
- Private\Build\Classes.ps1
- Public\Common\Read-ConfigurationFromFile.ps1
- Private\Build\New-BrownserveBuildScript.ps1
- Public\Common\Search-FileContent.ps1
- Private\Build\New-BrownserveBuildTasksScript.ps1
- Public\Common\Test-Administrator.ps1
- Private\Build\New-BrownserveInitScript.ps1
- Public\Common\Test-OperatingSystem.ps1
- Private\Build\New-ChangelogBlock.ps1
- Public\Documentation\Add-ModuleHelp.ps1
- Private\Build\New-GitHubActionsWorkflow.ps1
- Public\Documentation\Build-ModuleDocumentation.ps1
- Private\Build\New-PaketDependenciesFile.ps1
- Public\Git\ConvertTo-HTTPSRepoURL.ps1
- Private\Build\templates\Init.ps1.template
- Public\Git\Get-GitBranches.ps1
- Private\Build\templates\psmodule_build_script.ps1.template
- Public\Git\Get-GitCurrentBranch.ps1
- Private\Build\templates\psmodule_build_tasks.ps1.template
- Public\Git\Get-GitRemoteOriginURL.ps1
- Private\Chocolatey\Chocolatey.ps1
- Public\Git\New-GitBranch.ps1
- Private\General\Classes.ps1
- Public\Git\Switch-GitBranch.ps1
- Private\Git\Classes.ps1
- Public\GitHub\Add-PullRequestComment.ps1
- Private\Git\New-GitIgnoresFile.ps1
- Public\GitHub\Get-GitHubRelease.ps1
- Private\PowerShell\Classes.ps1
- Public\GitHub\Get-GitHubTags.ps1
- Private\PowerShell\Module.template
- Public\GitHub\Get-OpenPullRequests.ps1
- Private\PowerShell\New-BrownservePoShModuleFromTemplate.ps1
- Public\GitHub\New-GitHubRelease.ps1
- Private\PowerShell\Read-BrownservePowerShellModule.ps1
- Public\GitHub\New-PullRequest.ps1
- Private\Terraform\ConvertTo-TerraformObject.ps1
- Public\PowerShell\New-BrownservePowerShellModule.ps1
- Private\VSCode\brownserve-pstools.code-snippets
- Public\PowerShell\Update-BrownservePowerShellModule.ps1
- Private\VSCode\Classes.ps1
- Public\Slack\Send-SlackNotification.ps1
- Private\VSCode\Get-VSCodeWorkspaceExtensions.ps1
- Public\Teamcity\Publish-TeamcityArtifact.ps1
- Private\VSCode\Get-VSCodeWorkspaceSettings.ps1
- Public\Teamcity\Set-TeamcityBuildNumber.ps1
- Private\VSCode\New-VSCodeDevcontainer.ps1
- Public\Teamcity\Write-TeamcityBuildProblem.ps1
- Private\VSCode\devcontainer\devcontainer.json
- Public\Teamcity\Write-TeamcityStatus.ps1
- Private\VSCode\devcontainer\Dockerfile_Generic
- Public\Terraform\Format-TerraformResourceName.ps1
- Private\VSCode\devcontainer\Dockerfile_PowerShellModule
- Public\Terraform\Get-Terraform.ps1
- Private\VSCode\Extensions\cSpell_settings.json
- Public\Terraform\Get-TerraformResource.ps1
- Private\VSCode\Extensions\Merge-VSCodeSpellings.ps1
- Public\Terraform\Invoke-TerraformApply.ps1
- Private\VSCode\Extensions\New-VSCodeSpellingsExtensionConfig.ps1
- Public\Terraform\Invoke-TerraformInit.ps1
- Public\Build\Add-ChangelogEntry.ps1
- Public\Terraform\Invoke-TerraformPlan.ps1
- Public\Build\Get-SPDXLicenseIDs.ps1
- Public\Terraform\Invoke-TerraformShow.ps1
- Public\Build\Initialize-BrownserveRepository.ps1
- Public\Terraform\Invoke-TerraformValidate.ps1
- Public\Build\New-BrownservePowerShellModuleBuild.ps1
- Public\Terraform\New-TerraformResourceBlock.ps1
- Public\Build\New-NuGetPackageVersion.ps1
- Public\Terraform\Set-TerraformLogLevel.ps1
- Public\Build\Read-Changelog.ps1
- Public\Vault\Get-Vault.ps1
- Public\Build\Send-BuildNotification.ps1
- Public\Vault\Get-VaultSecret.ps1
- Public\Build\Update-BrownserveRepository.ps1
- Public\Web\Split-URI.ps1
- Public\Build\Update-Changelog.ps1
Version History
Version | Downloads | Last updated |
---|---|---|
0.16.0 | 45 | 9/9/2023 |
0.15.0 | 9 | 8/10/2023 |
0.14.0 | 11 | 7/29/2023 |
0.13.1 | 9 | 7/23/2023 |
0.13.0 | 8 | 7/22/2023 |
0.12.0 (current version) | 10 | 6/4/2023 |
0.11.0 | 15 | 4/19/2023 |
0.10.1 | 8 | 4/13/2023 |
0.9.0 | 14 | 3/27/2023 |
0.8.2 | 78 | 2/21/2022 |
0.8.1 | 14 | 2/21/2022 |
0.8.0 | 16 | 2/20/2022 |
0.7.0 | 19 | 12/7/2021 |
0.6.0 | 14 | 12/7/2021 |
0.5.3 | 18 | 11/19/2021 |
0.5.2 | 14 | 11/18/2021 |
0.5.1 | 14 | 11/18/2021 |
0.5.0 | 14 | 11/17/2021 |
0.4.1 | 14 | 11/17/2021 |
0.4.0 | 14 | 11/15/2021 |
0.3.0 | 39 | 10/12/2021 |
0.2.1 | 16 | 10/6/2021 |
0.2.0 | 14 | 10/6/2021 |
0.1.1 | 15 | 10/5/2021 |
0.1.0 | 15 | 10/5/2021 |
0.1.0-rev | 12 | 10/4/2021 |
0.1.0-dev | 12 | 10/4/2021 |