-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[dla] az dla
: Deprecate azure datalake analytics from CLI
#29879
Conversation
️✔️AzureCLI-FullTest
|
️✔️AzureCLI-BreakingChangeTest
|
dla |
@@ -187,5 +187,5 @@ def load_command_table(self, _): | |||
g.show_command('show', 'get') | |||
g.command('delete', 'delete') | |||
|
|||
with self.command_group('dla', is_preview=True): | |||
with self.command_group('dla', deprecate_info=self.deprecate(expiration='2.67.0')): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Be aware that declaring expiration
in deprecate_info
will break the release pipeline if it is forgotten: #27792.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's by design because I won't want to miss next breaking change window.
And as you may noticed, I didn't leverage the upcoming breaking change framework
azure-cli/src/azure-cli-core/azure/cli/core/breaking_change.py
Lines 584 to 586 in b3199bd
def register_command_group_deprecate(command_group, redirect=None, hide=None, | |
target_version=NextBreakingChangeWindow(), **kwargs): | |
register_deprecate_info(command_group, redirect=redirect, hide=hide, target_version=target_version, **kwargs) |
And @ReaNAiveD said that I will lose version info if I use default old deprecated_info
rather than register_command_group_deprecate
. That's another reason I explicitly declare expiration
here
Related command
az dla
Description
Azure Data Lake analytics has been retired as of Feb 29, 2024: migrate-to-azure-synapse-analytics
This PR is for deprecate it from CLI
Testing Guide
History Notes
[Component Name 1] BREAKING CHANGE:
az command a
: Make some customer-facing breaking change[Component Name 2]
az command b
: Add some customer-facing featureThis checklist is used to make sure that common guidelines for a pull request are followed.
The PR title and description has followed the guideline in Submitting Pull Requests.
I adhere to the Command Guidelines.
I adhere to the Error Handling Guidelines.