Re: Ruby newbie

2020-05-18 Thread Sam Ruby
On Mon, May 18, 2020 at 4:16 PM Craig Russell wrote: > > Here's the code I'm debugging: > > def self.find(name) > files = self.listnames > if files > stem = Regexp.new Regexp.quote name.downcase.gsub(' ','-') > Wunderbar.warn "EmeritusFiles.find #{files}" >

Ruby newbie

2020-05-18 Thread Craig Russell
Here's the code I'm debugging: def self.find(name) files = self.listnames if files stem = Regexp.new Regexp.quote name.downcase.gsub(' ','-') Wunderbar.warn "EmeritusFiles.find #{files}" Wunderbar.warn "EmeritusFiles.find stem: #{stem}" files.each do

Re: Leaking sensitive info? (Was: Re: Roster emeritus function now with code to review and a local failure)

2020-05-18 Thread Matt Sicker
That's a good question. I know some potentially sensitive data was migrated out of Whimsy into svn, and all of that is ACL-controlled. On Mon, 18 May 2020 at 08:33, Jim Jagielski wrote: > > I am curious... in this discussion, and maybe even in the Whimsy code, both > of which are public, are we

Re: Roster emeritus function now with code to review and a local failure

2020-05-18 Thread Craig Russell
If someone could take a look at the roster-emeritus branch it will help. Thanks, Craig > On May 17, 2020, at 7:41 PM, Craig Russell wrote: > > I removed the svn entries in .whimsy and checked out 609 MB of files that > were already in my local repo. > > So now I'm able to test my changes. Co

Leaking sensitive info? (Was: Re: Roster emeritus function now with code to review and a local failure)

2020-05-18 Thread Jim Jagielski
I am curious... in this discussion, and maybe even in the Whimsy code, both of which are public, are we "leaking" information about how the ASF data is stored, locations, environment, etc in a way that potentially compromises our security? > On May 18, 2020, at 6:54 AM, Sam Ruby wrote: > > On

Re: Roster emeritus function now with code to review and a local failure

2020-05-18 Thread Sam Ruby
On Sun, May 17, 2020 at 11:09 PM Craig Russell wrote: > > I'm used to debugging using e.g. console.log("Here is some data:" + data) > > What is the way to emit some debug messages on the console in the whimsy test > server environments? Some reading materials: https://ruby-doc.org/stdlib-2.4.0/