[Zope-CMF] CMF Collector: Open Issues

2005-11-21 Thread tseaver
The following supporters have open issues assigned to them in this collector (http://www.zope.org/Collectors/CMF). Assigned and Open efge - CMFSetup: provide non-ascii im- and exports, [Accepted] http://www.zope.org/Collectors/CMF/292 jens - Discussion replies removal,

Re: [Zope-CMF] Importing subscribers from a csv file

2005-11-21 Thread Jens Vagelpohl
On 21 Nov 2005, at 10:15, Rui Gamito wrote: Is there a way to import email addresses (newsletter subscribers) from a csv file? I've never tried to import anything other than zexp files, but I've been told it was possible, and effortless, using the usual import/export... Well, it's not

Re: [Zope-CMF] reindexing optimizations

2005-11-21 Thread Chris Withers
Hi Alec, Alec Mitchell wrote: So, Sidnei has been plugging away at the AT reindexes things an obscene number of times issue today, and appears to have fixed many of the AT triggered indexing redundancies. Where is this work being done? I'd be very interested to track it... *)

Re: [Zope-CMF] Re: reindexing optimizations

2005-11-21 Thread Chris Withers
Florent Guillaume wrote: That's certainly a good hack. There are several ways to do it, either with a thread-local variable, or in the request, or by walking the stack's locals to check for a __dont_index__ attribute... You'd have to bench, but a thread-local variable is probably the fastest.

Re: [Zope-CMF] Re: reindexing optimizations

2005-11-21 Thread Julien Anguenot
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chris Withers wrote: Florent Guillaume wrote: As Julien said it's not very hard to implement, it's just that there are application changes to consider. Still, there's agreement that CMF should move in that direction, I can provide patches taken

Re: [Zope-CMF] Re: reindexing optimizations

2005-11-21 Thread Chris Withers
Julien Anguenot wrote: yup you're right. We do define this already. All the subscribers can run 'async' or 'sync' . Check the base interface for those subscribers there : http://svn.nuxeo.org/trac/pub/file/CPSCore/trunk/interfaces.py

Re: [Zope-CMF] Re: reindexing optimizations

2005-11-21 Thread Julien Anguenot
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Florent Guillaume wrote: As Julien said it's not very hard to implement, it's just that there are application changes to consider. Still, there's agreement that CMF should move in that direction, I can provide patches taken from the CPS

Re: [Zope-CMF] Re: reindexing optimizations

2005-11-21 Thread Julien Anguenot
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chris Withers wrote: Julien Anguenot wrote: yup you're right. We do define this already. All the subscribers can run 'async' or 'sync' . Check the base interface for those subscribers there :

Re: [Zope-CMF] Re: reindexing optimizations

2005-11-21 Thread Chris Withers
Julien Anguenot wrote: If you want a flush, following what I think I understood you mean ;), we use the transaction.commit() in the tests when needed. Okay, but then how do you undo the changes made by that commit? Also, how would you go about overriding this late-indexing behaviour if you

Re: [Zope-CMF] Re: reindexing optimizations

2005-11-21 Thread Julien Anguenot
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chris Withers wrote: Julien Anguenot wrote: If you want a flush, following what I think I understood you mean ;), we use the transaction.commit() in the tests when needed. Okay, but then how do you undo the changes made by that commit? You

[Zope-CMF] Re: reindexing optimizations

2005-11-21 Thread Raphael Ritz
Chris Withers wrote: Hi Alec, Alec Mitchell wrote: So, Sidnei has been plugging away at the AT reindexes things an obscene number of times issue today, and appears to have fixed many of the AT triggered indexing redundancies. Where is this work being done? I'd be very interested to track

Re: [Zope-CMF] reindexing optimizations

2005-11-21 Thread Alec Mitchell
On Monday 21 November 2005 06:30 am, Chris Withers wrote: *) And calls CMFCatalogAware.reindexObjectSecurity() which reindexes the object only on the security index, and doesn't touch metadata. Does reindexObjectSecurity do anything other than just the reindex the security