With the 1.0.0
release of Chocolatey-AU
, there is a need to migrate to the new package name.
How you migrate from AU
to Chocolatey-AU
will depend on how you used AU
in your repository. Below are some scenarios, but if you encounter a scenario not yet covered, please reach out in the Chocolatey Community.
If you are cloning the original AU
repository and building the module from there, you will want to update to clone the Chocolatey Community Chocolatey-AU
repository: https://github.com/chocolatey-community/chocolatey-au.git
instead. Once that has been done, you will want to amend your update scripts to use the Chocolatey-AU
PowerShell Module instead of AU
.
If you are installing AU
from the Chocolatey Community Repository, you will want to update it to choco install chocolatey-au --confirm
instead of choco install au -y
. Once that has been done, you will want to update your update scripts to use the Chocolatey-AU
PowerShell Module instead of AU
.
If you are installing AU
from the PowerShell Gallery, you will want to amend your code to Install-Module Chocolatey-AU
from Install-Module AU
. Once that has been done, you will want to amend your update scripts to use the Chocolatey-AU
PowerShell Module instead of AU
.
Once your repository uses the new module name, you will need to amend your update.ps1
scripts to use the new module name. This is as simple as replacing AU
with Chocolatey-AU
for the Import-Module
calls, or any #requires -Modules
in your scripts.