[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [RFC] [PATCH] Use console, not stdin/stderr, for prompting

From: Mark Phippard <markphip_at_gmail.com>
Date: Mon, 6 Jun 2011 15:06:09 -0700

On Sun, Jun 5, 2011 at 8:07 AM, Peter Samuelson <peter_at_p12n.org> wrote:
>
> [Mark Phippard]
>> Would this cause issues for apps that drive the command line
>> programmatically without a console?  For example, a Java web app that
>> does some SVN commands from within the app server?
>
> I can't imagine we'd want to officially support that sort of usage.
> We've broken "screen scraping" types of apps before, with things like
> column alignments in 'svn status' output.  And you already can't
> screen-scrape password prompts, at least on Unix, where we end up
> calling the OS function getpass() which uses the console.  So it would
> only be possible to drive prompts like whether to accept an unsigned
> server certificate.
>
> I'd say, if you don't have an actual console at hand, you really really
> should be using --non-interactive.

I think there are a ton of apps and script that do this today.

-- 
Thanks
Mark Phippard
http://markphip.blogspot.com/
Received on 2011-06-07 00:06:41 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.