previously valid amazon environment now invalid?
Nate Finch
nate.finch at canonical.com
Wed Apr 29 19:40:17 UTC 2015
We have done it before. As Roger said, there is/was a convention to do a
three step process to deprecate old command line functionality.
There's a big difference between what the command line looks like, and
keeping compatibility with 1.18. We might want to preserve both, but
they're not the same thing.
For example, a 1.25 client that renames --constraints as --require is still
compatible with 1.18, as long as it can read the environments.yaml, jenv,
and communicate with the 1.18 server correctly.
I would not say that, by most people's assessment, "compatibility with
1.18" is the same as "compatibility with bash scripts that scripted against
a 1.18 client".
That's not to say that we might not want to maintain that kind of
compatibility too, just saying, that seems like something beyond the scope
of "compatible with 1.18"
On Wed, Apr 29, 2015 at 3:28 PM, Aaron Bentley <aaron.bentley at canonical.com>
wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 2015-04-29 12:31 PM, roger peppe wrote:
> > FWIW I seem to remember some command line flags being deprecated
> > (with a visible warning message) and then removed. I wonder if that
> > might be another possible approach that could let us avoid
> > unbounded code cruft accumulation.
>
> No. You can deprecate a flag. We'd rather you didn't, because our
> scripts use the most compatible commandlines, and deprecated flags are
> typically more compatible than their substitutes.
>
> But you can't remove a flag. That would be "Doing It Wrong". "Thou
> Shalt Not Break Compatibility With 1.18".
>
> Aaron
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1
>
> iQEcBAEBAgAGBQJVQTDfAAoJEK84cMOcf+9hE68H/3kl9ETOJI0ggxFAHCg53R5A
> kc9oYV5H/9cX74dQ1MQTCs7/wMviw29gW8N3qosxVG80Wq0fkkehAvIlsS4VoG9K
> NZZ/7Sv7NzPthr3Ty9Xfu362bssyoWIFAgcBq11UgobZr236N+R1qi914RuhWH2d
> w7vbQj9fghNcR+C63cRb8zIOrkO6mNMICEm50wYVtRFVQxq4NphjjyKdY5jqnmqh
> lK2mlPTxnpkL1EkSAka05bQDLsPF2Ovf+wyYEorMHxKcbl1+FKNGNIrUAgKC61bU
> mOzcDczLhWWVJYqQbqFdCf2Ea6c+Zf+VU+VElN9OpbYHdiD1SXssvPzc3ACAL5E=
> =/WpE
> -----END PGP SIGNATURE-----
>
> --
> Juju-dev mailing list
> Juju-dev at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/juju-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju-dev/attachments/20150429/0cd7d21d/attachment.html>
More information about the Juju-dev
mailing list