vdirsyncer revamp

This commit is contained in:
Henrik Bakken
2025-10-27 23:36:05 +01:00
parent 22d1213032
commit 823150aa43
7 changed files with 12 additions and 83 deletions
+1
View File
@@ -1,3 +1,4 @@
.gitsecret/keys/random_seed .gitsecret/keys/random_seed
!*.secret !*.secret
homeassistant/SERVICE_ACCOUNT.JSON homeassistant/SERVICE_ACCOUNT.JSON
vdirsyncer/config
+1
View File
@@ -1 +1,2 @@
homeassistant/SERVICE_ACCOUNT.JSON:5a3eabcbc53278f7713423b0ea20d0558f6334f8a1f6aed2a2e4cfb2ca9c93ab homeassistant/SERVICE_ACCOUNT.JSON:5a3eabcbc53278f7713423b0ea20d0558f6334f8a1f6aed2a2e4cfb2ca9c93ab
vdirsyncer/config:4858db17e53be276ae7dbff5492f039c316652bc624fe079891b69f6988306b0
Binary file not shown.
+6 -6
View File
@@ -1,6 +1,6 @@
[default] [default]
default_calendar = purelymail default_calendar = henrik@hjarl.com
highlight_event_days = true highlight_event_days = true
[view] [view]
@@ -16,18 +16,18 @@ longdateformat = %d.%m.%Y
[calendars] [calendars]
[[purelymail]] [[henrik@hjarl.com]]
path = ~/.config/vdirsyncer/calendars/purelymail/ path = ~/Calendars/henrik@hjarl.com/
color = yellow color = yellow
priority = 10 priority = 10
[[google]] [[bakken.henrik@gmail.com]]
path = ~/.config/vdirsyncer/calendars/google/bakken.henrik@gmail.com path = ~/Calendars/google/bakken.henrik@gmail.com
color = light magenta color = light magenta
priority = 5 priority = 5
[[holidays]] [[holidays]]
path = ~/.config/vdirsyncer/calendars/holidays/ path = ~/Calendars/holidays/
color = dark cyan color = dark cyan
readonly = True readonly = True
priority = 0 priority = 0
+4 -4
View File
@@ -1,6 +1,6 @@
[addressbooks] [addressbooks]
[[bakken.henrik@gmail.com]] [[henrik@hjarl.com]]
path = ~/.config/vdirsyncer/contacts/google/default/ path = ~/Contacts/henrik@hjarl.com/default/
[general] [general]
debug = no debug = no
@@ -40,9 +40,9 @@ preferred_email_address_type = pref, work, home
# example: # example:
# private_objects = Jabber, Skype, Twitter # private_objects = Jabber, Skype, Twitter
# default: , (the empty list) # default: , (the empty list)
private_objects = Jabber, Skype, Twitter private_objects = ,
# preferred vcard version: 3.0 / 4.0 # preferred vcard version: 3.0 / 4.0
preferred_version = 3.0 preferred_version = 4.0
# Look into source vcf files to speed up search queries: yes / no # Look into source vcf files to speed up search queries: yes / no
search_in_source_files = no search_in_source_files = no
# skip unparsable vcard files: yes / no # skip unparsable vcard files: yes / no
-73
View File
@@ -1,73 +0,0 @@
[general]
status_path = "~/.config/vdirsyncer/status/"
[pair purelymail_calendar]
a = "purelymail_calendar_local"
b = "purelymail_calendar_remote"
collections = null
conflict_resolution = "b wins"
metadata = ["displayname", "color"]
[storage purelymail_calendar_local]
type = "filesystem"
path = "~/.config/vdirsyncer/calendars/purelymail/"
fileext = ".ics"
[storage purelymail_calendar_remote]
type = "caldav"
url = "https://purelymail.com/webdav/22216/caldav/A44F971C-BC2A-46F0-9992-4B490A8DB7FD/"
username = "henrik@hjarl.com"
password.fetch = ["command", "pass", "show", "henrik@hjarl.com"]
[pair google_calendar]
a = "google_calendar_local"
b = "google_calendar_remote"
collections = ["from a", "from b"]
conflict_resolution = "b wins"
metadata = ["color"]
[storage google_calendar_local]
type = "filesystem"
path = "~/.config/vdirsyncer/calendars/google/"
fileext = ".ics"
[storage google_calendar_remote]
type = "google_calendar"
token_file = "~/.config/vdirsyncer/google_calendar_token"
client_id = "46299105873-hli2csm2rdgmtdnobmbsdcquajceli76.apps.googleusercontent.com"
client_secret = "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"
[pair google_contacts]
a = "google_contacts_local"
b = "google_contacts_remote"
collections = ["from a", "from b"]
conflict_resolution = "b wins"
metadata = ["color"]
[storage google_contacts_local]
type = "filesystem"
path = "~/.config/vdirsyncer/contacts/google/"
fileext = ".vcf"
[storage google_contacts_remote]
type = "google_contacts"
token_file = "~/.config/vdirsyncer/google_contacts_token"
client_id = "46299105873-2do84a5do8bc9j6imuerte8u6m1bsath.apps.googleusercontent.com"
client_secret = "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"
[pair holidays]
a = "holidays_local"
b = "holidays_remote"
collections = null
conflict_resolution = "b wins"
metadata = ["color"]
[storage holidays_local]
type = "filesystem"
path = "~/.config/vdirsyncer/calendars/holidays/"
fileext = ".ics"
[storage holidays_remote]
type = "http"
url = "https://calendar.google.com/calendar/ical/en.norwegian%23holiday%40group.v.calendar.google.com/public/basic.ics"
read_only = "true"
Binary file not shown.