[Chandler-dev] chandlerdb updated (0.7-12)

Andi Vajda vajda at osafoundation.org
Fri May 18 16:46:29 PDT 2007


After your next 'svn update' you need to get the latest chandlerdb version
by running in 'chandler':
      make chandlerdb  - OR -
      make

This update introduces a new attribute on Kind, called 'notify'.
This attribute makes it possible to turn off 'refresh' notifications on 
collections based off a KindSet. These notifications are sent out during 
view.refresh() and alert these collections about changes to items they contain 
that are coming into the view.

Below are the kinds in a fresh chandler repository that have collections based 
off them (*):

<Kind: ContentItem 5511c354-0599-11dc-dc65-c688e5d72e5f>
<Kind: Reminder 551280fa-0599-11dc-dc65-c688e5d72e5f>
<Kind: Note 5516b0f8-0599-11dc-dc65-c688e5d72e5f>
<Kind: Location 551a709e-0599-11dc-dc65-c688e5d72e5f>
<Kind: EmailAddress 552281b2-0599-11dc-dc65-c688e5d72e5f>
<Kind: Script 556eeeb2-0599-11dc-dc65-c688e5d72e5f>
<Kind: Certificate 5626206e-0599-11dc-dc65-c688e5d72e5f>
<Kind: FlickrPhotoMixin 57970152-0599-11dc-dc65-c688e5d72e5f>

As an experiment, I turned 'notify' off (set it to False) on EmailAddress.

Andi..

(*) obtained with:

for e in (e for e in view.findPath('//Schema/Core/Extent').iterItems(view)
           if hasattr(e, 'watchers')):
     print e.kind


More information about the chandler-dev mailing list