[Grok-dev] Question regarding hurry.workflow

Sebastian Ware sebastian at urbantalk.se
Tue May 12 09:12:17 EDT 2009


Thanks, it'll be whatever hurry.workflow has (BSD as it turns out).

Hopefully Martijn will consider adding it to hurry.workflow, but you  
and I will probably have to update the tests first :) I also need to  
make a slight clean up with regards to the "hurry.workflow.id"  
annotation (there should only be one per object, but I am adding one  
for each named workflow right now (but not using them)).

I am currently using the code in a test project and it seems to be  
working as I hoped. I am also gaining a bit more experience on how to  
handle named workflows and indexing.

NOTE: I don't use the multiple version support (I have never got  
around to it eventhough I would like to), so I am not 100% sure how it  
is affected by named workflows. I think it should be ok.

Mvh Sebastian


12 maj 2009 kl. 10.44 skrev Tim Cook:

> On Thu, 2009-05-07 at 21:02 +0200, Sebastian Ware wrote:
>> Hi Tim (and anybody else interested in multiple workflow support)!
>>
>> I have made a small experiment adding multiple workflow support to
>> hurry.workflow using named utilities and namned adapters. It requires
>> a "default" unnamed workflow to support versions. Maybe you could  
>> look
>> at this and see if it might be useful.
>
> Hi Sebastian,
>
> You did not specify any license or attribution requirements for this
> code.
>
> I would like to include it in my open source application.
>
> Below is the standard header I use and I would like to get your  
> approval
> on using your code and usage instructions this way.
>
> Thanks,
> Tim
>
> # -*- coding: utf-8 -*-
> ##############################################################################
> # Copyright (c) 2007, Timothy W. Cook and Contributors. All rights
> reserved.
> # Redistribution and use are governed by the MPL license.
> #
> # Use and/or redistribution of this file assumes you have read and
> accepted the
> # terms of the license.
> ##############################################################################
>
> """
>
> Adds multiple workflow capability to hurry.workflow.  See the OSHIP
> application developers
> guide for usage.
>
> """
>
> __author__  = u'Sebastian Ware <sebastian at urbantalk.se>'
> __docformat__ = u'plaintext'
> __contributors__ = u'Timothy Cook <timothywayne.cook at gmail.com>'
>
>
>
>
>
> -- 
> Timothy Cook, MSc
> Health Informatics Research & Development Services
> LinkedIn Profile:http://www.linkedin.com/in/timothywaynecook
> Skype ID == timothy.cook
> **************************************************************
> *You may get my Public GPG key from  popular keyservers or   *
> *from this link http://timothywayne.cook.googlepages.com/home*
> **************************************************************



More information about the Grok-dev mailing list