From 7124b2fc9057f1f79ca549815102180b4b749cd0 Mon Sep 17 00:00:00 2001 From: Asher Foa Date: Tue, 30 Aug 2022 18:22:21 -0400 Subject: [PATCH] Deprecate remote_auth_plugin option - plugins can use entry points now. (#16691) Follow up for https://github.com/pantsbuild/pants/pull/16212 [ci skip-rust] --- src/python/pants/option/global_options.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/python/pants/option/global_options.py b/src/python/pants/option/global_options.py index 06ff56d3ebc5..b834293afa68 100644 --- a/src/python/pants/option/global_options.py +++ b/src/python/pants/option/global_options.py @@ -1378,6 +1378,18 @@ class BootstrapOptions: remote_auth_plugin = StrOption( default=None, advanced=True, + deprecation_start_version="2.15.0.dev2", + removal_version="2.16.0.dev1", + removal_hint=softwrap( + """ + Remote auth plugins should now provide the function by implementing an entry point called remote_auth. + + If you are developing a plugin, switch to using an entry point. + + If you are only consuming a plugin from someone else, you can delete the remote_auth_plugin option + and now only need the plugin to be included in [GLOBAL].plugins + """ + ), help=softwrap( """ Path to a plugin to dynamically configure remote caching and execution options.