Code Repositories xandikos / upstream/0_git20170308 notes / store.txt

Tree @upstream/0_git20170308 (Download .tar.gz)

store.txt @upstream/0_git20170308raw · history · blame

Dulwich Store
The main building blocks are vCard (*.vcf) and ICalendar (*.ics) files. Storage
happens in GIT repositories.

Most items are identified by a UID, which is unique for the store. Items
can have multiple versions, which are identified by an ETag. Each store
maps to a single git repository, and can not contain directories. In the future,
a store could map to a subtree in a Git repository.

Stores are responsible for making sure that:

 * their contents are validly formed calendars/contacts
 * UIDs are unique (where relevant)