mr.developer icon indicating copy to clipboard operation
mr.developer copied to clipboard

mr.developer fail to checkout from SVN when client is 1.8 or above (--non-interactive)

Open keul opened this issue 10 years ago • 4 comments

From SVN 1.8 the default for the interactive behavior has been changed:

  --non-interactive        : do no interactive prompting (default is to prompt
                             only if standard input is a terminal device)
  --force-interactive      : do interactive prompting even if standard input
                             is not a terminal device

So when you don't have a stored auth+password locally, mr.developer is not asking for username+password anymore. If should add the --force-interactive someway.

keul avatar Nov 05 '15 15:11 keul

Is --force-interactive available in older svn versions? If so, since when (version and release date if possible).

fschulze avatar Nov 05 '15 15:11 fschulze

Not simple to find that answer.


I manually added --force-interactive in my environment and I found some additional issues:

  • you can't have both --non-interactive and --force-interactive (obviously) but mr.developer is always adding --non-interactive
  • If you use the --trust-server-cert you must use --non-interactive(the --non-interactiveseems also used when the SVN is in plain http)

keul avatar Nov 05 '15 15:11 keul

checkoutmanager has an info command which is only meant for svn: when you have installed a new svn version, the svn command has to ask for authentication again each repo. You do checkoutmanager info --single and it prompts you interactively for each repo as needed. This also needs to deal with various svn versions. See here: https://github.com/reinout/checkoutmanager/blob/2.4.1/checkoutmanager/dirinfo.py#L191

mauritsvanrees avatar Nov 06 '15 14:11 mauritsvanrees

DId anyone make any progress on this issue? I got mr.developer to work locally by storing my credentials in cache. However when I attempt to run buildout via SSH (read: from a Jenkins job on a slave node), the same issue occurs where mr.developer has no clue where the SVN credentials are

MeirArani avatar Apr 12 '18 21:04 MeirArani