[mosh-devel] Checking for updates

Dan Mahoney, System Admin danm at prime.gushi.org
Wed Jun 8 21:47:54 EDT 2016


On Wed, 8 Jun 2016, John Hood wrote:

> For what platform?  (That question is both practical and rhetorical.)
>
> This only makes sense for platforms that do not have an established
> distribution system, and that we do builds for.  That equals "OS X".

As it happens, OSX is the platform I use it for, so yes, that was 
practically what I was asking about.

> In that case, we're probably best off using the Macintosh App Store, if
> they allow/support distributing CLI apps that way.

Well -- note my general question was as to the *check* for the updates. 
I.e. "am I running the current stable version", and if not, print a 
message.  I'm not suggesting auto-downloads or anything of that nature.

> As a general thing, we can't do this for all platforms, which all have
> their own release schedules and methodologies, and where we are not
> usually in control of the releases.

Perhaps.  If there's a newer version of the base mosh binary out, and it 
hasn't been packaged yet because the maintainer's of the OS package is off 
backpacking across europe, this is also a thing I'd want to know.

This would be the kind of thing that could either happen once on 
invocation of mosh (i.e. every time I open a new connection -- perhaps 
with some state-tracking -- tell me no more than once a week).

Or possibly, just when I run mosh --version (which, at least on OSX, 
doesn't even print the location to get it).

Anyway, thanks for hearing me out.

-Dan

-- 

--------Dan Mahoney--------
Techie,  Sysadmin,  WebGeek
Gushi on efnet/undernet IRC
ICQ: 13735144   AIM: LarpGM
Site:  http://www.gushi.org
---------------------------



More information about the mosh-devel mailing list