Progress UI for Phases

Ryan Schmidt ryandesign at macports.org
Tue Oct 26 11:56:38 PDT 2010


On Oct 26, 2010, at 13:01, Rainer Müller wrote:
> On 2010-10-26 19:52 , Jeremy Lavergne wrote:
>> Have there been any plans to make use of a `curl -# ...` style
>> progress bar for the download/configure/install phases? This is for
>> the normal, non-verbose/non-debug output.
> 
> If I remember correctly such a style is not available from libcurl, but
> would have to be written manually using CURLOPT_PROGRESSFUNCTION.

And for other phases, the problem is we have no way of knowing how long the process is expected to take. For the build phase, Makefiles generated by cmake pleasantly output each line prefixed with a percent-complete indicator, but most ports don't use cmake and don't have this convenience. So the best we could do in most cases is output a spinning "/ - \ |" indicator or something to show we're still working.




More information about the macports-dev mailing list