From f19b4ed9e1f67467a28dd0303d523cbf05e399c2 Mon Sep 17 00:00:00 2001 From: Steffen Lange Date: Sat, 21 Jun 2025 17:17:34 +0200 Subject: [PATCH 1/3] DokuWiki: use git releases --- modules/DokuWiki.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/DokuWiki.php b/modules/DokuWiki.php index 969e822..135e868 100644 --- a/modules/DokuWiki.php +++ b/modules/DokuWiki.php @@ -5,8 +5,8 @@ class DokuWiki extends PatchBase { parent::__construct('Andreas Gohr', 'DokuWiki', 'https://download.dokuwiki.org/'); } function check() : bool { - if ($this->fetch('https://www.dokuwiki.org/changes')) - return $this->parse('/Release ([\d-]+[a-z]? (\"|\xE2\x80\x9C)[A-Za-z ]+(\"|\xE2\x80\x9D))/'); + if ($this->fetch_json('https://api.github.com/repos/dokuwiki/dokuwiki/releases/latest')) + return $this->parse_json('tag_name'); return false; } } From 0f63efdec4e176c07fcf7a88d4d4b2c76282bf7d Mon Sep 17 00:00:00 2001 From: Steffen Lange Date: Sat, 21 Jun 2025 17:18:13 +0200 Subject: [PATCH 2/3] ESPurna: remove version prefix --- modules/ESPurna.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ESPurna.php b/modules/ESPurna.php index e3d4cc1..52b5858 100644 --- a/modules/ESPurna.php +++ b/modules/ESPurna.php @@ -6,7 +6,7 @@ class ESPurna extends PatchBase { } function check() : bool { if ($this->fetch_json('https://api.github.com/repos/xoseperez/espurna/releases/latest')) - return $this->parse_json('tag_name'); + return $this->parse_json('tag_name', '/github(.+)/'); return false; } } From b38c8b8ff052d4d688987048ee6786d216636b1c Mon Sep 17 00:00:00 2001 From: Steffen Lange Date: Sat, 21 Jun 2025 17:18:57 +0200 Subject: [PATCH 3/3] OpenVPN: use git releases --- modules/OpenVPN.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/OpenVPN.php b/modules/OpenVPN.php index f2d9b73..c0ae1e6 100644 --- a/modules/OpenVPN.php +++ b/modules/OpenVPN.php @@ -5,8 +5,8 @@ class OpenVPN extends PatchBase { parent::__construct('OpenVPN Inc.', 'OpenVPN', 'https://openvpn.net/community-downloads/'); } function check() : bool { - if ($this->fetch_json('https://api.github.com/repos/OpenVPN/openvpn/tags')) - return $this->parse_json('name'); + if ($this->fetch_json('https://api.github.com/repos/OpenVPN/openvpn/releases/latest')) + return $this->parse_json('tag_name'); return false; } }