SVN in shell scripts - automating passwords
I'm relatively new to Linux and networking but I'd really like to do this:
I want to commit the changes in a text file ("my.file") to a googlecode repository every time I run the script. In the command line, I type:
svn commit /path/to/my.file --message ['my update message']
Then, I enter my GNOME keyring password, my googlecode username, and my googlecode password. This works just fine, and I only have to enter my GNOME keyring password the first time I use svn commit after I've turned on the computer, then I am not prompted to enter that password anymore.
The question I need answered is then: How do I write an svn command in a script such that it enters my gnome keyring password when required? I can and have tried:
svn commit /path/to/my/file --message ['my update message'] --username ['myGoogleCodeUsername'] --password['myGoogleCodePassword']
which, if my keyring password had previously been entered, works just fine from the command line. It just doesn't work in the script that I wrote.
Any suggestions? If I should explain more or more clearly, please let me know.
I have come across the following two links for you:
Let me know if one of these helps with your issue.
Thanks again, Josh. These are helpful!
Not a problem. Let me know if you have solved your issue or not.
|All times are GMT -5. The time now is 11:26 AM.|