mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-03-25 08:55:50 +00:00
No description
Excluding items without mimetype "text/calendar" becomes necessary when
listing items, because iCloud would re-send us the URL we issued the
REPORT request on, a collection, with a mimetype of
"httpd/unix-directory".
debug: REPORT https://p28-caldav.icloud.com/8010146223/calendars/home/
debug: {'Depth': 'infinity', 'Content-Type': 'application/xml; charset=UTF-8', 'User-Agent': 'vdirsyncer '}
debug: <?xml version="1.0" encoding="utf-8" ?>
debug: <C:calendar-query xmlns:D="DAV:"
debug: xmlns:C="urn:ietf:params:xml:ns:caldav">
debug: <D:prop>
debug: <D:getetag/>
debug: </D:prop>
debug: <C:filter>
debug:
debug: <C:comp-filter name="VCALENDAR">
debug: <C:comp-filter name="VTODO">
debug:
debug: </C:comp-filter>
debug: </C:comp-filter>
debug:
debug: </C:filter>
debug: </C:calendar-query>
debug: Sending request...
debug: 207
debug: {'content-encoding': 'gzip', 'transfer-encoding': 'chunked', 'server': 'iCloudCalendarServer 14F4 1', 'last-modified': 'Tue, 02 Sep 2014 13:59:11 GMT', 'dav': '1, access-control, calendar-access, calend ar-schedule, calendar-auto-schedule, calendar-managed-attachments, calendarserver-sharing, calendarserve r-subscribed, calendarserver-home-sync', 'x-transaction-id': '7f311996-32b4-11e4-a6db-78e3b5058dc0', 'da te': 'Tue, 02 Sep 2014 15:19:13 GMT', 'x-responding-server': 'mr21p28ic-hpaf05163701 18 a63660a6f7d1a25b 5a7ed66dab0da843', 'content-type': 'text/xml'}
debug: <?xml version='1.0' encoding='UTF-8'?><multistatus xmlns='DAV:'>
debug:
debug: <response>
debug: <href>/8010146223/calendars/home/</href>
debug: <propstat>
debug: <prop>
debug: <getetag>"FT=-@RU=301785db-0889-442c-ab5d-03144258969a@S=30"</getetag>
debug: <getcontenttype>httpd/unix-directory</getcontenttype>
debug: </prop>
debug: <status>HTTP/1.1 200 OK</status>
debug: </propstat>
debug: </response>
debug:
debug: <response>
debug: <href>/8010146223/calendars/home/412580F4-7A0A-480D-BA99-73260B921E5D.ics</href>
debug: <propstat>
debug: <prop>
debug: <getetag>"C=30@U=301785db-0889-442c-ab5d-03144258969a"</getetag>
debug: <getcontenttype>text/calendar</getcontenttype>
...
|
||
|---|---|---|
| docs | ||
| tests | ||
| vdirsyncer | ||
| .gitignore | ||
| .travis.yml | ||
| AUTHORS.rst | ||
| build.sh | ||
| CHANGELOG.rst | ||
| CONTRIBUTING.rst | ||
| example.cfg | ||
| LICENSE | ||
| MANIFEST.in | ||
| README.rst | ||
| setup.cfg | ||
| setup.py | ||
==========
vdirsyncer
==========
vdirsyncer synchronizes your calendars and addressbooks between two storages.
The supported storages are CalDAV, CardDAV, arbitrary HTTP resources and `some
more <https://vdirsyncer.readthedocs.org/en/latest/api.html#storages>`_.
It aims to be for CalDAV and CardDAV what `OfflineIMAP
<http://offlineimap.org/>`_ is for IMAP.
.. image:: https://travis-ci.org/untitaker/vdirsyncer.png?branch=master
:target: https://travis-ci.org/untitaker/vdirsyncer
.. image:: https://coveralls.io/repos/untitaker/vdirsyncer/badge.png?branch=master
:target: https://coveralls.io/r/untitaker/vdirsyncer?branch=master
How to use
==========
vdirsyncer requires Python >= 2.7 or Python >= 3.3.
As all Python packages, vdirsyncer can be installed with ``pip``::
pip install --user vdirsyncer
Then copy ``example.cfg`` to ``~/.vdirsyncer/config`` and edit it.
Run ``vdirsyncer --help`` and check out `the documentation
<https://vdirsyncer.readthedocs.org/>`_.
How to run the tests
====================
::
sh build.sh install_tests
sh build.sh tests