[dokuwiki] Re: Proposal: FS#113, notify changes
- From: Steven Danz <steven-danz@xxxxxxxxx>
- To: dokuwiki@xxxxxxxxxxxxx
- Date: Fri, 24 Jun 2005 19:58:28 -0500
Andreas Gohr wrote:
On Tue, 21 Jun 2005 21:23:15 -0500
Steven Danz <steven-danz@xxxxxxxxx> wrote:
I've worked up a patch for a first pass at allowing users to elect to
have email sent to them when pages of the wiki are updated. Andreas
suggested I post it and something of an overview of the approach to
generate some discussion. I haven't tried to 'darcs send' it, but I
could if that would be easier.
I just want to give some short feedback. I like your code but I'd like to
defer inclusion until the next release is out (If I can get my ass up I will do
a release this weekend - but no promises)
Thanks! Sounds fine to me, just wanting to help.
I'd like to discuss the locking mechanism as well. The .mlist file needs to
be locked for a very short time while writing only. The lock doesn't need to
survive multiple script runs, too. So I think it would be more efficient to use
the locking mechanisms provided by the underling OS using the flock() call
instead of creating lockfiles our self...
Ah... that does sound much better (smacks head with hand). I knew I
needed locking,
saw the lock routines and thought 'yeah, that is just what I need' and
forgot all
about the OS builtins.
Steven
Andi
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist
- Follow-Ups:
- [dokuwiki] Re: Proposal: FS#113, notify changes
- From: Steven Danz
- References:
- [dokuwiki] Proposal: FS#113, notify changes
- From: Steven Danz
- [dokuwiki] Re: Proposal: FS#113, notify changes
- From: Andreas Gohr
Other related posts:
- » [dokuwiki] Proposal: FS#113, notify changes
- » [dokuwiki] Re: Proposal: FS#113, notify changes
- » [dokuwiki] Re: Proposal: FS#113, notify changes
- » [dokuwiki] Re: Proposal: FS#113, notify changes
- » [dokuwiki] Re: Proposal: FS#113, notify changes
- » [dokuwiki] Re: Proposal: FS#113, notify changes
- » [dokuwiki] Re: Proposal: FS#113, notify changes
On Tue, 21 Jun 2005 21:23:15 -0500 Steven Danz <steven-danz@xxxxxxxxx> wrote:
I've worked up a patch for a first pass at allowing users to elect to have email sent to them when pages of the wiki are updated. Andreas suggested I post it and something of an overview of the approach to generate some discussion. I haven't tried to 'darcs send' it, but I could if that would be easier.
I just want to give some short feedback. I like your code but I'd like to defer inclusion until the next release is out (If I can get my ass up I will do a release this weekend - but no promises)
I'd like to discuss the locking mechanism as well. The .mlist file needs to be locked for a very short time while writing only. The lock doesn't need to survive multiple script runs, too. So I think it would be more efficient to use the locking mechanisms provided by the underling OS using the flock() call instead of creating lockfiles our self...
-- DokuWiki mailing list - more info at http://wiki.splitbrain.org/wiki:mailinglist
- [dokuwiki] Re: Proposal: FS#113, notify changes
- From: Steven Danz
- [dokuwiki] Proposal: FS#113, notify changes
- From: Steven Danz
- [dokuwiki] Re: Proposal: FS#113, notify changes
- From: Andreas Gohr