Mid-Term Report

Rainer Müller raimue at macports.org
Fri Jun 27 09:48:05 PDT 2014


On 2014-06-27 07:47, Joshua Root wrote:
> On 2014-6-27 05:29 , Shashwat Pandey wrote:
>> I am a Google Summer of Code 2014 student working on the 'Interactive
>> Port Command' project for Macports. I have been working for about a
>> month now and would like to show the progress i have made.
> 
> Sounds like good work for the most part. One note:
> 
>> # Added global flag '-N' for non-interactive invocations. Interactivity
>> is the default behaviour.
> 
> This will break people's scripts. If users don't do anything different,
> the behaviour should stay the same. I would provide a different
> executable name for interactive use, but I guess a command line and/or
> config option to make port(1) behave that way would be OK too.

We have broken the backwards compatibility of the port command multiple
times already by changing strings and its output formats. We don't make
any guarantees for that, do we?

If you redirect the command output or it is not connected to a terminal,
port(1) will automatically behave non-interactively as it did before.

Maybe we should also have an option in macports.conf to force
non-interactive mode?

Rainer


More information about the macports-dev mailing list