{ "name": "baikal", "version": "0.13.0", "summary": "Ba\u00efkal and sabre/dav: the CalDAV and CardDAV libraries (and Ba\u00efkal's schema) the mail server's DAV endpoint uses", "category": "server", "license": "GPL-3.0-only AND BSD-3-Clause", "homepage": "https://sabre.io/baikal/", "source": { "url": "https://github.com/sabre-io/Baikal/releases/download/0.13.0/baikal-0.13.0.zip", "sha256": "81e74df123230e863f608d228fdd7b9a1a788f60b04d37e6973c302192e83f32" }, "watch": {"kind": "github-release", "repo": "sabre-io/Baikal", "tag_regex": "^([0-9]+(?:\\.[0-9]+)+[a-z]?[0-9]*)$"}, "deps": [ "php" ], "env_packages": [], "static": false, "nss": false, "check": "out=$(bin/php -r 'require \"share/baikal/vendor/autoload.php\"; $d = new PDO(\"sqlite::memory:\"); $d->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); $d->exec(file_get_contents(\"share/baikal/Core/Resources/Db/SQLite/db.sql\")); $c = new Sabre\\CalDAV\\Backend\\PDO($d); $id = $c->createCalendar(\"principals/bvs\", \"default\", []); $c->createCalendarObject($id, \"e.ics\", \"BEGIN:VCALENDAR\\r\\nVERSION:2.0\\r\\nPRODID:-//bvs//EN\\r\\nBEGIN:VEVENT\\r\\nUID:bvs-1\\r\\nDTSTAMP:20260926T120000Z\\r\\nDTSTART:20260927T090000Z\\r\\nSUMMARY:bvs check\\r\\nEND:VEVENT\\r\\nEND:VCALENDAR\\r\\n\"); $o = $c->getCalendarObject($id, \"e.ics\"); echo \"sabre/dav \", Sabre\\DAV\\Version::VERSION, \": \", strpos($o[\"calendardata\"], \"SUMMARY:bvs check\") !== false ? \"event stored and read\" : \"event lost\", \"\\n\";') && echo \"$out\" | first && echo \"$out\" | has 'event stored and read'" }