Re: [fossil-users] Automating a clone - any other way than the URL to pass in password?

2014-07-06 Thread Matt Welland
Thanks for the replies. On Linux I'll just use the url password and do: echo y|fossil clone I'm sure Google knows the equivalent magic invocation for windows. On Jul 5, 2014 10:19 AM, "Matt Welland" wrote: > I'd like to automate a clone but I think I'd prefer the password not be in > the

Re: [fossil-users] Automating a clone - any other way than the URL to pass in password?

2014-07-06 Thread Ron Wilson
On Sun, Jul 6, 2014 at 6:12 AM, Stephan Beal wrote: > Looking at the code (getpass() in user.c)... i'm not sure. It uses > getc(stdin) to reach char by char, but doesn't seem to do anything unusual > with the stream. Ah... that's the Windows/Android impl. On unix it uses > getpass(3) (unistd.h),

Re: [fossil-users] Automating a clone - any other way than the URL to pass in password?

2014-07-06 Thread Stephan Beal
On Sun, Jul 6, 2014 at 12:05 PM, j. van den hoff wrote: > ps: question to ML: it seems that doing the above via a shell "here > document" (just redirecting user input to the `fossil clone' queries > to the script via `< is not recognized by fossil. why not? > Looking at the code (getpass() in us

Re: [fossil-users] Automating a clone - any other way than the URL to pass in password?

2014-07-06 Thread j. van den hoff
On Sat, 05 Jul 2014 19:19:54 +0200, Matt Welland wrote: I'd like to automate a clone but I think I'd prefer the password not be in the URL. The concern is that the password in the URL might be visible in the webserver logs. First, is this a legit concern? Second, how best to do this? AFAIC

Re: [fossil-users] Automating a clone - any other way than the URL to pass in password?

2014-07-06 Thread Stephan Beal
On Sat, Jul 5, 2014 at 7:19 PM, Matt Welland wrote: > I'd also like to automatically say "Y" to the question of storing the > password and I don't see any way to do that either. > For apps which take their input from stdin (like fossil) it's normally possibly to do that like: echo "Y" | ... the

Re: [fossil-users] Automating a clone - any other way than the URL to pass in password?

2014-07-05 Thread Joerg Sonnenberger
On Sat, Jul 05, 2014 at 10:19:54AM -0700, Matt Welland wrote: > I'd like to automate a clone but I think I'd prefer the password not be in > the URL. The concern is that the password in the URL might be visible in > the webserver logs. Passwords are not passed in the request via URL, but as part o