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

Migrate renovate config #154

Merged
merged 1 commit into from
Oct 28, 2024
Merged

Migrate renovate config #154

merged 1 commit into from
Oct 28, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 28, 2024

The Renovate config in this repository needs migrating. Typically this is because one or more configuration options you are using have been renamed.

You don't need to merge this PR right away, because Renovate will continue to migrate these fields internally each time it runs. But later some of these fields may be fully deprecated and the migrations removed. So it's a good idea to merge this migration PR soon.

🔕 Ignore: Close this PR and you won't be reminded about config migration again, but one day your current config may no longer be valid.

❓ Got questions? Does something look wrong to you? Please don't hesitate to request help here.


This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot requested a review from mikeee October 28, 2024 19:49
@renovate renovate bot mentioned this pull request Oct 28, 2024
1 task
Copy link

PSScriptAnalyzer results:

Errors: [0], Warnings: [42], Information: [2]


RuleName   : PSAvoidGlobalVars
Severity   : Warning
ScriptName : update_all.ps1
Line       : 112
Message    : Found global variable 'global:au_Root'.

RuleName   : PSAvoidGlobalVars
Severity   : Warning
ScriptName : update_all.ps1
Line       : 113
Message    : Found global variable 'global:info'.

RuleName   : PSAvoidUsingWriteHost
Severity   : Warning
ScriptName : update_all.ps1
Line       : 111
Message    : File 'update_all.ps1' uses Write-Host. Avoid using Write-Host 
             because it might not work in all hosts, does not work when there 
             is no host, and (prior to PS 5.0) cannot be suppressed, captured, 
             or redirected. Instead, use Write-Output, Write-Verbose, or 
             Write-Information.

RuleName   : PSAvoidGlobalVars
Severity   : Warning
ScriptName : test_all.ps1
Line       : 6
Message    : Found global variable 'global:au_root'.

RuleName   : PSAvoidGlobalVars
Severity   : Warning
ScriptName : test_all.ps1
Line       : 76
Message    : Found global variable 'global:info'.

RuleName   : PSAvoidUsingWriteHost
Severity   : Warning
ScriptName : test_all.ps1
Line       : 13
Message    : File 'test_all.ps1' uses Write-Host. Avoid using Write-Host 
             because it might not work in all hosts, does not work when there 
             is no host, and (prior to PS 5.0) cannot be suppressed, captured, 
             or redirected. Instead, use Write-Output, Write-Verbose, or 
             Write-Information.

RuleName   : PSAvoidUsingWriteHost
Severity   : Warning
ScriptName : test_all.ps1
Line       : 18
Message    : File 'test_all.ps1' uses Write-Host. Avoid using Write-Host 
             because it might not work in all hosts, does not work when there 
             is no host, and (prior to PS 5.0) cannot be suppressed, captured, 
             or redirected. Instead, use Write-Output, Write-Verbose, or 
             Write-Information.

RuleName   : PSAvoidUsingWriteHost
Severity   : Warning
ScriptName : test_all.ps1
Line       : 19
Message    : File 'test_all.ps1' uses Write-Host. Avoid using Write-Host 
             because it might not work in all hosts, does not work when there 
             is no host, and (prior to PS 5.0) cannot be suppressed, captured, 
             or redirected. Instead, use Write-Output, Write-Verbose, or 
             Write-Information.

RuleName   : PSAvoidUsingWriteHost
Severity   : Warning
ScriptName : Set-DescriptionFromReadme.ps1
Line       : 23
Message    : File 'Set-DescriptionFromReadme.ps1' uses Write-Host. Avoid using 
             Write-Host because it might not work in all hosts, does not work 
             when there is no host, and (prior to PS 5.0) cannot be suppressed, 
             captured, or redirected. Instead, use Write-Output, Write-Verbose, 
             or Write-Information.

RuleName   : PSUseShouldProcessForStateChangingFunctions
Severity   : Warning
ScriptName : Set-DescriptionFromReadme.ps1
Line       : 20
Message    : Function 'Set-DescriptionFromReadme' has verb that could change 
             system state. Therefore, the function has to support 
             'ShouldProcess'.

RuleName   : PSReviewUnusedParameter
Severity   : Warning
ScriptName : Get-GitHubRelease.ps1
Line       : 28
Message    : The parameter 'Latest' has been declared but not used. 

RuleName   : PSUseDeclaredVarsMoreThanAssignments
Severity   : Warning
ScriptName : update.ps1
Line       : 30
Message    : The variable 'matched' is assigned but never used.

RuleName   : PSUseDeclaredVarsMoreThanAssignments
Severity   : Warning
ScriptName : update.ps1
Line       : 7
Message    : The variable 'checksumType' is assigned but never used.

