From c6134efd9c54f196670a30a0c95bece5503ee732 Mon Sep 17 00:00:00 2001 From: Tunisiano18 Date: Sun, 21 Apr 2024 12:11:36 +0000 Subject: [PATCH 1/2] (googlechromebeta) Replace OmahaProxy URL with Google version history --- automatic/googlechromebeta/update.ps1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/automatic/googlechromebeta/update.ps1 b/automatic/googlechromebeta/update.ps1 index 8b88251e3e5..0245d4708d6 100644 --- a/automatic/googlechromebeta/update.ps1 +++ b/automatic/googlechromebeta/update.ps1 @@ -1,7 +1,7 @@ Import-Module Chocolatey-AU import-module "$PSScriptRoot\..\..\scripts\au_extensions.psm1" -$releases = 'https://omahaproxy.appspot.com/all?os=win&channel=beta' +$releases = "https://versionhistory.googleapis.com/v1/chrome/platforms/win/channels/beta/versions" $paddedUnderVersion = '57.0.2988' function global:au_BeforeUpdate { @@ -22,8 +22,8 @@ function global:au_SearchReplace { } function global:au_GetLatest { - $release_info = Invoke-WebRequest -Uri $releases -UseBasicParsing - $version = $release_info | ForEach-Object Content | ConvertFrom-Csv | ForEach-Object current_version + $releasesData = Invoke-RestMethod -UseBasicParsing -Method Get -Uri $releases + $version = ($releasesData.versions | Select-Object -First 1).version $version = "$version-beta" @{ From 50be94c8f2a54b5915e0ecee1b0d6b17ff2df019 Mon Sep 17 00:00:00 2001 From: Tunisiano18 Date: Wed, 24 Apr 2024 19:44:37 +0000 Subject: [PATCH 2/2] (googlechromebeta) Add tunisiano187 as code owner --- .github/CODEOWNERS | 3 ++- automatic/googlechromebeta/googlechromebeta.nuspec | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index ea12f9768ed..8be7b6e3e95 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -42,7 +42,8 @@ */nexus-repository* @chocolatey-community/chocolatey-team-maintainers */totalcommander* @pauby */kubescape* @HollowMan6 -*/azcopy10* @chocolatey-community/chocolatey-team-maintainers +*/azcopy10* @chocolatey-community/chocolatey-team-maintainers +*/googlechromebeta @tunisiano187 # Other # This can be any file other that won't be matched as a package diff --git a/automatic/googlechromebeta/googlechromebeta.nuspec b/automatic/googlechromebeta/googlechromebeta.nuspec index 38cf30025fb..1175490baa2 100644 --- a/automatic/googlechromebeta/googlechromebeta.nuspec +++ b/automatic/googlechromebeta/googlechromebeta.nuspec @@ -5,7 +5,7 @@ googlechromebeta 120.0.6099.56-beta Google Chrome Beta - chocolatey-community,nsleigh + chocolatey-community,nsleigh,tunisiano Google LLC. https://www.google.com/chrome/browser/ https://www.google.it/intl/en/chrome/browser/privacy/eula_text.html