-
Notifications
You must be signed in to change notification settings - Fork 131
Deprecate azure_service_bus #455
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -43,7 +43,8 @@ tags: | |
| # collection label 'namespace.name'. The value is a version range | ||
| # L(specifiers,https://python-semanticversion.readthedocs.io/en/latest/#requirement-specification). Multiple version | ||
| # range specifiers can be set and are separated by ',' | ||
| dependencies: {} | ||
| dependencies: | ||
| azure.azcollection: ">=3.7.0" | ||
|
Comment on lines
+46
to
+47
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't think this collection should start to pull other collections. Deprecating means that users should switch away from "something", while that "something" still works as-is until its removal. |
||
|
|
||
| # The URL of the originating SCM repository | ||
| repository: https://github.com/ansible/event-driven-ansible | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -40,3 +40,10 @@ plugin_routing: | |
| warning_text: >- | ||
| activation_info has been renamed to rulebook_activation_info. | ||
| Please update your tasks. | ||
| azure_service_bus: | ||
| redirect: azure.azcollection.azure_service_bus | ||
| deprecation: | ||
| removal_version: 3.0.0 | ||
| warning_text: >- | ||
| azure_service_bus has been moved to azure.azcollection.azure_service_bus. | ||
| Please update your tasks. | ||
|
Comment on lines
+43
to
+49
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This does not work: there is no support in ansible-rulebook for deprecating/renaming/removing content as documented here: |
||
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.
I don't think this is correct: this example correctly refers to the module shipped in this collection, so it is valid until the module is shipped in the collection.
Most likely this rulebook ought to be copied together with the non-deprecated version of
azure_service_bus, and the rulebook in that location ought to refer to the new location of the EDA source.