RuleName   : PSUseDeclaredVarsMoreThanAssignments
Severity   : Warning
ScriptName : update.ps1
Line       : 32
Message    : The variable 'matched' is assigned but never used.

RuleName   : PSUseDeclaredVarsMoreThanAssignments
Severity   : Warning
ScriptName : chocolateyUninstall.ps1
Line       : 8
Message    : The variable 'uninstalled' is assigned but never used.

RuleName   : PSUseDeclaredVarsMoreThanAssignments
Severity   : Warning
ScriptName : update.ps1
Line       : 30
Message    : The variable 'matched' is assigned but never used.

RuleName   : PSUseDeclaredVarsMoreThanAssignments
Severity   : Warning
ScriptName : update.ps1
Line       : 32
Message    : The variable 'versionMajor' is assigned but never used.

RuleName   : PSUseDeclaredVarsMoreThanAssignments
Severity   : Warning
ScriptName : update.ps1
Line       : 35
Message    : The variable 'match' is assigned but never used.

RuleName   : PSUseDeclaredVarsMoreThanAssignments
Severity   : Warning
ScriptName : update.ps1
Line       : 5
Message    : The variable 'releases' is assigned but never used.

RuleName   : PSUseDeclaredVarsMoreThanAssignments
Severity   : Warning
ScriptName : update.ps1
Line       : 30
Message    : The variable 'url64' is assigned but never used.

RuleName   : PSAvoidUsingWriteHost
Severity   : Warning
ScriptName : chocolateyUninstall.ps1
Line       : 11
Message    : File 'chocolateyUninstall.ps1' uses Write-Host. Avoid using 
             Write-Host because it might not work in all hosts, does not work 
             when there is no host, and (prior to PS 5.0) cannot be suppressed, 
             captured, or redirected. Instead, use Write-Output, Write-Verbose, 
             or Write-Information.

RuleName   : PSAvoidUsingWriteHost
Severity   : Warning
ScriptName : chocolateyUninstall.ps1
Line       : 12
Message    : File 'chocolateyUninstall.ps1' uses Write-Host. Avoid using 
             Write-Host because it might not work in all hosts, does not work 
             when there is no host, and (prior to PS 5.0) cannot be suppressed, 
             captured, or redirected. Instead, use Write-Output, Write-Verbose, 
             or Write-Information.

RuleName   : PSAvoidUsingWriteHost
Severity   : Warning
ScriptName : chocolateyBeforeModify.ps1
Line       : 3
Message    : File 'chocolateyBeforeModify.ps1' uses Write-Host. Avoid using 
             Write-Host because it might not work in all hosts, does not work 
             when there is no host, and (prior to PS 5.0) cannot be suppressed, 
             captured, or redirected. Instead, use Write-Output, Write-Verbose, 
             or Write-Information.

RuleName   : PSAvoidUsingWMICmdlet
Severity   : Warning
ScriptName : chocolateyInstall.ps1
Line       : 15
Message    : File 'chocolateyInstall.ps1' uses WMI cmdlet. For PowerShell 3.0 
             and above, use CIM cmdlet which perform the same tasks as the WMI 
             cmdlets. The CIM cmdlets comply with WS-Management (WSMan) 
             standards and with the Common Information Model (CIM) standard, 
             which enables the cmdlets to use the same techniques to manage 
             Windows computers and those running other operating systems.

RuleName   : PSAvoidUsingCmdletAliases
Severity   : Warning
ScriptName : chocolateyInstall.ps1
Line       : 15
Message    : 'select' is an alias of 'Select-Object'. Alias can introduce 
             possible problems and make scripts hard to maintain. Please 
             consider changing alias to its full content.

RuleName   : PSUseDeclaredVarsMoreThanAssignments
Severity   : Warning
ScriptName : update.ps1
Line       : 35
Message    : The variable 'match' is assigned but never used.

RuleName   : PSAvoidUsingWriteHost
Severity   : Warning
ScriptName : chocolateyUninstall.ps1
Line       : 11
Message    : File 'chocolateyUninstall.ps1' uses Write-Host. Avoid using 
             Write-Host because it might not work in all hosts, does not work 
             when there is no host, and (prior to PS 5.0) cannot be suppressed, 
             captured, or redirected. Instead, use Write-Output, Write-Verbose, 
             or Write-Information.

RuleName   : PSAvoidUsingWriteHost
Severity   : Warning
ScriptName : chocolateyUninstall.ps1
Line       : 12
Message    : File 'chocolateyUninstall.ps1' uses Write-Host. Avoid using 
             Write-Host because it might not work in all hosts, does not work 
             when there is no host, and (prior to PS 5.0) cannot be suppressed, 
             captured, or redirected. Instead, use Write-Output, Write-Verbose, 
             or Write-Information.

