Bosse_B
Posts: 1063
Joined: Thu Jan 30, 2014 9:53 am

Why is svn not saving my password in Pi-OS?

Sat Aug 15, 2020 5:41 am

I posted the question below in the Subversion mail list since I thought it to be a svn issue, but the reply was:
TLDR: Saving passwords in plaintext is (from some version) a non-default compile time option.
You may try to convince the Pi-OS maintainers to enable this option again.
So here I am asking the same in the RPi forum:

I have svn installed on a newly set up RPi3 running Pi-OS (previously
named Raspbian) Linux.
I installed svn via apt.

The RPi3 has a GUI, which I can access via VNC through a VPN tunnel (I
am working remotely from home).

If I start a terminal in the GUI and navigate to the project wc dir
and then issue an svn up command a GUI dialog pops up on the side
asking me for a password. This happens every time so it seems not to
remember what I have entered.

Contrast this to when I access another non-GUI RPi running Raspbian using PuTTY.
When I use the svn up command there everything just executes as
expected and no password is requested because I entered it way back
when I checked out the wc.

Back to the new RPi3, if I access it through PuTTY instead then the
svn up command just does exactly nothing, it just sits there!
Probably it pushes a GUI login box onto the invisible GUI...

How can I configure svn such that it caches the password in the
same way as it has done on all of my other RPi units before?

I need to be able to work on this device BOTH via SSH login using
PuTTY and inside the GUI when connecting via VNC.

One difference of course is that the svn client on the RPi3 is a newer
version ( 1.10.4 r1850624) than what I have used before and what is
used on the svn server (1.9.7).

Any ideas?
Bo Berglund
Sweden

User avatar
DougieLawson
Posts: 39867
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: Why is svn not saving my password in Pi-OS?

Sat Aug 15, 2020 11:11 am

Build your own version from source code. You should be able to get an svn repo with the svn code in it.

https://subversion.apache.org/source-code.html
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All fake doctors are on my foes list.

Bosse_B
Posts: 1063
Joined: Thu Jan 30, 2014 9:53 am

Re: Why is svn not saving my password in Pi-OS?

Sun Aug 16, 2020 7:25 am

DougieLawson wrote:
Sat Aug 15, 2020 11:11 am
Build your own version from source code. You should be able to get an svn repo with the svn code in it.

https://subversion.apache.org/source-code.html
I had a look at it...
I checked out the svn 1.10.6 tag to get the sources, turned out to be 123 Mb worth of files...
It turns out that you need a lot of dependencies in order to build svn yourself and I got lost in the maze.
I do not want to install stuff that will make my RPi3 or RPi4 compromized regarding the development I am doing myself...
And the INSTALL file is too general in its speak to help me.

Googling "build subversion binary from sources on Raspberry Pi" just returns pages describing how to set up a subversion server or client by retrieving svn via apt...

So this is probably not the way I can go. I need clearer instructions.

But it is a pity I cannot use svn from an SSH terminal session!
Bo Berglund
Sweden

Return to “General discussion”