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 1608835  Also show root
1608835 is described below

commit 16088359a2dc7b64f13e6418919c36966906828a
Author: Sebb <[email protected]>
AuthorDate: Mon Nov 25 22:30:38 2019 +0000

    Also show root
---
 lib/whimsy/asf/config.rb       | 3 +++
 www/committers/config_info.cgi | 3 +++
 2 files changed, 6 insertions(+)

diff --git a/lib/whimsy/asf/config.rb b/lib/whimsy/asf/config.rb
index e077283..5fc8d50 100644
--- a/lib/whimsy/asf/config.rb
+++ b/lib/whimsy/asf/config.rb
@@ -116,6 +116,9 @@ module ASF
       @testdata[name] = File.expand_path(path).untaint
     end
 
+    def self.root
+      @root
+    end
   end
 
 end
diff --git a/www/committers/config_info.cgi b/www/committers/config_info.cgi
index d5364c7..577f317 100755
--- a/www/committers/config_info.cgi
+++ b/www/committers/config_info.cgi
@@ -5,8 +5,11 @@ require 'whimsy/asf'
 
 print "Content-type: text/plain; charset=UTF-8\r\n\r\n"
 
+puts "root: #{ASF::Config.root}"
+
 cfg = ASF::Config.instance_variable_get(:@config)
 
+
 cfg.each do |k,v|
        puts "%s: %s" % [k,v]
 end
\ No newline at end of file

Reply via email to