diff options
Diffstat (limited to '.vdirsyncer/config')
-rw-r--r-- | .vdirsyncer/config | 77 |
1 files changed, 38 insertions, 39 deletions
diff --git a/.vdirsyncer/config b/.vdirsyncer/config index 7f04a07..a89d4db 100644 --- a/.vdirsyncer/config +++ b/.vdirsyncer/config @@ -1,74 +1,73 @@ -#An example configuration for vdirsyncer. -# Optional parameters are commented out. -# This file doesn't document all available parameters, see -# http://vdirsyncer.readthedocs.org/ for the rest of them. [general] -# A folder where vdirsyncer can store some metadata about each pair. status_path = "~/.vdirsyncer/status/" password_command = pass2vdirsyncer -# CARDDAV +# carddav [pair dave_contacts] - -# A `[pair <name>]` block defines two storages `a` and `b` that should be -# synchronized. The definition of these storages follows in `[storage <name>]` -# blocks. This is similar to accounts in OfflineIMAP. a = dave_contacts_local b = dave_contacts_remote - -# Synchronize all collections available on "side B" (in this case the server). -# You need to run `vdirsyncer discover` if new calendars/addressbooks are added -# on the server. -# Omitting this parameter implies that the given path and URL in the -# corresponding `[storage <name>]` blocks are already directly pointing to a -# collection each. -#collections = ["from b"] collections = ["akt","bands","private","services","tu-berlin","unixpool", "venues"] - -# To resolve a conflict the following values are possible: -# `null` - abort when collisions occur (default) -# `"a wins"` - assume a's items to be more up-to-date -# `"b wins"` - assume b's items to be more up-to-date conflict_resolution = "b wins" [storage dave_contacts_local] -# A storage references actual data on a remote server or on the local disk. -# Similar to repositories in OfflineIMAP. type = filesystem path = "~/.contacts/" fileext = .vcf [storage dave_contacts_remote] type = carddav -#url = https://owncloud.example.com/remote.php/carddav/ url = https://cloud.sleepmap.de/remote.php/carddav/ verify = "~/.certs/sleepmap.crt" -#verify = false - -#username = -# The password can also be fetched from the system password storage, netrc or a -# custom command. See http://vdirsyncer.readthedocs.org/en/stable/keyring.html -#password = username = dave -# CALDAV + +[pair akt_contacts] +a = akt_contacts_local +b = akt_contacts_remote +collections = ["exteam", "studio", "team"] +conflict_resolution = "b wins" + +[storage akt_contacts_local] +type = filesystem +path = "~/.contacts/" +fileext = .vcf + +[storage akt_contacts_remote] +type = carddav +url = https://www2.ak.tu-berlin.de/.cloudy/remote.php/carddav/ +username = drunge + + +# caldav [pair dave_calendar] a = dave_calendar_local b = dave_calendar_remote -#collections = ["private", "work"] -collections = ["contact_birthdays", "private", "unix-pool", "courses", "live", "concerts", "d228"] +collections = ["akt", "contact_birthdays", "flat", "private", "unix-pool", "courses", "live", "concerts"] + [storage dave_calendar_local] type = filesystem path = "~/.calendars/" fileext = .ics + [storage dave_calendar_remote] type = caldav -#url = https://owncloud.example.com/remote.php/caldav/ url = https://cloud.sleepmap.de/remote.php/caldav/ verify = "~/.certs/sleepmap.crt" -#verify = false -#username = -#password = username = dave + +[pair akt_calendar] +a = akt_calendar_local +b = akt_calendar_remote +collections = ["ak_shared_by_mvoigt", "studiotermine_shared_by_mvoigt", "rechencluster_shared_by_mvoigt", "labs_shared_by_mvoigt", "urlaub_shared_by_mvoigt", "grossesstudio_shared_by_mvoigt", "kleinesstudio_shared_by_mvoigt", "studioausleihe_shared_by_mvoigt", "studiotermine_shared_by_mvoigt"] + +[storage akt_calendar_local] +type = filesystem +path = "~/.calendars/" +fileext = .ics + +[storage akt_calendar_remote] +type = caldav +url = https://www2.ak.tu-berlin.de/.cloudy/remote.php/caldav/ +username = drunge |