The svnmucc command acts directly on the repo, so credentials are
always required.
The only exception is if the repo doesn't require auth (e.g. a local test repo).
One other exception: the 'help' command.

For svn commands, credentials are generally needed for changes to the repo.
For private repos, they are also needed for read-only access to the repo.

On Tue, 30 Jun 2020 at 14:24, Craig Russell <apache....@gmail.com> wrote:
>
> Maybe a simpler question: In the cgi environment, where are credentials to be 
> found? And when are credentials required to be presented? In the roster 
> environment, where are credentials found? And when are they needed to be 
> presented?
>
> Thanks,
> Craig
>
> > On Jun 30, 2020, at 6:16 AM, Craig Russell <apache....@gmail.com> wrote:
> >
> > Anything more to add here? Please?
> >
> > Craig
> >
> >> On Jun 29, 2020, at 4:29 PM, Craig Russell <apache....@gmail.com> wrote:
> >>
> >> I'm just confused why the password is needed, since the "_" contains user 
> >> and password.
> >>
> >> Where does the password go when using multiUpdate? It's in the "_" that's 
> >> passed in. Where is the password missing?
> >>
> >> Thanks,
> >> Craig
> >>
> >>> On Jun 29, 2020, at 3:56 PM, sebb <seb...@gmail.com> wrote:
> >>>
> >>> On Mon, 29 Jun 2020 at 23:31, Craig Russell <apache....@gmail.com> wrote:
> >>>>
> >>>> I'm testing the "move to emeritus" function with the changes that will 
> >>>> move emeritus-requests-received/member.txt to emeritus.
> >>>>
> >>>> All the code is in branch roster-emeritus. I'm getting this error from 
> >>>> memstat.json.rb when processing the move to  emeritus. I don't know if 
> >>>> it's really a credentials issue or not. The transcript messages are not 
> >>>> very helpful...
> >>>>
> >>>> Any help?
> >>>
> >>> Try putting some debug into the code, e.g. at memstat.json.rb:21 add:
> >>>
> >>> raise RuntimeError.new("No password") unless env.password
> >>>
> >>> You should also be able to add items to the transcript using
> >>>
> >>> Wunderbar.warn
> >>> or perhaps
> >>> _.system('echo',...)
> >>>
> >>>> Thanks,
> >>>> Craig
> >>>>
> >>>> {
> >>>> "transcript": [
> >>>>  "$ svn checkout --non-interactive --depth empty -- 
> >>>> https://svn.apache.org/repos/private/foundation 
> >>>> /var/folders/mx/t44d3_bs437dpnywzk_mwl_0002msd/T/d20200629-3669-14icn6l",
> >>>>  " U   
> >>>> /var/folders/mx/t44d3_bs437dpnywzk_mwl_0002msd/T/d20200629-3669-14icn6l",
> >>>>  "Checked out revision 97873.",
> >>>>  "",
> >>>>  "$ svn update --non-interactive -- 
> >>>> /var/folders/mx/t44d3_bs437dpnywzk_mwl_0002msd/T/d20200629-3669-14icn6l/members.txt",
> >>>>  "Updating 
> >>>> '/var/folders/mx/t44d3_bs437dpnywzk_mwl_0002msd/T/d20200629-3669-14icn6l/members.txt':",
> >>>>  "A    
> >>>> /var/folders/mx/t44d3_bs437dpnywzk_mwl_0002msd/T/d20200629-3669-14icn6l/members.txt",
> >>>>  "Updated to revision 97873.",
> >>>>  "",
> >>>>  "$ svnmucc --non-interactive --extra-args 
> >>>> /var/folders/mx/t44d3_bs437dpnywzk_mwl_0002msd/T/d20200629-3669-14icn6l/svnmucc_input20200629-3669-1pq2n8h
> >>>>  --message Action\\ emeritus\\ for\\ sanjiva --no-auth-cache --revision 
> >>>> 97873",
> >>>>  "svnmucc: missing argument: --password",
> >>>>  "Type 'svnmucc --help' for usage."
> >>>> ],
> >>>> "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'"
> >>>> ]
> >>>> }
> >>>> Craig L Russell
> >>>> c...@apache.org
> >>>>
> >>
> >> Craig L Russell
> >> c...@apache.org
> >>
> >
> > Craig L Russell
> > c...@apache.org
> >
>
> Craig L Russell
> c...@apache.org
>

Reply via email to