Skip to content
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

[3006.x] backport: Update SSH wrappers, wrap more funcs #66661

Merged
merged 7 commits into from
Jun 25, 2024

Conversation

lkubb
Copy link
Contributor

@lkubb lkubb commented Jun 24, 2024

What does this PR do?

Backports most wrapper fixes from #65517 as per #65067 (comment).

Does not include the rewritten cp and new cmd wrapper (relies on the former)

What issues does this PR fix or reference?

Fixes: #61100
Fixes: #56441
Fixes: #65067
Fixes: #61143
Fixes: #50196
Fixes: #51605
Fixes: #65630

The following are already fixed in 3007.x, but not backported to 3006.x because it would be more involved:

They can be closed manually.

Merge requirements satisfied?

[NOTICE] Bug fixes or features added to Salt require tests.

Commits signed with GPG?

Yes

(cherry picked from commit ddc1197)
This is a 1:1 copy of the execution module, incl. tests...

(cherry picked from commit 47a609f)
The wrapper has diverged significantly from the module.

* `option` did not check grains
* `option` did not have `omit_all` and `wildcard` parameters
* `get` missed several parameters: `delimiter`, `merge` and all `omit_*`
* There was no wrapping function for `items`.

(cherry picked from commit 8356be8)
(cherry picked from commit 82f90e2)
(cherry picked from commit 18bc40c)
`ordered=False` would not have worked before

(cherry picked from commit 5e16d84)
@salt-project-bot-prod-environment salt-project-bot-prod-environment bot changed the title backport: Update SSH wrappers, wrap more funcs [3006.x] backport: Update SSH wrappers, wrap more funcs Jun 24, 2024
@lkubb lkubb marked this pull request as ready for review June 24, 2024 10:53
@lkubb lkubb requested a review from a team as a code owner June 24, 2024 10:53
@dwoz dwoz added the test:full Run the full test suite label Jun 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
test:full Run the full test suite
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants