Skip to content

fix(FreeBSD): upgrade to mysql57-server #250

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

Merged
merged 1 commit into from
Aug 24, 2020
Merged

fix(FreeBSD): upgrade to mysql57-server #250

merged 1 commit into from
Aug 24, 2020

Conversation

GeJ
Copy link
Contributor

@GeJ GeJ commented Aug 21, 2020

PR progress checklist (to be filled in by reviewers)

  • Changes to documentation are appropriate (or tick if not required)
  • Changes to tests are appropriate (or tick if not required)
  • Reviews completed

What type of PR is this?

Primary type

  • [build] Changes related to the build system
  • [chore] Changes to the build process or auxiliary tools and libraries such as documentation generation
  • [ci] Changes to the continuous integration configuration
  • [feat] A new feature
  • [fix] A bug fix
  • [perf] A code change that improves performance
  • [refactor] A code change that neither fixes a bug nor adds a feature
  • [revert] A change used to revert a previous commit
  • [style] Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc.)

Secondary type

  • [docs] Documentation changes
  • [test] Adding missing or correcting existing tests

Does this PR introduce a BREAKING CHANGE?

No.

Related issues and/or pull requests

Describe the changes you're proposing

Current default version for FreeBSD is MySQL 5.7, also python 2.x is
deprecated and should be removed any time soon.

FreeBSD uses the mysql_install_db which generates a temporary root
password upon the first start. To the best of my understanding I haven't
seen any code in the formula that handles this method. So I added
a FreeBSD-scpecific block for initialization. While here, create
/var/log/mysql without which the server won't start if it doesn't
exist.

Pillar / config required to test the proposed changes

Debug log showing how the proposed changes work

Documentation checklist

  • Updated the README (e.g. Available states).
  • Updated pillar.example.

Testing checklist

  • Included in Kitchen (i.e. under state_top).
  • Covered by new/existing tests (e.g. InSpec, Serverspec, etc.).
  • Updated the relevant test pillar.

Additional context

Current default version for FreeBSD is MySQL 5.7, also python 2.x is
deprecated and should be removed any time soon.

FreeBSD uses the `mysql_install_db` which generates a temporary root
password upon the first start. To the best of my understanding I haven't
seen any code in the formula that handles this method. So I added
a FreeBSD-scpecific block for initialization. While here, create
`/var/log/mysql` without which the server won't start if it doesn't
exist.
@pull-assistant
Copy link

Score: 1.00

Best reviewed: commit by commit


Optimal code review plan

     Update FreeBSD to mysql57-server

Powered by Pull Assistant. Last update 845af54 ... 845af54. Read the comment docs.

Copy link
Member

@daks daks left a comment

Choose a reason for hiding this comment

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

looks good to me, thanks for your contribution :)

@GeJ
Copy link
Contributor Author

GeJ commented Aug 21, 2020

It's almost 1AM, and I just realized I botched it. I'm closing it for now and will update with a new version tomorrow morning.
Sorry for the noise.

@GeJ GeJ closed this Aug 21, 2020
@GeJ
Copy link
Contributor Author

GeJ commented Aug 22, 2020

I'm reopening the PR. Sorry, I thought I had seen a mistake on my end, but after a few more tests locally, the only mistake was trying to review my code at 1 AM.

Again, really sorry for the going back and forth on this one. I'll try to be more careful next time.

@GeJ GeJ reopened this Aug 22, 2020
@myii myii merged commit ec68199 into saltstack-formulas:master Aug 24, 2020
@myii
Copy link
Contributor

myii commented Aug 24, 2020

Merged, thanks @GeJ. I adjusted the commit message so that semantic-release works properly.

@saltstack-formulas-travis

🎉 This PR is included in version 0.54.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

saltstack-formulas-travis pushed a commit that referenced this pull request Aug 27, 2020
## [0.54.2](v0.54.1...v0.54.2) (2020-08-27)

### Bug Fixes

* **indent:** properly indent file.directory block ([7791268](7791268)), closes [#250](#250)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy