whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ru...@apache.org
Subject [whimsy] branch master updated: don't notify on updates to present list
Date Sat, 15 Oct 2016 15:12:30 GMT
This is an automated email from the ASF dual-hosted git repository.

rubys pushed a commit to branch master
in repository https://git-dual.apache.org/repos/asf/whimsy.git

The following commit(s) were added to refs/heads/master by this push:
       new  83def3f   don't notify on updates to present list
83def3f is described below

commit 83def3f04a6c1ef42eb7fd57752a6eebc86ae34f
Author: Sam Ruby <rubys@intertwingly.net>
AuthorDate: Sat Oct 15 11:09:39 2016 -0400

    don't notify on updates to present list
    separate notifications are sent on arrival and departure
 www/board/agenda/models/pending.rb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/www/board/agenda/models/pending.rb b/www/board/agenda/models/pending.rb
index edfd8a1..0bc5a22 100644
--- a/www/board/agenda/models/pending.rb
+++ b/www/board/agenda/models/pending.rb
@@ -46,6 +46,7 @@ class Pending
   # listen for changes to pending and minutes files
   @@listener = Listen.to(AGENDA_WORK) do |modified, added, removed|
     modified.each do |path|
+      next if path.end_with? '/sessions/present.yml'
       next if File.exist?(path) and @@seen[path] == File.mtime(path)
       file = File.basename(path)
       if file =~ /^board_minutes_\d{4}_\d\d_\d\d\.yml$/

To stop receiving notification emails like this one, please contact
['"commits@whimsical.apache.org" <commits@whimsical.apache.org>'].

View raw message