[mosh-devel] does mosh have a version-specific dependency on Google Protobuf?
Keith Winstein
keithw at cs.stanford.edu
Fri May 15 01:44:22 EDT 2015
Good question!
We have a (small) crypto-focused test suite that gets run from "make check"
and as part of building the Debian/Ubuntu packages (and possibly
Fedora/EPEL?), but it doesn't test protocol interoperability among versions
of mosh that were compiled differently.
It would be great to do a rigorous test suite like this, but honestly I
think this is not where we're going to get in trouble (that Google will
introduce a breaking change into the protobuf wire format and we won't know
about it). I'm a lot more worried about screwing up the terminal emulation
(or the timeout semantics in SSP, which are a bit byzantine) than the
possibility that Google will screw us over on protobuf.
Our intention is that that any mosh-client since 0.96 (February 2012) and
any mosh-server since 1.0.9 (March 2012) can talk to each other and to the
most recent release and the Git tip.
On Thu, May 14, 2015 at 4:56 PM, James C. McPherson <
James.McPherson at oracle.com> wrote:
>
> Hi Alex,
> thankyou for the quick and reassuring response.
>
> btw, is there a test suite to help confirm the hypothesis?
>
> James
>
> On 15/05/15 09:50 AM, Alex Chernyakhovsky wrote:
> > Hi James,
> >
> > From my reading of
> > https://github.com/google/protobuf/blob/master/CHANGES.txt#L187, there
> > are no wire-level differences. As long as mosh builds, it should
> > stil=l be compatible across protobuf versions. I recently rebuilt
> > Fedora's mosh to work against libprotobuf.so.9, which IIRC is 2.6.1,
> > and I noticed no issues.
> >
> > The protobuf generated output source should be different, since protoc
> > got new features.
> >
> > Sincerely,
> > -Alex
> >
> >
> > On Thu, May 14, 2015 at 7:44 PM, James C. McPherson
> > <James.McPherson at oracle.com> wrote:
> >> Hi mosh-devel,
> >> I've observed that Google Protobuf has made some incompatible
> >> changes between v2.5 and 2.6.1.
> >>
> >> When I built mosh for Solaris (internal testing / evaluation
> >> work), I used 2.5 and all seemed well. I built it again today
> >> using 2.6.1 - and again, all seems ok, but the protobuf generated
> >> output is different between the two versions.
> >>
> >> Does mosh have a dependency on a specific version of Google
> >> protobuf?
> >>
> >>
> >> thanks in advance,
> >> James C. McPherson
> >> --
> >> Oracle
> >> Systems / Solaris / Core
> >> https://www.jmcpdotcom.com/blog
> >> _______________________________________________
> >> mosh-devel mailing list
> >> mosh-devel at mit.edu
> >> http://mailman.mit.edu/mailman/listinfo/mosh-devel
>
>
> --
> James C. McPherson
> --
> Oracle
> Systems / Solaris / Core
> https://www.jmcpdotcom.com/blog
> _______________________________________________
> mosh-devel mailing list
> mosh-devel at mit.edu
> http://mailman.mit.edu/mailman/listinfo/mosh-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/mosh-devel/attachments/20150515/cddb219a/attachment.html
More information about the mosh-devel
mailing list