From bcf30d1dd6119984e8209bf302718d6f273dbf04 Mon Sep 17 00:00:00 2001 From: Tunisiano18 Date: Mon, 3 Jun 2024 15:42:43 +0000 Subject: [PATCH 1/2] (bluegriffon) Deprecates Package More informations here : http://bluegriffon.org/ --- {automatic => deprecated/packages}/bluegriffon/README.md | 0 {automatic => deprecated/packages}/bluegriffon/bluegriffon.nuspec | 0 {automatic => deprecated/packages}/bluegriffon/legal/LICENSE.txt | 0 .../packages}/bluegriffon/legal/VERIFICATION.txt | 0 .../packages}/bluegriffon/tools/chocolateyInstall.ps1 | 0 {automatic => deprecated/packages}/bluegriffon/update.ps1 | 0 6 files changed, 0 insertions(+), 0 deletions(-) rename {automatic => deprecated/packages}/bluegriffon/README.md (100%) rename {automatic => deprecated/packages}/bluegriffon/bluegriffon.nuspec (100%) rename {automatic => deprecated/packages}/bluegriffon/legal/LICENSE.txt (100%) rename {automatic => deprecated/packages}/bluegriffon/legal/VERIFICATION.txt (100%) rename {automatic => deprecated/packages}/bluegriffon/tools/chocolateyInstall.ps1 (100%) rename {automatic => deprecated/packages}/bluegriffon/update.ps1 (100%) diff --git a/automatic/bluegriffon/README.md b/deprecated/packages/bluegriffon/README.md similarity index 100% rename from automatic/bluegriffon/README.md rename to deprecated/packages/bluegriffon/README.md diff --git a/automatic/bluegriffon/bluegriffon.nuspec b/deprecated/packages/bluegriffon/bluegriffon.nuspec similarity index 100% rename from automatic/bluegriffon/bluegriffon.nuspec rename to deprecated/packages/bluegriffon/bluegriffon.nuspec diff --git a/automatic/bluegriffon/legal/LICENSE.txt b/deprecated/packages/bluegriffon/legal/LICENSE.txt similarity index 100% rename from automatic/bluegriffon/legal/LICENSE.txt rename to deprecated/packages/bluegriffon/legal/LICENSE.txt diff --git a/automatic/bluegriffon/legal/VERIFICATION.txt b/deprecated/packages/bluegriffon/legal/VERIFICATION.txt similarity index 100% rename from automatic/bluegriffon/legal/VERIFICATION.txt rename to deprecated/packages/bluegriffon/legal/VERIFICATION.txt diff --git a/automatic/bluegriffon/tools/chocolateyInstall.ps1 b/deprecated/packages/bluegriffon/tools/chocolateyInstall.ps1 similarity index 100% rename from automatic/bluegriffon/tools/chocolateyInstall.ps1 rename to deprecated/packages/bluegriffon/tools/chocolateyInstall.ps1 diff --git a/automatic/bluegriffon/update.ps1 b/deprecated/packages/bluegriffon/update.ps1 similarity index 100% rename from automatic/bluegriffon/update.ps1 rename to deprecated/packages/bluegriffon/update.ps1 From 273248643ca637c6ba5591a6bbdd24ee3fa012fd Mon Sep 17 00:00:00 2001 From: James Ruskin Date: Thu, 13 Jun 2024 14:09:05 +0100 Subject: [PATCH 2/2] (bluegriffon) Removes Update Script From Deprecated Files This may have been causing the build to attempt building and installing the package, which wasn't intended. --- deprecated/packages/bluegriffon/update.ps1 | 40 ---------------------- 1 file changed, 40 deletions(-) delete mode 100644 deprecated/packages/bluegriffon/update.ps1 diff --git a/deprecated/packages/bluegriffon/update.ps1 b/deprecated/packages/bluegriffon/update.ps1 deleted file mode 100644 index f8c5c49adae..00000000000 --- a/deprecated/packages/bluegriffon/update.ps1 +++ /dev/null @@ -1,40 +0,0 @@ -Import-Module Chocolatey-AU - -$releases = 'http://bluegriffon.org/' -$softwareName = 'BlueGriffon*' - -function global:au_BeforeUpdate { Get-RemoteFiles -Purge -NoSuffix } - -function global:au_SearchReplace { - @{ - ".\legal\VERIFICATION.txt" = @{ - "(?i)(^\s*location on\:?\s*)\<.*\>" = "`${1}<$releases>" - "(?i)(\s*1\..+)\<.*\>" = "`${1}<$($Latest.URL32)>" - "(?i)(^\s*checksum\s*type\:).*" = "`${1} $($Latest.ChecksumType32)" - "(?i)(^\s*checksum(32)?\:).*" = "`${1} $($Latest.Checksum32)" - } - ".\tools\chocolateyInstall.ps1" = @{ - "(?i)^(\s*softwareName\s*=\s*)'.*'" = "`${1}'$softwareName'" - "(?i)(^\s*file\s*=\s*`"[$]toolsPath\\).*" = "`${1}$($Latest.FileName32)`"" - } - ".\$($Latest.PackageName).nuspec" = @{ - "(?i)(\).*(\<\/releaseNotes\>)" = "`$1$($Latest.ReleaseNotes)`$2" - } - } -} - -function global:au_GetLatest { - $download_page = Invoke-WebRequest -UseBasicParsing -Uri $releases - - $re = '\.exe$' - $url32 = $download_page.Links | ? href -match $re | select -first 1 -expand href - - $version32 = $url32 -split '/' | select -Last 1 -Skip 1 - @{ - URL32 = $url32 - Version = $version32 - ReleaseNotes = "https://github.com/therealglazou/bluegriffon/releases/tag/$version32" - } -} - -update -ChecksumFor none