You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In #1027 usages of the deprecated org.kiwiproject.ansible.vault.OsCommand are replaced by the new org.kiwiproject.base.process.OsCommand. But the original OsCommand defined the method getCommandParts() while the new one simplifies it to just parts(). Since the original methods were a public API, we need to deprecate those for removal, and indicate that `parts() is the replacement for them. They will be removed in the next major version, 4.0.0.
The text was updated successfully, but these errors were encountered:
…1030)
* Replace all usages with org.kiwiproject.base.process.OsCommand
* Refactor existing AnsibleXxxCommand classes to implement
org.kiwiproject.base.process.OsCommand
* Deprecate all the #getCommandParts methods in the AnsibleXxxCommand
classes for removal; they are replaced by #parts. But since they
are part of the public API, we need to first deprecate them
and then remove them in the next major version, 4.0.0
* Update tests to use #parts method instead of #getCommandParts, but
also add assertions that still test the old methods (and suppress
the warnings about usages of code that is deprecated for removal)
Closes#1027Closes#1031
In #1027 usages of the deprecated
org.kiwiproject.ansible.vault.OsCommand
are replaced by the neworg.kiwiproject.base.process.OsCommand
. But the originalOsCommand
defined the methodgetCommandParts()
while the new one simplifies it to justparts()
. Since the original methods were a public API, we need to deprecate those for removal, and indicate that `parts() is the replacement for them. They will be removed in the next major version, 4.0.0.The text was updated successfully, but these errors were encountered: