Tags:
create new tag
, view all tags

Feature Proposal: Enhance MailerContrib To Allow Exclusion Of Webs

Motivation

We needed to set up a cron job for all webs to receive notifications once every hour, except one web which wanted to receive notifications weekly.

Description and Documentation

I have attached a patch to Mailer.pm and the mailnotify script. It allows us to exclude webs using the following syntax:

perl -I ../bin ./mailnotifytest -q -Main

Impact and Available Solutions

Implementation

Patches attached. Zip file puts the patches in the right directories.

-- Contributors: AndrewRJones

Discussion

-- AndrewRJones - 17 Apr 2007

Note that for this to be considered a serious change proposal for a release you need to add it to add a link to this topic in TWikiFeature04x02 and you must be prepared to either implement it yourself or with the help of someone. The so called 14-day rule does not apply until this has happened.

In this case you have already posted a patch so it will be a simple matter of checking it into SVN if accepted. BUT driving a feature also means being prepared to fix error related to the new feature.

I cannot see that you have applied for SVN checkin rights. You should. TWiki is a very open project ready to accept new developers both for core and plugin development. In fact noone that has applied has been rejected yet.

See SoYouWantToBeATWikiDeveloper which describes how to get started. There are no obligations to how many lines of code you must contribute with. 10 lines per year. 1 million. We are happy to receive any contributions. If if you drop by #twiki on IRC then we will gladly help you getting started with SVN. It is really easy.

And thanks for the contributions already done.

-- KennethLavrsen - 17 Apr 2007

I now have SVN access, and am starting to get familiar with it, so can implement this patch.

-- AndrewRJones - 14 May 2007

Patch looks good. Go for it. smile

-- CrawfordCurrie - 15 May 2007

Yes. The chance that anyone will raise concern against this is close to zero since it does not influence normal viewing performance or edit performance and it is compatible in every possible way. So go ahead and implement

-- KennethLavrsen - 16 May 2007

No-brainer. Thanks Andrew!

-- PeterThoeny - 17 May 2007

Enough time passed for raising concern. Consensus seems reached and feature is already implemented.

-- KennethLavrsen - 19 May 2007

Topic attachments
I Attachment History Action Size Date Who Comment
Compressed Zip archivezip MailerPatches.zip r1 manage 1.2 K 2007-04-17 - 11:05 AndrewRJones Patch to mailnotify and Mailer.pm
Edit | Attach | Watch | Print version | History: r9 < r8 < r7 < r6 < r5 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r9 - 2007-05-19 - KennethLavrsen
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.