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

Restore old Slack engine, add dreprecation, rename new Slack engine #63095

Merged
merged 4 commits into from
Dec 7, 2022

Conversation

garethgreenaway
Copy link
Contributor

@garethgreenaway garethgreenaway commented Nov 21, 2022

What does this PR do?

Restore the previous slack engine and deprecate it, rename replace the slack engine to slack_bolt until deprecation

What issues does this PR fix or reference?

Fixes: #62957

Merge requirements satisfied?

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

Commits signed with GPG?

Yes

Please review Salt's Contributing Guide for best practices.

See GitHub's page on GPG signing for more information about signing commits with GPG.

@garethgreenaway garethgreenaway requested a review from a team as a code owner November 21, 2022 18:39
@garethgreenaway garethgreenaway requested review from Ch3LL and removed request for a team November 21, 2022 18:39
changelog/63095.added Show resolved Hide resolved
salt/engines/slack_bolt_engine.py Outdated Show resolved Hide resolved
@Ch3LL
Copy link
Contributor

Ch3LL commented Nov 21, 2022

I'm also not seeing slack_bolt in our tests requirements so I'm guesing the tests are getting skipped

@garethgreenaway
Copy link
Contributor Author

@Ch3LL The tests will only run if the two Slack Python libraries are installed, the newer one we can install but the older one has difficulties with newer versions of Python.

salt/engines/slack_bolt_engine.py Outdated Show resolved Hide resolved
salt/engines/slack_bolt_engine.py Outdated Show resolved Hide resolved
salt/engines/slack_bolt_engine.py Outdated Show resolved Hide resolved
salt/engines/slack_bolt_engine.py Show resolved Hide resolved
salt/engines/slack_bolt_engine.py Show resolved Hide resolved
salt/engines/slack_bolt_engine.py Show resolved Hide resolved
salt/engines/slack_bolt_engine.py Outdated Show resolved Hide resolved
salt/engines/slack_bolt_engine.py Show resolved Hide resolved
salt/engines/slack_bolt_engine.py Show resolved Hide resolved
salt/engines/slack_bolt_engine.py Show resolved Hide resolved
Copy link
Contributor

@twangboy twangboy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need to standardize on the type/parameter for all the arguments in the docs for the functions. You're doing it on some and not others.

…e slack engine to slack_bolt until deprecation
@garethgreenaway garethgreenaway force-pushed the deprecate_old_slack_engine branch from 9dbbd18 to 5aa16c6 Compare December 5, 2022 19:34
@Ch3LL Ch3LL added the Sulfur v3006.0 release code name and version label Dec 5, 2022
@Ch3LL Ch3LL merged commit 377d985 into saltstack:master Dec 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Sulfur v3006.0 release code name and version
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants