Skip to content

Commit

Permalink
Merge pull request #2441 from AdmiringWorm/upcoming-changes
Browse files Browse the repository at this point in the history
(multiple) Update to use the Chocolatey AU module
  • Loading branch information
corbob authored Mar 11, 2024
2 parents d4a6120 + 1941ea9 commit 5707983
Show file tree
Hide file tree
Showing 271 changed files with 296 additions and 297 deletions.
2 changes: 1 addition & 1 deletion automatic/1password/update.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Import-Module AU
Import-Module Chocolatey-AU
import-module $PSScriptRoot\..\..\extensions\chocolatey-core.extension\extensions\chocolatey-core.psm1

function global:au_SearchReplace {
Expand Down
2 changes: 1 addition & 1 deletion automatic/360ts/update.ps1
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

import-module au
Import-Module Chocolatey-AU

function global:au_BeforeUpdate {
if ($Latest.Title -like '*essential*') {
Expand Down
2 changes: 1 addition & 1 deletion automatic/7zip/update.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import-module au
Import-Module Chocolatey-AU

$domain = 'http://www.7-zip.org/'
$releases = "${domain}download.html"
Expand Down
9 changes: 4 additions & 5 deletions automatic/README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
## Automatic Folder

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

AU works with packages without automatic package tokens necessary. So you can treat the packages as normal.
Chocolatey AU works with packages without automatic package tokens necessary. So you can treat the packages as normal.

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

**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.
Execute `update_all.ps1` in the repository root to run [Chocolatey AU](https://chocolatey.org/packages/chocolatey-au) updater with default options.

**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.
2 changes: 1 addition & 1 deletion automatic/absolute-uninstaller/update.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import-module au
Import-Module Chocolatey-AU

$releases = 'http://www.glarysoft.com/absolute-uninstaller/'

Expand Down
2 changes: 1 addition & 1 deletion automatic/activepresenter/legal/VERIFICATION.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ Package can be verified like this:

checksum32: 6EC56B74E0D64EEEBADEC9C24ED65853E9098EEBD07D40C9253CD7411CE13776

Using AU:
Using Chocolatey AU:

Get-RemoteChecksum https://cdn.atomisystems.com/apdownloads/ActivePresenter_v9.1.3_setup.exe
2 changes: 1 addition & 1 deletion automatic/activepresenter/update.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import-module au
Import-Module Chocolatey-AU

$releases = 'https://atomisystems.com/download/'

Expand Down
2 changes: 1 addition & 1 deletion automatic/alldup/update.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import-module au
Import-Module Chocolatey-AU

$releases = 'http://www.alldup.de/en_download_alldup.php'

Expand Down
2 changes: 1 addition & 1 deletion automatic/ant-renamer/update.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import-module au
Import-Module Chocolatey-AU

$releases = 'http://www.antp.be/software/renamer/download'

Expand Down
2 changes: 1 addition & 1 deletion automatic/apache-httpd/update.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Import-Module au
Import-Module Chocolatey-AU

$releases = 'https://www.apachehaus.com/cgi-bin/download.plx'

Expand Down
2 changes: 1 addition & 1 deletion automatic/aptana-studio/update.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import-module au
Import-Module Chocolatey-AU

function global:au_SearchReplace {
@{
Expand Down
2 changes: 1 addition & 1 deletion automatic/audacity/update.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Import-Module au
Import-Module Chocolatey-AU

$releases = 'https://www.audacityteam.org/download/windows/'

Expand Down
2 changes: 1 addition & 1 deletion automatic/autohotkey.install/tools/VERIFICATION.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Package can be verified like this:
checksum32: DBF3490648EFE876BD9A98D53E4D9110BF5E02A3914C0DD4B2A48DB4A09799B5
checksum64: DBF3490648EFE876BD9A98D53E4D9110BF5E02A3914C0DD4B2A48DB4A09799B5

Using AU:
Using Chocolatey AU:

Get-RemoteChecksum https://github.com/Lexikos/AutoHotkey_L/releases/download/v1.1.37.01/AutoHotkey_1.1.37.01_setup.exe

Expand Down
2 changes: 1 addition & 1 deletion automatic/autohotkey.install/update.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import-module au
Import-Module Chocolatey-AU

$releases = 'https://autohotkey.com/download/1.1'

Expand Down
2 changes: 1 addition & 1 deletion automatic/autohotkey.portable/tools/VERIFICATION.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Package can be verified like this:
checksum32: 366B5F88F68586745551F34435D6C494226BBB72F756B4DA0366502547E4067D
checksum64: 366B5F88F68586745551F34435D6C494226BBB72F756B4DA0366502547E4067D

Using AU:
Using Chocolatey AU:

Get-RemoteChecksum https://autohotkey.com/download/2.1//AutoHotkey_2.1-alpha.8.zip

Expand Down
2 changes: 1 addition & 1 deletion automatic/autohotkey.portable/update.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import-module au
Import-Module Chocolatey-AU

$releases = 'https://autohotkey.com/download'

Expand Down
2 changes: 1 addition & 1 deletion automatic/autohotkey/update.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import-module au
Import-Module Chocolatey-AU

#Virtual package uses dependency updater to get the version
. $PSScriptRoot\..\autohotkey.install\update.ps1
Expand Down
2 changes: 1 addition & 1 deletion automatic/autoit.install/update.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import-module au
Import-Module Chocolatey-AU

$releases = "https://www.autoitscript.com/site/autoit/downloads"

Expand Down
2 changes: 1 addition & 1 deletion automatic/autoit.portable/update.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import-module au
Import-Module Chocolatey-AU

$releases = "https://www.autoitscript.com/site/autoit/downloads"

Expand Down
2 changes: 1 addition & 1 deletion automatic/avidemux/legal/VERIFICATION.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Package can be verified like this:

checksum64: DD962BC788D7D955B04E163E7E1A6620B573ADC379BF2EA2A2C25585782B4DCA

Using AU:
Using Chocolatey AU:

Get-RemoteChecksum https://sourceforge.net/projects/avidemux/files/avidemux/2.8.1/Avidemux_2.8.1%20VC%2B%2B%2064bits.exe/download

Expand Down
2 changes: 1 addition & 1 deletion automatic/avidemux/update.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import-module au
Import-Module Chocolatey-AU

$releases = 'https://sourceforge.net/projects/avidemux/files/avidemux'

Expand Down
2 changes: 1 addition & 1 deletion automatic/azcopy10/update.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import-module au
Import-Module Chocolatey-AU

$releases = 'https://aka.ms/downloadazcopy-v10-windows'

Expand Down
2 changes: 1 addition & 1 deletion automatic/bleachbit.install/update.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Import-Module au
Import-Module Chocolatey-AU

$releases = 'https://www.bleachbit.org/download/windows'

Expand Down
2 changes: 1 addition & 1 deletion automatic/blender/update.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Import-Module au
Import-Module Chocolatey-AU

$releases = 'https://www.blender.org/download/'
$softwareName = 'Blender'
Expand Down
2 changes: 1 addition & 1 deletion automatic/bluefish/update.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import-module au
Import-Module Chocolatey-AU

$releases = 'https://www.bennewitz.com/bluefish/stable/binaries/win32/'
$softwareName = 'Bluefish*'
Expand Down
2 changes: 1 addition & 1 deletion automatic/bluegriffon/update.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Import-Module AU
Import-Module Chocolatey-AU

$releases = 'http://bluegriffon.org/'
$softwareName = 'BlueGriffon*'
Expand Down
2 changes: 1 addition & 1 deletion automatic/brackets/update.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import-module au
Import-Module Chocolatey-AU

$releases = 'https://github.com/adobe/brackets/releases'

Expand Down
2 changes: 1 addition & 1 deletion automatic/brave/update.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import-module au
Import-Module Chocolatey-AU

$releaseStableUrl = 'https://brave-browser-downloads.s3.brave.com/latest/release-windows-x64.version'
$releaseBetaUrl = 'https://brave-browser-downloads.s3.brave.com/latest/beta-windows-x64.version'
Expand Down
2 changes: 1 addition & 1 deletion automatic/bulk-crap-uninstaller/update.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import-module au
Import-Module Chocolatey-AU

$releases = 'https://github.com/Klocman/Bulk-Crap-Uninstaller/releases'

Expand Down
2 changes: 1 addition & 1 deletion automatic/calibre/update.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import-module au
Import-Module Chocolatey-AU
Import-Module "$PSScriptRoot\..\..\scripts\au_extensions.psm1"

$releases = 'https://download.calibre-ebook.com/7.html'
Expand Down
2 changes: 1 addition & 1 deletion automatic/ccleaner/update.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Import-Module au
Import-Module Chocolatey-AU

$releases = 'https://www.ccleaner.com/ccleaner/download/standard'

Expand Down
2 changes: 1 addition & 1 deletion automatic/cdrtfe/update.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[CmdletBinding()]
param($IncludeStream, [switch]$Force)
Import-Module AU
Import-Module Chocolatey-AU

$releases = 'https://cdrtfe.sourceforge.io/cdrtfe/download_en.html'

Expand Down
4 changes: 2 additions & 2 deletions automatic/chromium/update.ps1
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

import-module au

Import-Module Chocolatey-AU
$releases = 'https://chromium.woolyss.com/api/v5/?os=win<bit>&type=<type>&out=json'
$ChecksumType = 'sha256'

Expand Down
2 changes: 1 addition & 1 deletion automatic/classic-shell/update.ps1.archived
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Import-Module AU
Import-Module Chocolatey-AU

$releases = 'http://www.classicshell.net/'

Expand Down
2 changes: 1 addition & 1 deletion automatic/clementine/update.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Import-Module AU
Import-Module Chocolatey-AU

$releases = 'https://www.clementine-player.org/downloads'

Expand Down
2 changes: 1 addition & 1 deletion automatic/clipboardfusion/update.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[CmdletBinding()]
param($IncludeStream, [switch]$Force)
Import-Module AU
Import-Module Chocolatey-AU

$releases = 'https://www.clipboardfusion.com/Download/'

Expand Down
2 changes: 1 addition & 1 deletion automatic/clipgrab/update.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Import-Module AU
Import-Module Chocolatey-AU

$releases = 'https://clipgrab.org/'

Expand Down
2 changes: 1 addition & 1 deletion automatic/cmake/update.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[CmdletBinding()]
param($IncludeStream, [switch]$Force)
Import-Module AU
Import-Module Chocolatey-AU

$releases = 'https://cmake.org/download/'

Expand Down
2 changes: 1 addition & 1 deletion automatic/codeblocks/update.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import-module au
Import-Module Chocolatey-AU

$releases = 'https://www.codeblocks.org/downloads/binaries'

Expand Down
2 changes: 1 addition & 1 deletion automatic/codelite/update.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Import-Module AU
Import-Module Chocolatey-AU

$releases = "https://downloads.codelite.org/"

Expand Down
2 changes: 1 addition & 1 deletion automatic/composer/update.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import-module au
Import-Module Chocolatey-AU

function global:au_SearchReplace {
@{
Expand Down
2 changes: 1 addition & 1 deletion automatic/curl/update.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import-module au
Import-Module Chocolatey-AU

[uri]$releases = 'https://curl.se/windows/'

Expand Down
2 changes: 1 addition & 1 deletion automatic/cutepdf/update.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import-module au
Import-Module Chocolatey-AU

. "$PSScriptRoot\update_helper.ps1"
$url = 'http://www.cutepdf.com/download/CuteWriter.exe'
Expand Down
2 changes: 1 addition & 1 deletion automatic/cygwin/update.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import-module au
Import-Module Chocolatey-AU
Import-Module "$PSScriptRoot\..\..\scripts\au_extensions.psm1"

$releases = 'https://cygwin.com/'
Expand Down
4 changes: 2 additions & 2 deletions automatic/datagrip/update.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Import-Module AU
Import-Module Chocolatey-AU
$releases = 'https://data.services.jetbrains.com/products/releases?code=DG&latest=true&type=release'

function global:au_SearchReplace {
Expand All @@ -21,4 +21,4 @@ function global:au_GetLatest {
return $Latest
}

update -ChecksumFor none
update -ChecksumFor none
2 changes: 1 addition & 1 deletion automatic/defraggler/update.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import-module au
Import-Module Chocolatey-AU

$releases = 'https://www.ccleaner.com/defraggler/download/standard'

Expand Down
2 changes: 1 addition & 1 deletion automatic/diskdefragtouch/_update.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import-module au
Import-Module Chocolatey-AU

$releases = 'http://www.auslogics.com/en/software/disk-defrag-touch'

Expand Down
2 changes: 1 addition & 1 deletion automatic/displayfusion/update.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[CmdletBinding()]
param($IncludeStream, [switch]$Force)
Import-Module AU
Import-Module Chocolatey-AU

function global:au_BeforeUpdate { Get-RemoteFiles -Purge -NoSuffix }

Expand Down
2 changes: 1 addition & 1 deletion automatic/djv/update.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Import-Module AU
Import-Module Chocolatey-AU

# Temporary to allow pushing version 1.0.5
$releases = 'https://darbyjohnston.github.io/DJV/download.html'
Expand Down
2 changes: 1 addition & 1 deletion automatic/dropbox/update.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Import-Module au
Import-Module Chocolatey-AU
import-module "$PSScriptRoot\..\..\scripts\au_extensions.psm1"
. "$PSScriptRoot\update_helper.ps1"

Expand Down
2 changes: 1 addition & 1 deletion automatic/encfs4win/update.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[CmdletBinding()]
param($IncludeStream, [switch]$Force)
Import-Module AU
Import-Module Chocolatey-AU

$softwareName = 'encfs4win*'

Expand Down
2 changes: 1 addition & 1 deletion automatic/es/legal/VERIFICATION.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Package can be verified like this:

checksum32: 978BB07DD5EA1868C716EE17B2F36BD4CBB1E2A4C2E1C439163558506492D873

Using AU:
Using Chocolatey AU:

Get-RemoteChecksum https://www.voidtools.com/ES-1.1.0.26.zip

Expand Down
2 changes: 1 addition & 1 deletion automatic/es/update.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import-module au
Import-Module Chocolatey-AU

$releases = 'https://www.voidtools.com/downloads'

Expand Down
4 changes: 2 additions & 2 deletions automatic/etcd/update.ps1
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[CmdletBinding()]
[CmdletBinding()]
param($IncludeStream, [switch] $Force)

Import-Module AU
Import-Module Chocolatey-AU

function global:au_BeforeUpdate { Get-RemoteFiles -Purge -NoSuffix }

Expand Down
2 changes: 1 addition & 1 deletion automatic/everything/legal/VERIFICATION.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Package can be verified like this:
checksum32: 59F57803FA5235075C3E470E1006905A61236E491BB75A599D862CAFCFBB529F
checksum64: B2AFE799584C913532C673F99ADE45113BF5A5B605A964CE9FA837F563B6FC21

Using AU:
Using Chocolatey AU:

Get-RemoteChecksum https://www.voidtools.com/Everything-1.4.1.1024.x64-Setup.exe

Expand Down
2 changes: 1 addition & 1 deletion automatic/everything/update.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import-module au
Import-Module Chocolatey-AU

$releases = 'https://www.voidtools.com/Changes.txt'

Expand Down
4 changes: 2 additions & 2 deletions automatic/ext2fsd/update.ps1
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[CmdletBinding()]
[CmdletBinding()]
param($IncludeStream, [switch] $Force)

import-module au
Import-Module Chocolatey-AU

$releases = 'https://sourceforge.net/projects/ext2fsd/files/Ext2fsd'

Expand Down
Loading

0 comments on commit 5707983

Please sign in to comment.