whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject [whimsy] branch master updated: roster => members and owners
Date Tue, 06 Jun 2017 23:53:52 GMT
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 00a3c3b  roster => members and owners
00a3c3b is described below

commit 00a3c3bb524e924a519f0cb45fd257d321670d99
Author: Sebb <sebb@apache.org>
AuthorDate: Wed Jun 7 00:53:22 2017 +0100

    roster => members and owners
---
 www/roster/public_ldap_projects.rb | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/www/roster/public_ldap_projects.rb b/www/roster/public_ldap_projects.rb
index ad71933..42c8a83 100644
--- a/www/roster/public_ldap_projects.rb
+++ b/www/roster/public_ldap_projects.rb
@@ -68,8 +68,11 @@ if changed? and @old_file
   # for validating UIDs
   uids = ASF::Person.list().map(&:id)
   entries.each do |name, entry|
-    entry[:roster].each do |id|
-      Wunderbar.warn "#{name}: unknown uid #{id}" unless uids.include?(id)      
+    entry[:members].each do |id|
+      Wunderbar.warn "#{name}: unknown member uid #{id}" unless uids.include?(id)      
+    end
+    entry[:owners].each do |id|
+      Wunderbar.warn "#{name}: unknown owner uid #{id}" unless uids.include?(id)      
     end
   end
 end

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

Mime
View raw message