Shawn Walker wrote: > On 02/10/11 11:16 AM, Danek Duvall wrote: > >Shawn Walker wrote: > > > >> http://cr.opensolaris.org/~swalker/pkg-latest/ > ... > >t_pkg_install.py: > > > > - I don't see a test that makes sure that install foo@latest fails if foo > > is incorporated at a different version; am I just missing it? > > I didn't think it was necessary. @latest only deals with matching; > so it will definitely match a version of a package that isn't allowed > by currently installed incorporations. The solver handles the > rejection in that case.
I'd put it in so that we're testing the user experience we expect. Since the primary purpose of @latest is so that folks can be sure they're upgrading a package to the latest version from the publisher and fail if it's not possible, then we should make sure that's what happens, rather than assuming the underlying implementation happens to get that right. Danek _______________________________________________ pkg-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
