Modify

Opened 4 years ago

Last modified 4 years ago

#1680 confirmed defect

GetComponents does not prompt for a password for a private SVN repository

Reported by: bmundim Owned by: Eric Seidel
Priority: minor Milestone:
Component: GetComponents Version: development version
Keywords: GetComponents non interactive Cc:

Description

While testing the ET new trunk on my laptop running Kubuntu,
I noticed that GetComponents fails to download thorns from
private svn repositories:
svn: E170001: Unable to connect to a repository at URL 'https://svn.blabla/trunk'
svn: E170001: OPTIONS of 'https://svn.blabla/trunk': authorization failed: Could not authenticate to server: rejected Basic challenge (https://svn.aei.mpg.de)

The solution for this was to strip out the svn option --non-interactive
hardcoded in GetComponents. kwallet would then ask for my password (only once)
in order to unlock my svn passwords and the checkout would proceed normally.
Note that I have configured ~/.subversion/config to store my passwords on
kwallet:

password-stores = kwallet

other users could have used gnome-keyring, keychain, etc.

It would be nice then to allow the user to use --non-interactive option or not
instead of keeping it hardcoded. Any thoughts against it? or better suggestions
on handling private svn repos?

Attachments (0)

Change History (3)

comment:1 Changed 4 years ago by Frank Löffler

Could you provide a patch that we could test?

comment:2 Changed 4 years ago by Ian Hinder

Status: newconfirmed

The non-interactive flag was added in #68 to deal with certificate prompts. We need a solution which covers both cases.

comment:3 Changed 4 years ago by Ian Hinder

Summary: GetComponents: do not hardcode svn --non-interactiveGetComponents does not prompt for a password for a private SVN repository

Modify Ticket

Change Properties
Set your email in Preferences
Action
as confirmed The owner will remain Eric Seidel.
Next status will be 'review'.
as The resolution will be set.
to The owner will be changed from Eric Seidel to the specified user.
The owner will be changed from Eric Seidel to anonymous.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.