It is possible to run the module by passing in a user name and password, for example:
svn_report = svn.remote.RemoteClient(svn_item, username=user_name, password=mypassword_as_a_string )
svn_report.export(target_dir)
Even if you have followed all the good practices for handling passwords within your code, the svn package has two issues:
- in the
CommonBase the full svn command is sent to the debug log
- In the event of failure full command is sent to the exception, which then shows in many places
The password should be obscured before the errors or logs are made
It is possible to run the module by passing in a user name and password, for example:
Even if you have followed all the good practices for handling passwords within your code, the svn package has two issues:
CommonBasethe full svn command is sent to the debug logThe password should be obscured before the errors or logs are made