[dev] Horde Lock

Ben Klang ben at alkaloid.net
Fri May 16 05:02:17 UTC 2008


On May 14, 2008, at 3:37 PM, Chuck Hagenbuch wrote:

> Quoting Ben Klang <ben at alkaloid.net>:
>
>>> Can I create a patch to store the used scope and methods to list all
>>> locks by scope or user. It will just add an column in DB and add  
>>> some
>>> functions code and it should not break anything. I think that such
>>> functionality should be in the first release.
>> Lock "scope" is not something that was originally planned, but I
>> don't know enough about what "scope" means to pass any kind of
>> judgement on it architecturally.  If you'd like to submit your
>> proposed code I'll be happy to look over it and discuss with you.  I
>> definitely would like to see Horde_Lock be as useful as possible.
>
> Scope would be like a category for locks, like preference scope -
> these are the locks for minerva, these are the locks for webdav, etc.
> I think it'd be good to have.
>

I have made the changes necessary to implement scope as discussed  
here.  Make sure you run the scripts/upgrades/2008-05-15- 
lock_schema.sql after checking out the latest code.  Feedback on  
these changes would be appreciated.

/BAK/


More information about the dev mailing list