Skip to content

Comments

[master] Fix S3 module: config.option returns empty string not None#65685

Closed
mirceaulinic wants to merge 1 commit intosaltstack:masterfrom
mirceaulinic:pr-56220-take2
Closed

[master] Fix S3 module: config.option returns empty string not None#65685
mirceaulinic wants to merge 1 commit intosaltstack:masterfrom
mirceaulinic:pr-56220-take2

Conversation

@mirceaulinic
Copy link
Contributor

This commit revisits #56220, hopefully this time won't take 3 more years. The reasoning of this change is that __salt__['config.option'] can never return None:

{u'tgt': u''}

As a result some statements are never evaluated properly, and this module misbehaving.

This commit revisits saltstack#56220, hopefully this time won't take 3 more years.
The reasoning of this change is that ``__salt__['config.option']`` can
never return ``None``:

```bash
{u'tgt': u''}
```

As a result some statements are never evaluated properly, and this
module misbehaving.
@mirceaulinic mirceaulinic requested a review from a team as a code owner December 11, 2023 11:07
@mirceaulinic mirceaulinic requested review from dwoz and removed request for a team December 11, 2023 11:07
@salt-project-bot-prod-environment salt-project-bot-prod-environment bot changed the title Fix S3 module: config.option returns empty string not None [master] Fix S3 module: config.option returns empty string not None Dec 11, 2023
@dwoz
Copy link
Contributor

dwoz commented Dec 12, 2023

@mirceaulinic This needs a changelog and regression test.

@dwoz dwoz added this to the Argon v3008.0 milestone Dec 12, 2023
@mirceaulinic
Copy link
Contributor Author

@dwoz happy to add regression tests, would you help me find where are the current tests for the S3 module?

@dwoz dwoz requested a review from a team as a code owner March 16, 2025 22:09
@twangboy
Copy link
Contributor

twangboy commented Apr 1, 2025

This module and its associated states and tests have been transitioned to community support and are no longer maintained by the Salt Core team. The code has been removed from the Salt code-base and can be found in this repository: https://github.com/salt-extensions/community-extensions-holding/

There is currently discussion and work being done on the salt-extensions Discord channel (https://discordapp.com/channels/1200072194781368340/1208165123240370197) to document and build the infrastructure for community-supported salt extensions. There is also a Salt-Extensions Working Group that takes place on the 1st and 3rd Thursday of every month to coordinate salt-extension efforts.

@twangboy twangboy closed this Apr 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs-changelog needs-testcase PR needs test cases written, or the issue is about a bug/feature that needs test cases

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants