Skip to content

Check for available updates of the Baïkal CalDAV and CardDAV server by comparing configured_version from your config/baikal.yaml with the version of the latest release from Github.

License

Notifications You must be signed in to change notification settings

fl3a/baikal_updates

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

baikal_updates

Check for available updates of the Baïkal CalDAV and CardDAV server
by comparing configured_version from your config/baikal.yaml with the version of the latest release from Github.

If configured_version and latest version differ,
it prints out a message with configured_version, latest release version and field body, which is used for release notes and changes.

E.g. output, configured_version is 0.9.3 while 0.9.4 is available:

Baïkal update available:
 - Running 0.9.3 -> 0.9.4 is available
Release notes:
- Fix difference in database scheme between MySQL and SQLite
- Make base_uri case sensitive
- Upgrade sabre/dav to 4.5.0 (this should fix some warnings on php 8.2)
Release url: https://github.com/sabre-io/Baikal/releases/tag/0.9.4 

Usage

Excecute the script itself with /path/to/baikal as argument

baikal_updates.sh /path/to/baikal

For continuous checks via cron, e.g.:

MAILTO=mail@example.com
42 23 * * * baikal_updates.sh /path/to/baikal

Requirements

  • curl
  • jq - jq is a lightweight and flexible command-line JSON processor.

About

Check for available updates of the Baïkal CalDAV and CardDAV server by comparing configured_version from your config/baikal.yaml with the version of the latest release from Github.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages