This commit is contained in:
Steffen Lange 2021-01-15 21:15:46 +01:00
parent c384a1e845
commit aafe195a51

14
modules/Gogs.php Normal file
View file

@ -0,0 +1,14 @@
<?php
class Gogs extends PatchBase {
function __construct() {
parent::__construct('Gogs Authors', 'Gogs', 'https://gogs.io/');
}
function check() : bool {
if ($this->fetch('https://api.github.com/repos/gogs/gogs/releases/latest', true))
return $this->parse_json('tag_name');
return false;
}
}
?>