All fixed now.
svn checkout --depth empty
https://svn.apache.org/repos/private/foundation/officers
/tmp/d20170706-21618-1gpkct0
U /tmp/d20170706-21618-1gpkct0
Checked out revision 77540.
svn update /tmp/d20170706-21618-1gpkct0/iclas.txt
Updating '/tmp/d20170706-21618-1gpkct0/iclas.txt':
A /tmp/d20170706-21618-1gpkct0/iclas.txt
Updated to revision 77540.
svn diff /tmp/d20170706-21618-1gpkct0/iclas.txt
Index: /tmp/d20170706-21618-1gpkct0/iclas.txt
===================================================================
--- /tmp/d20170706-21618-1gpkct0/iclas.txt (revision 77540)
+++ /tmp/d20170706-21618-1gpkct0/iclas.txt (working copy)
@@ -6819,7 +6819,7 @@
notinavail:Aaron Ruß:Aaron Ruß:[email protected]:Signed CLA;aaron-russ
druss:Daniel Russ:Daniel Russ:[email protected]:Signed CLA;daniel-russ
notinavail:Charles Russell:Charles Russell:[email protected]:Signed
CLA;charles-russell
-clr:Craig Russell:Craig Russell:[email protected]:Signed
CLA;craig-russell
+clr:Craig Russell:Craig L Russell:[email protected]:Signed
CLA;craig-russell
jrussell:John Russell:John Russell:[email protected]:Signed
CLA;john-russell
prussell:Paul Russell:Paul Russell:[email protected]:Signed CLA;paul-russell
mrusso:Michael Anthony Russo:Michael Russo:[email protected]:Signed
CLA;michael-anthony-russo
svn commit -m Update\ public\ name\ for\ clr
/tmp/d20170706-21618-1gpkct0/iclas.txt
Sending tmp/d20170706-21618-1gpkct0/iclas.txt
Transmitting file data .done
Committing transaction...
Committed revision 77541.
The error below was fixed with
diff --git a/www/secretary/public-names.cgi b/www/secretary/public-names.cgi
index 4662158..39e5e8f 100755
--- a/www/secretary/public-names.cgi
+++ b/www/secretary/public-names.cgi
@@ -65,7 +65,7 @@ _html do
officers]
_.system ['svn', 'update',
- ['--username', $USER, '--password', $PASSWORD] if $PASSWORD)
+ (['--username', $USER, '--password', $PASSWORD] if $PASSWORD)
officers + '/iclas.txt']
next unless File.exist? officers + '/iclas.txt'
iclas = File.read(officers + '/iclas.txt')
> On Jul 5, 2017, at 3:20 PM, Craig Russell <[email protected]> wrote:
>
> This looks like the error log:
>
> [Wed Jul 05 22:18:57.846481 2017] [cgi:error] [pid 20910:tid 140266216240896]
> [client 73.15.26.163:65324] AH01215:
> /x1/srv/whimsy/www/secretary/public-names.cgi:68: syntax error, unexpected
> modifier_if, expecting ']': /x1/srv/whimsy/www/secretary/public-names.cgi
> [Wed Jul 05 22:18:57.846600 2017] [cgi:error] [pid 20910:tid 140266216240896]
> [client 73.15.26.163:65324] AH01215: R, '--password', $PASSWORD] if
> $PASSWORD): /x1/srv/whimsy/www/secretary/public-names.cgi
> [Wed Jul 05 22:18:57.846613 2017] [cgi:error] [pid 20910:tid 140266216240896]
> [client 73.15.26.163:65324] AH01215: ^:
> /x1/srv/whimsy/www/secretary/public-names.cgi
> [Wed Jul 05 22:18:57.846638 2017] [cgi:error] [pid 20910:tid 140266216240896]
> [client 73.15.26.163:65324] AH01215:
> /x1/srv/whimsy/www/secretary/public-names.cgi:69: syntax error, unexpected
> ']', expecting keyword_end: /x1/srv/whimsy/www/secretary/public-names.cgi
> [Wed Jul 05 22:18:57.846651 2017] [cgi:error] [pid 20910:tid 140266216240896]
> [client 73.15.26.163:65324] AH01215: officers + '/iclas.txt']:
> /x1/srv/whimsy/www/secretary/public-names.cgi
> [Wed Jul 05 22:18:57.846660 2017] [cgi:error] [pid 20910:tid 140266216240896]
> [client 73.15.26.163:65324] AH01215: ^:
> /x1/srv/whimsy/www/secretary/public-names.cgi
> [Wed Jul 05 22:18:57.846686 2017] [cgi:error] [pid 20910:tid 140266216240896]
> [client 73.15.26.163:65324] AH01215:
> /x1/srv/whimsy/www/secretary/public-names.cgi:73: syntax error, unexpected
> keyword_do_block, expecting keyword_end:
> /x1/srv/whimsy/www/secretary/public-names.cgi
> [Wed Jul 05 22:18:57.846695 2017] [cgi:error] [pid 20910:tid 140266216240896]
> [client 73.15.26.163:65324] AH01215: updates.each do |id, names|:
> /x1/srv/whimsy/www/secretary/public-names.cgi
> [Wed Jul 05 22:18:57.846702 2017] [cgi:error] [pid 20910:tid 140266216240896]
> [client 73.15.26.163:65324] AH01215: ^:
> /x1/srv/whimsy/www/secretary/public-names.cgi
> [Wed Jul 05 22:18:57.846724 2017] [cgi:error] [pid 20910:tid 140266216240896]
> [client 73.15.26.163:65324] AH01215:
> /x1/srv/whimsy/www/secretary/public-names.cgi:73: syntax error, unexpected
> '|', expecting '=': /x1/srv/whimsy/www/secretary/public-names.cgi
> [Wed Jul 05 22:18:57.846733 2017] [cgi:error] [pid 20910:tid 140266216240896]
> [client 73.15.26.163:65324] AH01215: updates.each do |id, names|:
> /x1/srv/whimsy/www/secretary/public-names.cgi
> [Wed Jul 05 22:18:57.846741 2017] [cgi:error] [pid 20910:tid 140266216240896]
> [client 73.15.26.163:65324] AH01215: ^:
> /x1/srv/whimsy/www/secretary/public-names.cgi
> [Wed Jul 05 22:18:57.846767 2017] [cgi:error] [pid 20910:tid 140266216240896]
> [client 73.15.26.163:65324] AH01215:
> /x1/srv/whimsy/www/secretary/public-names.cgi:128: syntax error, unexpected
> keyword_else, expecting keyword_end:
> /x1/srv/whimsy/www/secretary/public-names.cgi
> [Wed Jul 05 22:18:57.846771 2017] [cgi:error] [pid 20910:tid 140266216240896]
> [client 73.15.26.163:65324] AH01215: else:
> /x1/srv/whimsy/www/secretary/public-names.cgi
> [Wed Jul 05 22:18:57.846774 2017] [cgi:error] [pid 20910:tid 140266216240896]
> [client 73.15.26.163:65324] AH01215: ^:
> /x1/srv/whimsy/www/secretary/public-names.cgi
> [Wed Jul 05 22:18:57.846814 2017] [cgi:error] [pid 20910:tid 140266216240896]
> [client 73.15.26.163:65324] AH01215:
> /x1/srv/whimsy/www/secretary/public-names.cgi:142: syntax error, unexpected
> keyword_end, expecting end-of-input:
> /x1/srv/whimsy/www/secretary/public-names.cgi
> [Wed Jul 05 22:18:57.846818 2017] [cgi:error] [pid 20910:tid 140266216240896]
> [client 73.15.26.163:65324] AH01215: end:
> /x1/srv/whimsy/www/secretary/public-names.cgi
> [Wed Jul 05 22:18:57.846822 2017] [cgi:error] [pid 20910:tid 140266216240896]
> [client 73.15.26.163:65324] AH01215: ^:
> /x1/srv/whimsy/www/secretary/public-names.cgi
> [Wed Jul 05 22:18:57.847311 2017] [cgi:error] [pid 20910:tid 140266216240896]
> [client 73.15.26.163:65324] End of script output before headers:
> public-names.cgi
>> On Jul 5, 2017, at 12:59 PM, Sam Ruby <[email protected]> wrote:
>>
>> OK, Craig, try again.
>>
>> It should work: I fixed it two different ways. First, it was
>> inadvertently not using your credentials consistently, so the svn
>> update which fetched iclas.txt was done using the whimsysvn id.
>> Second, using the whimsysvn id wasn't working as the HOME environment
>> variable wasn't set correctly. I fixed the HOME environment variable
>> (in wunderbar, so the next time he does a bundle update he shouldn't
>> need to have to set the HOME environment variable either in his apache
>> configuration). And then I changed the script to consistently use the
>> caller's credentials.
>>
>> - Sam Ruby
>>
>> On Wed, Jul 5, 2017 at 11:50 AM, Sam Ruby <[email protected]> wrote:
>>> Current status: works on whimsy-vm3, fails on whimsy-vm4.
>>>
>>> Or rather: the commands as issued fail on whimsy-vm4 when run under
>>> Apache/CGI, but work when running on the command line (su - www-data
>>> -s /bin/bash). Still investigating...
>>>
>>> - Sam Ruby
>>>
>>> On Wed, Jul 5, 2017 at 12:03 AM, Sam Ruby <[email protected]> wrote:
>>>> On Tue, Jul 4, 2017 at 11:53 PM, Craig Russell <[email protected]>
>>>> wrote:
>>>>> Hi Sam,
>>>>>
>>>>> It failed very consistently for days. I'm afraid that I still can't
>>>>> change things and you can.
>>>>>
>>>>> I'm trying an experiment now.
>>>>>
>>>>> The experiment shows that I cannot drag/drop LDAP cn to icla.txt public
>>>>> name and commit.
>>>>>
>>>>> Internal Server Error
>>>>>
>>>>> #<Errno::ENOENT: No such file or directory @ rb_sysopen -
>>>>> /tmp/d20170705-2382-brpw3t/iclas.txt>
>>>>> /x1/srv/whimsy/www/secretary/public-names.cgi:63:in `read'
>>>>> /x1/srv/whimsy/www/secretary/public-names.cgi:63:in `block in <main>'
>>>>
>>>> I'm now seeing it too. Will investigate further in the morning. I
>>>> suggest leaving your entry as it is.
>>>>
>>>>> Craig
>>>>
>>>> - Sam Ruby
>>>>
>>>>>> On Jul 4, 2017, at 10:43 AM, Sam Ruby <[email protected]> wrote:
>>>>>>
>>>>>> On Mon, Jul 3, 2017 at 4:04 PM, Craig Russell <[email protected]>
>>>>>> wrote:
>>>>>>> Hi Sam,
>>>>>>>
>>>>>>> I know I can fix this myself by changing iclas.txt but this has worked
>>>>>>> before and should work now.
>>>>>>>
>>>>>>> more below...
>>>>>>>
>>>>>>>> On Jul 2, 2017, at 12:41 PM, Sam Ruby <[email protected]> wrote:
>>>>>>>>
>>>>>>>> On Sun, Jul 2, 2017 at 3:34 PM, Craig Russell <[email protected]>
>>>>>>>> wrote:
>>>>>>>>> It would be nice to see how the name arrived in LDAP.
>>>>>>>>
>>>>>>>> https://lists.apache.org/thread.html/fa1b624e3166c1366fa615e795289d078ee3dbd906a27504b663f485@%3Ccommits.infra.apache.org%3E
>>>>>>>>
>>>>>>>>> see below for bad news...
>>>>>>>>>
>>>>>>>>>> On Jul 2, 2017, at 12:27 PM, Sam Ruby <[email protected]> wrote:
>>>>>>>>>>
>>>>>>>>>> [dropping davor]
>>>>>>>>>>
>>>>>>>>>> On Sat, Jul 1, 2017 at 11:05 PM, Craig Russell
>>>>>>>>>> <[email protected]> wrote:
>>>>>>>>>>> Hi Sebb,
>>>>>>>>>>>
>>>>>>>>>>> The name on the ICLA is Jingsong Li. The "from" name on the email
>>>>>>>>>>> is JingsongLee. The JIRA account is Jingsong Lee.
>>>>>>>>>>>
>>>>>>>>>>> I filed the ICLA with the public name the same as the name on the
>>>>>>>>>>> email. This is my way of handling public names that differ from
>>>>>>>>>>> "official" names.
>>>>>>>>>>>
>>>>>>>>>>> The request looks fine. If need be we can later change the public
>>>>>>>>>>> name to suit the committer.
>>>>>>>>>>
>>>>>>>>>> I'lll note that the public name in iclas.txt is "JingsongLee" (no
>>>>>>>>>> space), and the public name in LDAP is "Jingsong Lee" (with a space).
>>>>>>>>>> Shouldn't these two match?
>>>>>>>>>>
>>>>>>>>>> https://whimsy.apache.org/secretary/public-names
>>>>>>>>>
>>>>>>>>> Internal Server Error
>>>>>>>>>
>>>>>>>>> #<Errno::ENOENT: No such file or directory @ rb_sysopen -
>>>>>>>>> /tmp/d20170702-32189-1wtyvgg/iclas.txt>
>>>>>>>>> /x1/srv/whimsy/www/secretary/public-names.cgi:63:in `read'
>>>>>>>>> /x1/srv/whimsy/www/secretary/public-names.cgi:63:in `block in <main>'
>>>>>>>>
>>>>>>>> Can you try again? It might be a temporary svn hiccup. If not, let
>>>>>>>> me know what steps I need to do to reproduce the problem.
>>>>>>>
>>>>>>> Go to public-names.
>>>>>>>
>>>>>>> drag/drop LDAP cn to icla.txt public name.
>>>>>>> Commit changes.
>>>>>>> boom
>>>>>>
>>>>>> I'm guessing it was a temporary SVN hickup as I just tried this and it
>>>>>> worked.
>>>>>>
>>>>>>> Craig
>>>>>>
>>>>>> - Sam Ruby
>>>>>>
>>>>>>>>>>> Craig
>>>>>>>>
>>>>>>>> - Sam Ruby
>>>>>>>>
>>>>>>>>>> - Sam Ruby
>>>>>>>>>>
>>>>>>>>>>>> On Jul 1, 2017, at 6:45 PM, sebb <[email protected]> wrote:
>>>>>>>>>>>>
>>>>>>>>>>>> ---------- Forwarded message ----------
>>>>>>>>>>>> From: <[email protected]>
>>>>>>>>>>>> Date: 22 June 2017 at 19:45
>>>>>>>>>>>> Subject: svn commit: r1014375 -
>>>>>>>>>>>> /infrastructure/trunk/acreq/new-account-reqs.txt
>>>>>>>>>>>> To: [email protected]
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> Author: acrequser
>>>>>>>>>>>> Date: Thu Jun 22 18:45:51 2017
>>>>>>>>>>>> New Revision: 1014375
>>>>>>>>>>>>
>>>>>>>>>>>> Log:
>>>>>>>>>>>> beam account request by davor
>>>>>>>>>>>>
>>>>>>>>>>>> Modified:
>>>>>>>>>>>> infrastructure/trunk/acreq/new-account-reqs.txt
>>>>>>>>>>>>
>>>>>>>>>>>> Modified: infrastructure/trunk/acreq/new-account-reqs.txt
>>>>>>>>>>>> ==============================================================================
>>>>>>>>>>>> --- infrastructure/trunk/acreq/new-account-reqs.txt [utf-8]
>>>>>>>>>>>> (original)
>>>>>>>>>>>> +++ infrastructure/trunk/acreq/new-account-reqs.txt [utf-8] Thu
>>>>>>>>>>>> Jun 22
>>>>>>>>>>>> 18:45:51 2017
>>>>>>>>>>>> @@ -24,3 +24,4 @@
>>>>>>>>>>>> jfeng;Jeff
>>>>>>>>>>>> Feng;[email protected];incubator;incubator;06-22-2017;yes;yes;no;
>>>>>>>>>>>> ptnapoleon;Philip
>>>>>>>>>>>> Thompson;[email protected];cassandra;cassandra;06-22-2017;yes;yes;no
>>>>>>>>>>>> fanningpj;PJ
>>>>>>>>>>>> Fanning;[email protected];poi;poi;06-22-2017;yes;yes;no
>>>>>>>>>>>> +lzljs3620320;JingsongLee;[email protected];beam;beam;06-22-2017;yes;yes;no;
>>>>>>>>>>>>
>>>>>>>>>>>> According to the ICLA that was sent in, his name is Jingsong Li
>>>>>>>>>>>> Also the private mailing list includes several mails that use Li
>>>>>>>>>>>> rather than Lee
>>>>>>>>>>>>
>>>>>>>>>>>> Did he ask to change name, or was the above account request a typo?
>>>>>>>>>>>
>>>>>>>>>>> Craig L Russell
>>>>>>>>>>> Secretary, Apache Software Foundation
>>>>>>>>>>> [email protected] http://db.apache.org/jdo
>>>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Craig L Russell
>>>>>>>>> Secretary, Apache Software Foundation
>>>>>>>>> [email protected] http://db.apache.org/jdo
>>>>>>>
>>>>>>> Craig L Russell
>>>>>>> Secretary, Apache Software Foundation
>>>>>>> [email protected] http://db.apache.org/jdo
>>>>>
>>>>> Craig L Russell
>>>>> Architect
>>>>> [email protected]
>>>>> P.S. A good JDO? O, Gasp!
>>>>>
>>>>>
>>>>>
>>>>>
>
> Craig L Russell
> Secretary, Apache Software Foundation
> [email protected] http://db.apache.org/jdo
>
Craig L Russell
Secretary, Apache Software Foundation
[email protected] http://db.apache.org/jdo