From ad5d24513e473fbbbe50c78d2d4b639c3a7ac7a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Olav=20R=C3=B8nnestad=20Birkeland?= <6450056+o-l-a-v@users.noreply.github.com> Date: Fri, 27 Jun 2025 13:14:07 +0200 Subject: [PATCH 1/5] Create pingo.json --- bucket/pingo.json | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 bucket/pingo.json diff --git a/bucket/pingo.json b/bucket/pingo.json new file mode 100644 index 0000000000000..265c948a64027 --- /dev/null +++ b/bucket/pingo.json @@ -0,0 +1,19 @@ +{ + "version": "1.23.9", + "description": "Image optimizer for web", + "homepage": "https://css-ig.net/pingo", + "license": { + "identifier": "Unknown", + "url": "https://css-ig.net/submit/licenses" + }, + "url": "https://css-ig.net/bin/pingo-win64.zip", + "hash": "e7d9b3ae70f40c85f9180e7e2bd4f39dfffe2b1e836e6cc61fc45ca9864ce65f", + "bin": "pingo.exe", + "checkver": { + "url": "https://css-ig.net/pingo", + "regex": "v([\\d+.]+)\\s" + }, + "autoupdate": { + "url": "https://css-ig.net/bin/pingo-win64.zip" + } +} From caab0d3684e523619c56a02347cf41e9d10972bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Olav=20R=C3=B8nnestad=20Birkeland?= <6450056+o-l-a-v@users.noreply.github.com> Date: Wed, 13 Aug 2025 12:50:20 +0200 Subject: [PATCH 2/5] Update to 1.24.2 --- bucket/pingo.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bucket/pingo.json b/bucket/pingo.json index 265c948a64027..20e76127815c3 100644 --- a/bucket/pingo.json +++ b/bucket/pingo.json @@ -1,5 +1,5 @@ { - "version": "1.23.9", + "version": "1.24.2", "description": "Image optimizer for web", "homepage": "https://css-ig.net/pingo", "license": { @@ -7,7 +7,7 @@ "url": "https://css-ig.net/submit/licenses" }, "url": "https://css-ig.net/bin/pingo-win64.zip", - "hash": "e7d9b3ae70f40c85f9180e7e2bd4f39dfffe2b1e836e6cc61fc45ca9864ce65f", + "hash": "4b308b274d5e3aa672cb5376d951e4b1566f064400d835b0c15ca0590db2fe82", "bin": "pingo.exe", "checkver": { "url": "https://css-ig.net/pingo", From 645be2c92fbdca90858daff2a2092a2a73e58cd2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Olav=20R=C3=B8nnestad=20Birkeland?= <6450056+o-l-a-v@users.noreply.github.com> Date: Fri, 10 Oct 2025 13:39:02 +0200 Subject: [PATCH 3/5] Update and fix checkver regex --- bucket/pingo.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bucket/pingo.json b/bucket/pingo.json index 20e76127815c3..1c89faa008792 100644 --- a/bucket/pingo.json +++ b/bucket/pingo.json @@ -1,5 +1,5 @@ { - "version": "1.24.2", + "version": "1.25.1", "description": "Image optimizer for web", "homepage": "https://css-ig.net/pingo", "license": { @@ -7,11 +7,11 @@ "url": "https://css-ig.net/submit/licenses" }, "url": "https://css-ig.net/bin/pingo-win64.zip", - "hash": "4b308b274d5e3aa672cb5376d951e4b1566f064400d835b0c15ca0590db2fe82", + "hash": "50314804953e6dbdc01781e4448296cca3042222d79f9725fccff1a43e04efac", "bin": "pingo.exe", "checkver": { "url": "https://css-ig.net/pingo", - "regex": "v([\\d+.]+)\\s" + "regex": "v([\\d+.]+)" }, "autoupdate": { "url": "https://css-ig.net/bin/pingo-win64.zip" From f0c8e7301623cca3d48e0482f2394ff34ac87e22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Olav=20R=C3=B8nnestad=20Birkeland?= <6450056+o-l-a-v@users.noreply.github.com> Date: Sun, 19 Oct 2025 17:58:05 +0200 Subject: [PATCH 4/5] Update checkver version handle author updating artifact without bumping version --- bucket/pingo.json | 25 ++++++++++++++++++++++--- 1 file changed, 22 insertions(+), 3 deletions(-) diff --git a/bucket/pingo.json b/bucket/pingo.json index 1c89faa008792..fca9ad18dad1c 100644 --- a/bucket/pingo.json +++ b/bucket/pingo.json @@ -1,5 +1,5 @@ { - "version": "1.25.1", + "version": "1.25.1-50314", "description": "Image optimizer for web", "homepage": "https://css-ig.net/pingo", "license": { @@ -10,8 +10,27 @@ "hash": "50314804953e6dbdc01781e4448296cca3042222d79f9725fccff1a43e04efac", "bin": "pingo.exe", "checkver": { - "url": "https://css-ig.net/pingo", - "regex": "v([\\d+.]+)" + "script": [ + "<#", + " Create version with first 5ch of SHA256 checksum,", + " because the author have multiple times updated the ZIP file,", + " without incrementing the version number.", + "#>", + "# Get stated version from webpage", + "$Html = Invoke-RestMethod -Method 'Get' -Uri 'https://css-ig.net/pingo'", + "$Version = [string] [regex]::Matches($Html, 'v([\\d+.]+)')[0].'Value'.TrimStart('v')", + "# Get SHA256 checksum", + "$WebClient = [System.Net.WebClient]::new()", + "$Sha256 = [string](", + " (Get-FileHash -InputStream ($WebClient.OpenRead('https://css-ig.net/bin/pingo-win64.zip')) -Algorithm 'SHA256').'Hash'.ToLower()", + ")", + "if ($null -ne $WebClient) {", + " $WebClient.Dispose()", + "}", + "# Output stated version with first 5 characters of the SHA256 checksum", + "[string]::Format('{0}-{1}', $Version, $Sha256.Substring(0, 5))" + ], + "regex": "([\\d+.]+-[\\da-f]{5})" }, "autoupdate": { "url": "https://css-ig.net/bin/pingo-win64.zip" From f17478027bf3a6e464b146de60ad9de68ac777be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Olav=20R=C3=B8nnestad=20Birkeland?= <6450056+o-l-a-v@users.noreply.github.com> Date: Fri, 16 Jan 2026 19:33:13 +0100 Subject: [PATCH 5/5] Update version and hash in pingo.json --- bucket/pingo.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bucket/pingo.json b/bucket/pingo.json index fca9ad18dad1c..4f9a6b4f2a16d 100644 --- a/bucket/pingo.json +++ b/bucket/pingo.json @@ -1,5 +1,5 @@ { - "version": "1.25.1-50314", + "version": "1.25.3-6abbb", "description": "Image optimizer for web", "homepage": "https://css-ig.net/pingo", "license": { @@ -7,7 +7,7 @@ "url": "https://css-ig.net/submit/licenses" }, "url": "https://css-ig.net/bin/pingo-win64.zip", - "hash": "50314804953e6dbdc01781e4448296cca3042222d79f9725fccff1a43e04efac", + "hash": "6abbbcd61635497b424a3045723d9ea4c0a5e690006f7b6392cc7d78bce43360", "bin": "pingo.exe", "checkver": { "script": [