Description
Several functions use non-approved PowerShell verbs, causing a warning on every Import-Module call:
WARNING: The names of some imported commands from the module 'LsiGitCheckout' include unapproved verbs
that might make them less discoverable.
This warning appears on every script run and every test execution.
Functions to rename
| Current name |
Approved name |
Verb change |
Parse-VersionPattern |
ConvertTo-VersionPattern |
Parse → ConvertTo |
Parse-RepositoryVersions |
Get-RepositoryVersions |
Parse → Get |
Validate-DependencyConfiguration |
Test-DependencyConfiguration |
Validate → Test |
Sort-TagsByDate |
Resolve-TagsByDate |
Sort → Resolve |
Process-DependencyFile |
Invoke-DependencyFile |
Process → Invoke |
Process-RecursiveDependencies |
Invoke-RecursiveDependencies |
Process → Invoke |
Scope
- Function definitions in
LsiGitCheckout.psm1
- All call sites in
LsiGitCheckout.psm1 and LsiGitCheckout.ps1
- Exports in
LsiGitCheckout.psd1
- Unit and integration test references
- Remove
-DisableNameChecking workaround from Import-Module calls
PS /Users/andrea/Library/CloudStorage/OneDrive-LSInstrumentsAG/LSI Desktop/Codes/LsiGitCheckout/.claude/worktrees/wonderful-boyd>
Description
Several functions use non-approved PowerShell verbs, causing a warning on every
Import-Modulecall:This warning appears on every script run and every test execution.
Functions to rename
Parse-VersionPatternConvertTo-VersionPatternParse→ConvertToParse-RepositoryVersionsGet-RepositoryVersionsParse→GetValidate-DependencyConfigurationTest-DependencyConfigurationValidate→TestSort-TagsByDateResolve-TagsByDateSort→ResolveProcess-DependencyFileInvoke-DependencyFileProcess→InvokeProcess-RecursiveDependenciesInvoke-RecursiveDependenciesProcess→InvokeScope
LsiGitCheckout.psm1LsiGitCheckout.psm1andLsiGitCheckout.ps1LsiGitCheckout.psd1-DisableNameCheckingworkaround fromImport-ModulecallsPS /Users/andrea/Library/CloudStorage/OneDrive-LSInstrumentsAG/LSI Desktop/Codes/LsiGitCheckout/.claude/worktrees/wonderful-boyd>