So IIUC: svnmucc always needs an explicit password local testing does not use a password svnmucc cannot be tested locally
Craig > On Jun 30, 2020, at 3:19 PM, sebb <seb...@gmail.com> wrote: > > On Tue, 30 Jun 2020 at 22:58, Craig Russell <apache....@gmail.com> wrote: >> >> I updated /private/etc/apache2/other/whimsy.conf by prepending PATH with the >> location in my file system to svnmucc: /usr/local/opt/subversion/bin. Both >> svn and svnmucc are the 2020 versions. >> svn, version 1.14.0 (r1876290) >> compiled Jun 22 2020, 22:13:07 on x86_64-apple-darwin18.7.0 >> svnmucc, version 1.14.0 (r1876290) >> compiled Jun 22 2020, 22:13:07 on x86_64-apple-darwin18.7.0 >> >> Then, svnmucc told me that "move" is not an action. [1] > > Try 'svnmucc --help' > >> So I changed the memstat.json.rb to use "mv" instead of "move". >> >> Now, [2] svnmucc is unable to understand that I want to move a file to a >> different directory. I have used this with svn via the system command and it >> works fine. >> >> 1. Is svnmucc really at a back level compared to svn? It doesn't know what >> "move" is? > > It is much simpler than SVN; it is not a full CLI client. > It is intended for scripted/batch usage. > > It requires full path names. > > As the help says, svnmucc is used to: > > Perform one or more Subversion repository URL-based ACTIONs, committing > the result as a (single) new revision. > >> 2. So do I have to go back and send both the file name clr.txt as well as >> the url >> https://svn.apache.org/repos/private/documents/emeritus-requests-rescinded/clr.txt >> ? > > Yes. > > Almost all svnmucc operations take place directly in the repository, > and need full path names. > The only exception is for a 'put' which copies a local file to the repo. > >> Call me confused. Again. >> >> Craig >> >> [1] { >> "transcript": [ >> "$ svn checkout --non-interactive --depth empty -- >> https://svn.apache.org/repos/private/foundation >> /var/folders/zz/zyxvpxvq6csfxvn_n000008r000026/T/d20200630-49756-3i8lef", >> " U >> /var/folders/zz/zyxvpxvq6csfxvn_n000008r000026/T/d20200630-49756-3i8lef", >> "Checked out revision 97889.", >> "", >> "$ svn update --non-interactive -- >> /var/folders/zz/zyxvpxvq6csfxvn_n000008r000026/T/d20200630-49756-3i8lef/members.txt", >> "Updating >> '/var/folders/zz/zyxvpxvq6csfxvn_n000008r000026/T/d20200630-49756-3i8lef/members.txt':", >> "A >> /var/folders/zz/zyxvpxvq6csfxvn_n000008r000026/T/d20200630-49756-3i8lef/members.txt", >> "Updated to revision 97889.", >> "", >> "$ svnmucc --non-interactive --extra-args >> /var/folders/zz/zyxvpxvq6csfxvn_n000008r000026/T/d20200630-49756-3i8lef/svnmucc_input20200630-49756-s5rv19 >> --message Action\\ emeritus\\ for\\ sanjiva --no-auth-cache --revision >> 97889", >> "svnmucc: E200004: 'move' is not an action", >> "" >> ], >> "exception": "#<RuntimeError: svnmucc failure 1 committing>", >> "backtrace": [ >> "/Users/clr/apache/git/whimsy/lib/whimsy/asf/svn.rb:768:in >> `multiUpdate_'", >> >> "/Users/clr/apache/git/whimsy/www/roster/views/actions/memstat.json.rb:22:in >> `_evaluate'", >> "/Users/clr/apache/git/whimsy/www/roster/main.rb:204:in `block in <top >> (required)>'", >> "/Users/clr/apache/git/whimsy/lib/whimsy/asf/rack.rb:223:in `call'", >> "/Users/clr/apache/git/whimsy/lib/whimsy/asf/rack.rb:48:in `call'", >> "/Users/clr/apache/git/whimsy/lib/whimsy/asf/rack.rb:200:in `call'", >> "/Users/clr/apache/git/whimsy/lib/whimsy/asf/rack.rb:254:in `call'", >> >> "/usr/local/Cellar/passenger/6.0.5/libexec/src/ruby_supportlib/phusion_passenger/rack/thread_handler_extension.rb:107:in >> `process_request'", >> >> "/usr/local/Cellar/passenger/6.0.5/libexec/src/ruby_supportlib/phusion_passenger/request_handler/thread_handler.rb:157:in >> `accept_and_process_next_request'", >> >> "/usr/local/Cellar/passenger/6.0.5/libexec/src/ruby_supportlib/phusion_passenger/request_handler/thread_handler.rb:110:in >> `main_loop'", >> >> "/usr/local/Cellar/passenger/6.0.5/libexec/src/ruby_supportlib/phusion_passenger/request_handler.rb:415:in >> `block (3 levels) in start_threads'", >> >> "/usr/local/Cellar/passenger/6.0.5/libexec/src/ruby_supportlib/phusion_passenger/utils.rb:113:in >> `block in create_thread_and_abort_on_exception'" >> ] >> } >> [2] { >> "transcript": [ >> "$ svn checkout --non-interactive --depth empty -- >> https://svn.apache.org/repos/private/foundation >> /var/folders/zz/zyxvpxvq6csfxvn_n000008r000026/T/d20200630-29367-10t68d3", >> " U >> /var/folders/zz/zyxvpxvq6csfxvn_n000008r000026/T/d20200630-29367-10t68d3", >> "Checked out revision 97889.", >> "", >> "$ svn update --non-interactive -- >> /var/folders/zz/zyxvpxvq6csfxvn_n000008r000026/T/d20200630-29367-10t68d3/members.txt", >> "Updating >> '/var/folders/zz/zyxvpxvq6csfxvn_n000008r000026/T/d20200630-29367-10t68d3/members.txt':", >> "A >> /var/folders/zz/zyxvpxvq6csfxvn_n000008r000026/T/d20200630-29367-10t68d3/members.txt", >> "Updated to revision 97889.", >> "", >> "$ svnmucc --non-interactive --extra-args >> /var/folders/zz/zyxvpxvq6csfxvn_n000008r000026/T/d20200630-29367-10t68d3/svnmucc_input20200630-29367-1l9t19h >> --message Action\\ emeritus\\ for\\ sanjiva --no-auth-cache --revision >> 97889", >> "svnmucc: E160020: Path 'documents/emeritus' already exists" >> ], >> "exception": "#<RuntimeError: svnmucc failure 1 committing>", >> "backtrace": [ >> "/Users/clr/apache/git/whimsy/lib/whimsy/asf/svn.rb:768:in >> `multiUpdate_'", >> >> "/Users/clr/apache/git/whimsy/www/roster/views/actions/memstat.json.rb:22:in >> `_evaluate'", >> "/Users/clr/apache/git/whimsy/www/roster/main.rb:204:in `block in <top >> (required)>'", >> "/Users/clr/apache/git/whimsy/lib/whimsy/asf/rack.rb:223:in `call'", >> "/Users/clr/apache/git/whimsy/lib/whimsy/asf/rack.rb:48:in `call'", >> "/Users/clr/apache/git/whimsy/lib/whimsy/asf/rack.rb:200:in `call'", >> "/Users/clr/apache/git/whimsy/lib/whimsy/asf/rack.rb:254:in `call'", >> >> "/usr/local/Cellar/passenger/6.0.5/libexec/src/ruby_supportlib/phusion_passenger/rack/thread_handler_extension.rb:107:in >> `process_request'", >> >> "/usr/local/Cellar/passenger/6.0.5/libexec/src/ruby_supportlib/phusion_passenger/request_handler/thread_handler.rb:157:in >> `accept_and_process_next_request'", >> >> "/usr/local/Cellar/passenger/6.0.5/libexec/src/ruby_supportlib/phusion_passenger/request_handler/thread_handler.rb:110:in >> `main_loop'", >> >> "/usr/local/Cellar/passenger/6.0.5/libexec/src/ruby_supportlib/phusion_passenger/request_handler.rb:415:in >> `block (3 levels) in start_threads'", >> >> "/usr/local/Cellar/passenger/6.0.5/libexec/src/ruby_supportlib/phusion_passenger/utils.rb:113:in >> `block in create_thread_and_abort_on_exception'" >> ] >> } >> >>> On Jun 30, 2020, at 12:41 PM, Sam Ruby <ru...@intertwingly.net> wrote: >>> >>> On Tue, Jun 30, 2020 at 2:33 PM Craig Russell <apache....@gmail.com> wrote: >>>> >>>>> On Jun 30, 2020, at 11:06 AM, Sam Ruby <ru...@intertwingly.net> wrote: >>>>> >>>>> What does `which svnmucc` return? If it is not present, install it >>>>> via `brew install subversion`. If it is present, make sure that its >>>>> path is included by the web server. >>>> >>>> [MacBook-Pro-10:~/apache/git/whimsy] clr% which svnmucc >>>> /opt/local/bin/svnmucc >>>> >>>> Where do I look for the path used by the web server? >>> >>> /private/etc/apache2/other/whimsy.conf >>> >>> Meanwhile, I've pushed a fix to setupmymac to automatically insert this for >>> you. >>> >>>> I'm connected and can access the whimsy pages via Safari, but cannot >>>> connect to https://whimsy.local from either Firefox or Chrome. >>> >>> Try http (instead of https). >>> >>>> Craig >>> >>> - Sam Ruby >> >> Craig L Russell >> c...@apache.org >> Craig L Russell c...@apache.org