todoman
todoman copied to clipboard
impossible to use calendars with same name from different dav accounts
with config like this
[main]
default_priority = 0
path = ~/.dav/calendar/*/*
i see this error
todo
More than one list has the same identity: default.
directory structure like this:
tree -d ~/.dav/calendar
/home/sss/.dav/calendar
├── shared
│ └── default
├── sss
│ └── default
└── sss_phone
└── default
Hmm... interesting. I take it that renaming one is unfeasable? I guess we could have per-calendar aliases. 🤔
i have tried to mimic directory structure via simlinks, but it failed with same error, probably something like readlink used internally
i guess khal approach will be good enough.
The displayname is used: http://vdirsyncer.pimutils.org/en/stable/vdir.html#metadata
khal uses the same value
i am using this config:
[calendars]
[[sss]]
#type = discover
path = ~/.dav/calendar/sss/default/
color = "light red"
[[phone]]
#type = discover
path = ~/.dav/calendar/sss_phone/default/
color = "dark red"
[[shared]]
#type = discover
path = ~/.dav/calendar/shared/default/
color = "light gray"
with khal and it works.
it's also will be nice to have ability to move/copy items between accounts, but i guess this is topic for another ticket
it's also will be nice to have ability to move/copy items between accounts, but i guess this is topic for another ticket
See todo move --help and todo copy --help.
i see this error
todo More than one list has the same identity: default.
Do you still get this error after running `metasync?
it's also will be nice to have ability to move/copy items between accounts, but i guess this is topic for another ticket
See
todo move --helpandtodo copy --help.
i can't test bacause of More than one list has the same identity: default.
i see this error todo More than one list has the same identity: default.
Do you still get this error after running `metasync?
what is `metasync ?
vdirsyncer metasync tells vdirsyncer to fetch calendar name and colour metadata. Just in case, have you run this?
same problem, but it is 3 different accounts with same name default so this will not help.
Create a file called displayname inside the directories, and put an alias for each list there.
See https://todoman.readthedocs.io/en/stable/configure.html#color-and-displayname
Lemme know if that doesn't work.
yes, this worked, thx for help. i guess it should be mentioned in error description.