saltstack-formulas / mysql-formula

Install the MySQL client and/or server
http://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html
Other
85 stars 367 forks source link

feat: update python packages for onedir #278

Open didiermfb opened 11 months ago

didiermfb commented 11 months ago

PR progress checklist (to be filled in by reviewers)


What type of PR is this?

Make the formula compatible with onedir

Primary type

Secondary type

Does this PR introduce a BREAKING CHANGE?

No.

Related issues and/or pull requests

Describe the changes you're proposing

Add packages and python module to make the formula compatible with onedir

Pillar / config required to test the proposed changes

Debug log showing how the proposed changes work

Documentation checklist

Testing checklist

Additional context

sylvainfaivre commented 11 months ago

Yesterday in the formulas working group meeting, he had a chat about formulas compatibility with onedir packaging, and the shared opinion was that formulas should be updated to support onedir. Legacy release support may be dropped (this will then be a BREAKING CHANGE), as people willing to use legacy releases can point to older formulas releases.

Regarding the packages to install, I think your code is only compatible with Debian-based distributions. You should use map.jinja and related yaml files to install the required packages according to the OS.