RuleName   : PSUseDeclaredVarsMoreThanAssignments
Severity   : Warning
ScriptName : update.ps1
Line       : 5
Message    : The variable 'releases' is assigned but never used.

RuleName   : PSAvoidUsingWriteHost
Severity   : Warning
ScriptName : chocolateyUninstall.ps1
Line       : 10
Message    : File 'chocolateyUninstall.ps1' uses Write-Host. Avoid using 
             Write-Host because it might not work in all hosts, does not work 
             when there is no host, and (prior to PS 5.0) cannot be suppressed, 
             captured, or redirected. Instead, use Write-Output, Write-Verbose, 
             or Write-Information.

RuleName   : PSAvoidUsingWriteHost
Severity   : Warning
ScriptName : chocolateyUninstall.ps1
Line       : 11
Message    : File 'chocolateyUninstall.ps1' uses Write-Host. Avoid using 
             Write-Host because it might not work in all hosts, does not work 
             when there is no host, and (prior to PS 5.0) cannot be suppressed, 
             captured, or redirected. Instead, use Write-Output, Write-Verbose, 
             or Write-Information.

RuleName   : PSUseDeclaredVarsMoreThanAssignments
Severity   : Warning
ScriptName : update.ps1
Line       : 41
Message    : The variable 'matched' is assigned but never used.

RuleName   : PSUseDeclaredVarsMoreThanAssignments
Severity   : Warning
ScriptName : chocolateyUninstall.ps1
Line       : 4
Message    : The variable 'validExitCodes' is assigned but never used.

RuleName   : PSUseDeclaredVarsMoreThanAssignments
Severity   : Warning
ScriptName : chocolateyUninstall.ps1
Line       : 5
Message    : The variable 'path' is assigned but never used.

RuleName   : PSUseDeclaredVarsMoreThanAssignments
Severity   : Warning
ScriptName : chocolateyUninstall.ps1
Line       : 6
Message    : The variable 'path86' is assigned but never used.

RuleName   : PSUseDeclaredVarsMoreThanAssignments
Severity   : Warning
ScriptName : update.ps1
Line       : 30
Message    : The variable 'matched' is assigned but never used.

RuleName   : PSUseDeclaredVarsMoreThanAssignments
Severity   : Warning
ScriptName : update.ps1
Line       : 32
Message    : The variable 'versionMajor' is assigned but never used.

RuleName   : PSAvoidUsingWriteHost
Severity   : Warning
ScriptName : chocolateyUninstall.ps1
Line       : 11
Message    : File 'chocolateyUninstall.ps1' uses Write-Host. Avoid using 
             Write-Host because it might not work in all hosts, does not work 
             when there is no host, and (prior to PS 5.0) cannot be suppressed, 
             captured, or redirected. Instead, use Write-Output, Write-Verbose, 
             or Write-Information.

RuleName   : PSAvoidUsingWriteHost
Severity   : Warning
ScriptName : chocolateyUninstall.ps1
Line       : 12
Message    : File 'chocolateyUninstall.ps1' uses Write-Host. Avoid using 
             Write-Host because it might not work in all hosts, does not work 
             when there is no host, and (prior to PS 5.0) cannot be suppressed, 
             captured, or redirected. Instead, use Write-Output, Write-Verbose, 
             or Write-Information.

RuleName   : PSUseDeclaredVarsMoreThanAssignments
Severity   : Warning
ScriptName : update.ps1
Line       : 33
Message    : The variable 'matched' is assigned but never used.

RuleName   : PSUseDeclaredVarsMoreThanAssignments
Severity   : Warning
ScriptName : update.ps1
Line       : 30
Message    : The variable 'matched' is assigned but never used.

RuleName   : PSAvoidUsingWMICmdlet
Severity   : Warning
ScriptName : chocolateyUninstall.ps1
Line       : 5
Message    : File 'chocolateyUninstall.ps1' uses WMI cmdlet. For PowerShell 3.0 
             and above, use CIM cmdlet which perform the same tasks as the WMI 
             cmdlets. The CIM cmdlets comply with WS-Management (WSMan) 
             standards and with the Common Information Model (CIM) standard, 
             which enables the cmdlets to use the same techniques to manage 
             Windows computers and those running other operating systems.

RuleName   : PSAvoidTrailingWhitespace
Severity   : Information
ScriptName : update.ps1
Line       : 36
Message    : Line has trailing whitespace

RuleName   : PSAvoidTrailingWhitespace
Severity   : Information
ScriptName : update.ps1
Line       : 39
Message    : Line has trailing whitespace

@mikeee mikeee merged commit a606bbb into master Oct 28, 2024
3 checks passed
@renovate renovate bot deleted the renovate/migrate-config branch October 28, 2024 19:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant