Skip to content

Commit

Permalink
(chocolatey-community#45) Replace au references with chocolatey-au wh…
Browse files Browse the repository at this point in the history
…ere appropriate
  • Loading branch information
TheCakeIsNaOH committed Jan 11, 2024
1 parent fbde190 commit 9d540fb
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 21 deletions.
8 changes: 2 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,22 +15,18 @@ This contains Chocolatey packages, both manually and automatically maintained.

### Folder Structure

* automatic - where automatic packaging and packages are kept. These are packages that are automatically maintained using [AU](https://chocolatey.org/packages/au).
* automatic - where automatic packaging and packages are kept. These are packages that are automatically maintained using [chocolatey-au](https://chocolatey.org/packages/chocolatey-au).
* icons - Where you keep icon files for the packages. This is done to reduce issues when packages themselves move around.
* manual - where packages that are not automatic are kept.

For setting up your own automatic package repository, please see [Automatic Packaging](https://chocolatey.org/docs/automatic-packages)

### Requirements

* Chocolatey (choco.exe)

#### AU

* PowerShell v5+.
* The [AU module](https://chocolatey.org/packages/au).

For daily operations check out the AU packages [template README](https://github.com/majkinetor/au-packages-template/blob/master/README.md).
* The [chocolatey-au module](https://chocolatey.org/packages/chocolatey-au).

### Getting started

Expand Down
10 changes: 5 additions & 5 deletions automatic/README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
## Automatic Folder

This is where you put your Chocolatey packages that are automatically packaged up by [AU](https://chocolatey.org/packages/au).
This is where you put your Chocolatey packages that are automatically packaged up by [chocolatey-au](https://chocolatey.org/packages/chocolatey-au).

Execute `update_all.ps1` in the repository root to run [AU](https://chocolatey.org/packages/au) updater with default options.
Execute `update_all.ps1` in the repository root to run [chocolatey-au](https://chocolatey.org/packages/chocolatey-au) updater with default options.

To fully setup all the features ensure you perform the steps in the [setup/README.md](https://github.com/chocolatey/chocolatey-packages-template/blob/master/setup/README.md#automatic-updater-au)
To fully setup all the features ensure you perform the steps in the [setup/README.md](https://github.com/chocolatey/chocolatey-packages-template/blob/master/setup/README.md)

To get the packages that implement AU updater run `Get-AUPackages` or `lsau` in this directory.
To get the packages that implement chocolatey-au updater run `Get-AUPackages` or `lsau` in this directory.

**NOTE:** Ensure when you are creating packages for AU, you don't use `--auto` as the packaging files should be normal packages. AU doesn't need the tokens to do replacement.
**NOTE:** Ensure when you are creating packages for chocolatey-au, you don't use `--auto` as the packaging files should be normal packages. chocolatey-au doesn't need the tokens to do replacement.

12 changes: 6 additions & 6 deletions setup/README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# Setup Automatic Updater (AU)
# Setup Automatic Updater (chocolatey-au)

* Ensure you have the [Chocolatey PowerShell profile](https://chocolatey.org/docs/troubleshooting#why-does-choco-intab-not-work-for-me) installed.
* Ensure you have the [Chocolatey PowerShell profile](https://docs.chocolatey.org/en-us/troubleshooting#why-does-choco-tab-not-work-for-me) installed.
* Open `au_setup.ps1` in an editor and review it.
* Run PowerShell `5.x` as Administrator (AU framework supports PowerShell 6+ but this setup does not)
* Run PowerShell `5.x` as Administrator (chocolatey-au framework supports PowerShell 6+ but this setup does not)
* Run `au_setup.ps1`.
* Configure AU [plugins](https://github.com/majkinetor/au/blob/master/Plugins.md).
* Configure [AppVeyor](https://github.com/majkinetor/au/wiki/AppVeyor).
* Configure [local run](https://github.com/majkinetor/au/wiki#local-run).
* Configure chocolatey-au [plugins](https://github.com/chocolatey-community/chocolatey-au/blob/master/Plugins.md).
* Configure [AppVeyor](https://github.com/chocolatey-community/chocolatey-au/wiki/AppVeyor).
* Configure [local run](https://github.com/chocolatey-community/chocolatey-au/wiki#local-run).
4 changes: 2 additions & 2 deletions setup/au_setup.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ if ($refreshenv -ne $null -and $refreshenv.CommandType -ne 'Application') {

Install-PackageProvider -Name NuGet -Force
Set-PSRepository -Name PSGallery -InstallationPolicy Trusted
Install-Module au -Scope AllUsers
Get-Module au -ListAvailable | select Name, Version
Install-Module chocolatey-au -Scope AllUsers
Get-Module chocolatey-au -ListAvailable | select Name, Version
2 changes: 0 additions & 2 deletions update_all.ps1
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# AU Packages Template: https://github.com/majkinetor/au-packages-template

param([string] $Name, [string] $ForcedPackages, [string] $Root = "$PSScriptRoot\automatic")

if (Test-Path $PSScriptRoot/update_vars.ps1) { . $PSScriptRoot/update_vars.ps1 }
Expand Down

0 comments on commit 9d540fb

Please sign in to comment.