Re: A lil help with file handling coi.cgi

2020-06-19 Thread sebb
On Sat, 20 Jun 2020 at 01:39, Craig Russell wrote: > > > > > On Jun 19, 2020, at 5:10 PM, sebb wrote: > > > > On Sat, 20 Jun 2020 at 01:02, Craig Russell > > wrote: > >> > >> > >>> On Jun 19, 2020, at 4:50 PM, sebb wrote: > >>> > >>> On Sat, 20 Jun 2020 at 00:44, Cr

Re: A lil help with file handling coi.cgi

2020-06-19 Thread Craig Russell
> On Jun 19, 2020, at 5:10 PM, sebb wrote: > > On Sat, 20 Jun 2020 at 01:02, Craig Russell > wrote: >> >> >>> On Jun 19, 2020, at 4:50 PM, sebb wrote: >>> >>> On Sat, 20 Jun 2020 at 00:44, Craig Russell wrote: I'm getting an undefined local variable

Re: A lil help with file handling coi.cgi

2020-06-19 Thread sebb
On Sat, 20 Jun 2020 at 01:11, Craig Russell wrote: > > Ok, so when I use the _ it emits data to the html form. Fair enough, for > recording the transcript (which I will want to to later in the process). > > But in this case (reading the template.txt file), I don't want to see the > commands and

Re: A lil help with file handling coi.cgi

2020-06-19 Thread Craig Russell
Ok, so when I use the _ it emits data to the html form. Fair enough, for recording the transcript (which I will want to to later in the process). But in this case (reading the template.txt file), I don't want to see the commands and the responses. Is there a similar _svn command that does not ne

Re: A lil help with file handling coi.cgi

2020-06-19 Thread sebb
On Sat, 20 Jun 2020 at 01:02, Craig Russell wrote: > > > > On Jun 19, 2020, at 4:50 PM, sebb wrote: > > > > On Sat, 20 Jun 2020 at 00:44, Craig Russell wrote: > >> > >> I'm getting an undefined local variable error [1] in this function at the > >> ASF::SVN.svn_ line > >> > >> def get_template(u

Re: A lil help with file handling coi.cgi

2020-06-19 Thread Craig Russell
> On Jun 19, 2020, at 4:50 PM, sebb wrote: > > On Sat, 20 Jun 2020 at 00:44, Craig Russell wrote: >> >> I'm getting an undefined local variable error [1] in this function at the >> ASF::SVN.svn_ line >> >> def get_template(url) >> Dir.mktmpdir do |tmpdir| >>tmpdir.untaint >> >>ASF

Re: A lil help with file handling coi.cgi

2020-06-19 Thread sebb
On Sat, 20 Jun 2020 at 00:44, Craig Russell wrote: > > I'm getting an undefined local variable error [1] in this function at the > ASF::SVN.svn_ line > > def get_template(url) > Dir.mktmpdir do |tmpdir| > tmpdir.untaint > > ASF::SVN.svn_('checkout', [url, tmpdir], _, > {depth: '

Re: A lil help with file handling coi.cgi

2020-06-19 Thread Craig Russell
I'm getting an undefined local variable error [1] in this function at the ASF::SVN.svn_ line def get_template(url) Dir.mktmpdir do |tmpdir| tmpdir.untaint ASF::SVN.svn_('checkout', [url, tmpdir], _, {depth: 'empty', user: $USER, password: $PASSWORD}) #Dir.chdir tmpdir do #

Re: A lil help with file handling coi.cgi

2020-06-19 Thread sebb
On Fri, 19 Jun 2020 at 19:50, Sam Ruby wrote: > > On Fri, Jun 19, 2020 at 2:40 PM Craig Russell wrote: > > > > Big picture: I will read current-year/template.txt, substitute the name and > > date from the $USER information, and present that to the user in a scroll > > window with a button (Sign

Re: A lil help with file handling coi.cgi

2020-06-19 Thread Sam Ruby
On Fri, Jun 19, 2020 at 2:40 PM Craig Russell wrote: > > Big picture: I will read current-year/template.txt, substitute the name and > date from the $USER information, and present that to the user in a scroll > window with a button (Sign) at the bottom. > > The server will then write that data t