Fix#132
Passing the collections parameter used to mean that the storage should
append its value to the URL or path. This was a leaky abstraction for
the reasons explained in #132.
The new behavior removes this meaning from this parameter. Vdirsyncer
now maintains a cache of discovered collections.
See #141
Basically this tries to parse config values with JSON, if that fails,
the value is interpreted as string.
I'd greatly appreciate feedback on this and #141
- Custom job queue with workers based on threads.
- Collection discovery is now done in a separate thread. Due to the
gained flexibility, we could do the sync actions in separate threads
too?
- The processes parameter has been removed, the related new option is
only available on the CLI.
Fix#121
Vdirsyncer used to exit as a whole when one pair failed to synchronize
due to connection errors. The new behavior actually tries to synchronize
other pairs before exiting with a nonzero status code. The old behavior
can be restored with the --fail-fast flag.