Compare commits

..

No commits in common. "b38c8b8ff052d4d688987048ee6786d216636b1c" and "9cdf91384a7c07e5608fdf4b58c87e2108a6be71" have entirely different histories.

3 changed files with 5 additions and 5 deletions

View file

@ -5,8 +5,8 @@ class DokuWiki extends PatchBase {
parent::__construct('Andreas Gohr', 'DokuWiki', 'https://download.dokuwiki.org/');
}
function check() : bool {
if ($this->fetch_json('https://api.github.com/repos/dokuwiki/dokuwiki/releases/latest'))
return $this->parse_json('tag_name');
if ($this->fetch('https://www.dokuwiki.org/changes'))
return $this->parse('/Release ([\d-]+[a-z]? (\"|\xE2\x80\x9C)[A-Za-z ]+(\"|\xE2\x80\x9D))/');
return false;
}
}

View file

@ -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', '/github(.+)/');
return $this->parse_json('tag_name');
return false;
}
}

View file

@ -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/releases/latest'))
return $this->parse_json('tag_name');
if ($this->fetch_json('https://api.github.com/repos/OpenVPN/openvpn/tags'))
return $this->parse_json('name');
return false;
}
}