[kteam-tools][PATCH] git-build-kernel: add elapsed/load status as a keepalive

Tim Gardner tim.gardner at canonical.com
Thu Aug 8 16:08:20 UTC 2013


On 08/08/2013 09:07 AM, Kamal Mostafa wrote:
> 
> On Thu, 2013-08-08 at 06:27 -0600, Tim Gardner wrote:
>> Unless you really want the status output, you could always use
>> 'ServerAliveInterval 60' in your ssh config.
>>
>> rtg
> 
> But then every user would have to make that ssh config change on each
> machine that they want to be able to push-build from.  I think its
> better to just implement the keepalive in git-build-kernel itself.
> 

Anyone who has long lived ssh connection has _already_ implemented this
config option.

> It could be implemented as a silent keepalive instead (by just emitting
> e.g. "\r" every couple minutes) but it now that I've implemented it, I
> find the displayed elapsed build-time plus load average status to be
> quite handy.

Continuing to believe that the real benefit of this patch is to keep
your connection alive is just muddy thinking. If you want status, then
write a patch that gives you status. ssh config is where you control
session behaviour, not some hack to a script whose purpose is something
entirely different.

rtg
-- 
Tim Gardner tim.gardner at canonical.com




More information about the kernel-team mailing list