[Zope-CMF] Re: Adapterizing CMFCore.WorkflowTool

2008-01-30 Thread Encolpe Degoute
Laurence Rowe a écrit :
> I have made the changes on a branch:
> http://svn.zope.org/Products.CMFCore/branches/adapterize-wfstatus-wfhistory
> 
> This is branched from 2.1 so I could test with Plone. There is no test
> coverage for status or history yet. I'll add some if the approach meets
> with approval.
> 
> Comments appreciated, specifically on:
> 
> * I currently adapt based on (IContentish, IWorkflowDefinition) should
> this be made more general, i.e. (Interface, IWorkflowDefinition)? Does
> anyone workflow anything that is not IContentish?

If CMF is focused only on CMS features, you shouldn't have workflow on
something that is not a 'content'. Now, if you was involved in workflow
sprint in Naples, you should know that we want something more powerful
than a workflow focused on content:
http://www.openplans.org/projects/plone-workflows/project-home

> * Is depricating getStatusOf, setStatusOf, getHistoryOf desirable? I'm
> not sure it would serve any particular purpose.

I use these methods during export/import to/from oldier Plone version or
to/from another CMS. It allows more readable code than making low level
programmation to rebuild an history or to force a specific workflow state.

Regards,
-- 
Encolpe Degoute
INGENIWEB (TM) - S.A.S 5 Euros - RC B 438 725 632
17 rue Louise Michel - 92300 Levallois Perret - France
web : www.ingeniweb.com - « les Services Web Ingénieux »
Tel : 01.78.15.24.08 / Fax : 01 47 57 39 14

___
Zope-CMF maillist  -  Zope-CMF@lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf

See http://collector.zope.org/CMF for bug reports and feature requests


[Zope-CMF] Re: Adapterizing CMFCore.WorkflowTool

2008-01-30 Thread Laurence Rowe

I have made the changes on a branch:
http://svn.zope.org/Products.CMFCore/branches/adapterize-wfstatus-wfhistory

This is branched from 2.1 so I could test with Plone. There is no test 
coverage for status or history yet. I'll add some if the approach meets 
with approval.


Comments appreciated, specifically on:

* I currently adapt based on (IContentish, IWorkflowDefinition) should 
this be made more general, i.e. (Interface, IWorkflowDefinition)? Does 
anyone workflow anything that is not IContentish?


* Is depricating getStatusOf, setStatusOf, getHistoryOf desirable? I'm 
not sure it would serve any particular purpose.


Laurence

___
Zope-CMF maillist  -  Zope-CMF@lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf

See http://collector.zope.org/CMF for bug reports and feature requests


[Zope-CMF] CMF Tests: 11 OK

2008-01-30 Thread CMF Tests Summarizer
Summary of messages to the cmf-tests list.
Period Tue Jan 29 12:00:00 2008 UTC to Wed Jan 30 12:00:00 2008 UTC.
There were 11 messages: 11 from CMF Unit Tests.


Tests passed OK
---

Subject: OK : CMF-1.5 Zope-2.7 Python-2.3.6 : Linux
From: CMF Unit Tests
Date: Tue Jan 29 21:25:15 EST 2008
URL: http://mail.zope.org/pipermail/cmf-tests/2008-January/007806.html

Subject: OK : CMF-1.5 Zope-2.8 Python-2.3.6 : Linux
From: CMF Unit Tests
Date: Tue Jan 29 21:26:45 EST 2008
URL: http://mail.zope.org/pipermail/cmf-tests/2008-January/007807.html

Subject: OK : CMF-1.5 Zope-2.9 Python-2.4.4 : Linux
From: CMF Unit Tests
Date: Tue Jan 29 21:28:16 EST 2008
URL: http://mail.zope.org/pipermail/cmf-tests/2008-January/007808.html

Subject: OK : CMF-1.6 Zope-2.8 Python-2.3.6 : Linux
From: CMF Unit Tests
Date: Tue Jan 29 21:29:46 EST 2008
URL: http://mail.zope.org/pipermail/cmf-tests/2008-January/007809.html

Subject: OK : CMF-1.6 Zope-2.9 Python-2.4.4 : Linux
From: CMF Unit Tests
Date: Tue Jan 29 21:31:16 EST 2008
URL: http://mail.zope.org/pipermail/cmf-tests/2008-January/007810.html

Subject: OK : CMF-2.0 Zope-2.9 Python-2.4.4 : Linux
From: CMF Unit Tests
Date: Tue Jan 29 21:32:46 EST 2008
URL: http://mail.zope.org/pipermail/cmf-tests/2008-January/007811.html

Subject: OK : CMF-2.0 Zope-2.10 Python-2.4.4 : Linux
From: CMF Unit Tests
Date: Tue Jan 29 21:34:16 EST 2008
URL: http://mail.zope.org/pipermail/cmf-tests/2008-January/007812.html

Subject: OK : CMF-2.1 Zope-2.10 Python-2.4.4 : Linux
From: CMF Unit Tests
Date: Tue Jan 29 21:35:46 EST 2008
URL: http://mail.zope.org/pipermail/cmf-tests/2008-January/007813.html

Subject: OK : CMF-2.1 Zope-trunk Python-2.4.4 : Linux
From: CMF Unit Tests
Date: Tue Jan 29 21:37:16 EST 2008
URL: http://mail.zope.org/pipermail/cmf-tests/2008-January/007814.html

Subject: OK : CMF-trunk Zope-2.10 Python-2.4.4 : Linux
From: CMF Unit Tests
Date: Tue Jan 29 21:38:47 EST 2008
URL: http://mail.zope.org/pipermail/cmf-tests/2008-January/007815.html

Subject: OK : CMF-trunk Zope-trunk Python-2.4.4 : Linux
From: CMF Unit Tests
Date: Tue Jan 29 21:40:17 EST 2008
URL: http://mail.zope.org/pipermail/cmf-tests/2008-January/007816.html

___
Zope-CMF maillist  -  Zope-CMF@lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf

See http://collector.zope.org/CMF for bug reports and feature requests