Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [RFC] progress indicator
@ 2012-02-08 23:32 Yegor Yefremov
  2012-02-10 22:55 ` Arnout Vandecappelle
  0 siblings, 1 reply; 4+ messages in thread
From: Yegor Yefremov @ 2012-02-08 23:32 UTC (permalink / raw)
  To: buildroot

What about making a progress indicator, so that user always knows how
many packages left to be built? Like Android (AOSP) does during repo
sync:

Fetching projects:  53% (127/238)  Receiving objects:  22% (290/1289), 195.95 Ki
Fetching projects:  54% (129/238)  Receiving objects:  28% (361/1289), 195.95 Ki
Fetching projects:  55% (131/238)  Receiving objects:  47% (606/1289), 643.81 Ki

Yegor

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] [RFC] progress indicator
  2012-02-08 23:32 [Buildroot] [RFC] progress indicator Yegor Yefremov
@ 2012-02-10 22:55 ` Arnout Vandecappelle
  2012-02-13  8:06   ` Yegor Yefremov
  0 siblings, 1 reply; 4+ messages in thread
From: Arnout Vandecappelle @ 2012-02-10 22:55 UTC (permalink / raw)
  To: buildroot

On Thursday 09 February 2012 00:32:42 Yegor Yefremov wrote:
> What about making a progress indicator, so that user always knows how
> many packages left to be built? Like Android (AOSP) does during repo
> sync:
> 
> Fetching projects:  53% (127/238)  Receiving objects:  22% (290/1289), 195.95 Ki
> Fetching projects:  54% (129/238)  Receiving objects:  28% (361/1289), 195.95 Ki
> Fetching projects:  55% (131/238)  Receiving objects:  47% (606/1289), 643.81 Ki

 crosstool-NG does it as well.

 However, I don't see how you would do it without major surgery to the 
infrastructure.


 Regards,
 Arnout

-- 
Arnout Vandecappelle                               arnout at mind be
Senior Embedded Software Architect                 +32-16-286540
Essensium/Mind                                     http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium                BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] [RFC] progress indicator
  2012-02-10 22:55 ` Arnout Vandecappelle
@ 2012-02-13  8:06   ` Yegor Yefremov
  2012-02-13  8:25     ` Peter Korsgaard
  0 siblings, 1 reply; 4+ messages in thread
From: Yegor Yefremov @ 2012-02-13  8:06 UTC (permalink / raw)
  To: buildroot

Am 10.02.2012 23:55, schrieb Arnout Vandecappelle:
> On Thursday 09 February 2012 00:32:42 Yegor Yefremov wrote:
>> What about making a progress indicator, so that user always knows how
>> many packages left to be built? Like Android (AOSP) does during repo
>> sync:
>>
>> Fetching projects:  53% (127/238)  Receiving objects:  22% (290/1289), 195.95 Ki
>> Fetching projects:  54% (129/238)  Receiving objects:  28% (361/1289), 195.95 Ki
>> Fetching projects:  55% (131/238)  Receiving objects:  47% (606/1289), 643.81 Ki
> 
>  crosstool-NG does it as well.
> 
>  However, I don't see how you would do it without major surgery to the 
> infrastructure.

I fear it is inevitable. But if someone has lots of free time, it would be a nice feature. Especially on slow machines it is very nice to know how long will take to build.

Yegor

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] [RFC] progress indicator
  2012-02-13  8:06   ` Yegor Yefremov
@ 2012-02-13  8:25     ` Peter Korsgaard
  0 siblings, 0 replies; 4+ messages in thread
From: Peter Korsgaard @ 2012-02-13  8:25 UTC (permalink / raw)
  To: buildroot

>>>>> "Yegor" == Yegor Yefremov <yegor_sub1@visionsystems.de> writes:

Hi,

 Yegor> I fear it is inevitable. But if someone has lots of free time,
 Yegor> it would be a nice feature. Especially on slow machines it is
 Yegor> very nice to know how long will take to build.

I don't have a problem with adding something like that if it isn't too
intrusive. We once had a RFC patch which changed the MESSAGE macro to
also output to the xterm title. I guess we could estimate the progress
by counting the number of times E.G. the extract target has been run
divided by $(words $(TARGETS)).

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-02-13  8:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-08 23:32 [Buildroot] [RFC] progress indicator Yegor Yefremov
2012-02-10 22:55 ` Arnout Vandecappelle
2012-02-13  8:06   ` Yegor Yefremov
2012-02-13  8:25     ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox