This is an automated email from the ASF dual-hosted git repository.

sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git


The following commit(s) were added to refs/heads/master by this push:
     new dc274d6d Ignore changes to entries
dc274d6d is described below

commit dc274d6d55ef453ba88563c4509fd664be12aad1
Author: Sebb <[email protected]>
AuthorDate: Thu Mar 7 19:55:35 2024 +0000

    Ignore changes to entries
---
 tools/pubsub-ci-email.rb | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/tools/pubsub-ci-email.rb b/tools/pubsub-ci-email.rb
index bf156f5e..d9e75d06 100755
--- a/tools/pubsub-ci-email.rb
+++ b/tools/pubsub-ci-email.rb
@@ -149,6 +149,10 @@ def do_diff(initialhash, currenthash, triggerrev)
   end
   #  N.B. before/after are hashes: committee_name => {roster hash}
   ASFJSON.cmphash(before, after) do |bc, type, key, args|
+    unless TYPES.include? type # Don't need to handle changes to entries
+      puts stamp "SKIPPING: #{[bc, type, key, args].inspect}"
+      next
+    end
     # bc = breadcrumb, type = Added/Dropped, key = committeename, args = 
individual roster entry
     pmcid = bc[1]
     next unless pmcid

Reply via email to