Add Duplicity

This commit is contained in:
Steffen Lange 2021-10-30 14:06:58 +02:00
parent 80728298cb
commit 5cc6152c2b

14
modules/Duplicity.php Normal file
View file

@ -0,0 +1,14 @@
<?php
class Duplicity extends PatchBase {
function __construct() {
parent::__construct('Kenneth Loafman', 'Duplicity', 'http://duplicity.gitlab.io/duplicity-web/');
}
function check() : bool {
if ($this->fetch_json('https://gitlab.com/api/v4/projects/12450835/repository/tags'))
return $this->parse_json('name', '/rel\.(.+)/');
return false;
}
}
?>