Andrew Klychkov
c199000eee
Docs: add info how to cope with a protocol-related connection error using login_unix_socket argument ( #420 ) ( #431 )
...
(cherry picked from commit f1d63e3fc8
)
2022-08-26 13:41:06 +02:00
Laurent Indermühle
108c4ae729
Port stable 1 ci changes ( #423 ) ( #425 )
...
* Add changes from stable-1 integrations tests (PR 418)
* Refactor to use connectors' info declared in setup_mysql
* Fix 2nd replication stop marked changed by mysqlclient
(cherry picked from commit 61586ae4cc
)
2022-08-22 12:36:44 +02:00
Laurent Indermühle
4cfdbe64a3
MAINTAINERS file: add a new maintainer ( #419 ) ( #422 )
...
(cherry picked from commit 057f817111
)
Co-authored-by: Andrew Klychkov <aklychko@redhat.com>
2022-08-13 22:06:12 +02:00
Laurent Indermühle
836a1ce048
[PR #416/97318559 backport][stable-1] Fix ci python requirements ( #418 )
...
* :Fix ci python requirements (#416 )
* Add matrix for python and ansible-core versions for sanity tests
* Add python 3.9 to integrations tests
* Add python 3.9 to unit tests
* Reformat sort by python version first
(cherry picked from commit 97318559e5
)
* Fix string to int comparison error 1292
* Fix assert expected changed value
* Cut assertion that is incorrect
With both connectors, and only in stable-1 apparently, the test is
always failed.
* Fix bool comparison
* Revert separated tests for both connectors
* Refactor test using connector.name variable
* Refactor filtering of tasks using connector's vars sets during setup
* Fix "command not found" and "database doesn't exists"
* Fix assertion by not running on failing connectors
* Fix missing package when using sha256_password with MySQL 8
2022-08-12 16:51:40 +02:00
Laurent Indermühle
41e7ce5aaa
Update galaxy.yml to the next expected version ( #412 )
2022-08-03 10:26:26 +02:00
Laurent Indermühle
99548e10cb
Release 1.4.8 commit ( #410 )
2022-08-02 10:08:19 +02:00
patchback[bot]
6ebf59e234
README: update MariaDB versions we test against ( #404 ) ( #406 )
...
(cherry picked from commit 6f87620d9b
)
Co-authored-by: Andrew Klychkov <aklychko@redhat.com>
2022-06-24 15:07:27 +02:00
patchback[bot]
97be51ef45
Note added regarding the default config file, ~/.my.cnf ( #400 ) ( #402 )
...
* Note added for https://github.com/ansible-collections/community.mysql/issues/394
* Update config file notes as discussed
* Update plugins/doc_fragments/mysql.py
Co-authored-by: Andrew Klychkov <aaklychkov@mail.ru>
Co-authored-by: Andrew Klychkov <aaklychkov@mail.ru>
(cherry picked from commit 0df46e0e67
)
Co-authored-by: Chris Croome <chris@webarchitects.co.uk>
2022-06-17 08:27:00 +02:00
Andrew Klychkov
d8ab933d79
Update licensing information ( #392 )
2022-06-03 16:28:29 +02:00
Andrew Klychkov
949cb0c1dd
Release 1.4.7 commit ( #387 )
2022-06-02 08:15:26 +02:00
patchback[bot]
89eb2d2fea
Changed += to append because cmd is a list ( #377 ) ( #386 )
...
Using += on a list cause some problems druing creation of mysql command:
/usr/bin/mysql - - u s e r = r o o t - - p a s s w o r d = ' ' --socket=/run/mysqld/mysqld.sock
(cherry picked from commit 2e9d50f274
)
Co-authored-by: Maciej <moledzki@users.noreply.github.com>
2022-06-01 07:58:16 +02:00
hubiongithub
4d4a5f2a02
merge into stable1 ( #383 )
...
* PR379 merge
* Update plugins/modules/mysql_user.py
Co-authored-by: Andrew Klychkov <aaklychkov@mail.ru>
Co-authored-by: Andrew Klychkov <aaklychkov@mail.ru>
2022-05-31 17:43:15 +02:00
Andrew Klychkov
f7677aa05b
[stable-1] mysql_query: fix false change reports when IF NOT EXISTS clause is used ( #375 )
...
* mysql_query: fix false change reports when IF NOT EXISTS clause is used (#322 )
* mysql_query: fix false change reports when IF NOT EXISTS clause is used
* Fix
* Fix doc, add fragment
* Improve doc
(cherry picked from commit 647461010d
)
* Fix tests
2022-05-26 08:41:21 +02:00
Andrew Klychkov
0921d4eef5
Release 1.4.6 commit ( #361 )
2022-05-17 12:08:28 +02:00
Felix Fontein
f4736770e3
Add PSF-license.txt file ( #356 ) ( #359 )
...
* Add PSF-license.txt file.
* Update with actual CPython 3.9.5 license.
(cherry picked from commit b2e476cb1a
)
2022-05-17 08:24:07 +02:00
Andrew Klychkov
3bb7b00497
Release 1.4.5 commit ( #353 )
2022-05-13 09:07:25 +02:00
Andrew Klychkov
393023eb07
[stable-1] mysql_user: fix parsing privs when a user has roles assigned to it ( #346 )
...
* mysql_user: fix parsing privs when a user has roles assigned to it
* Fix CI
* Fix CI
2022-05-12 15:19:20 +02:00
Andrew Klychkov
256817ca32
Drop support for Ansible 2.9 and ansible-base 2.10 ( #347 )
2022-05-12 14:11:36 +02:00
patchback[bot]
a2a4a1ff61
Move CHANGELOG.rst at top level ( #349 ) ( #351 )
...
(cherry picked from commit f57ed38beb
)
Co-authored-by: Andrew Klychkov <aklychko@redhat.com>
2022-05-12 11:53:46 +02:00
Andrew Klychkov
b730cd6675
mysql_user: added flush privileges to write dynamic privs into db ( #340 )
2022-04-29 17:52:07 +02:00
Andrew Klychkov
2a57a4d659
CI: add testing against ansible-core 2.13 ( #328 )
...
Co-authored-by: R.Sicart <roger.sicart@gmail.com>
2022-04-03 08:10:42 +02:00
Andrew Klychkov
278337d34f
[stable-1] Backports ( #325 )
...
* Clarified error message about missing python modules (#279 )
* Clarified error message about missing python modules, and tweak documentation to suggest overriding interpreter.
* Mention mysqlclient as another option
* Correct mysqlclient suggestions from python2 to python3
Co-authored-by: Matthew Exon <git.mexon@spamgourmet.com>
(cherry picked from commit 82baf7508c
)
* Copy ignore-2.13.txt to ignore-2.14.txt (#323 )
* Copy ignore-2.13.txt to ignore-2.14.txt
* Fix sanity
(cherry picked from commit c16b2428e8
)
Co-authored-by: Matthew Exon <github2.mexon@neverbox.com>
2022-04-02 17:33:52 +02:00
patchback[bot]
d5a1e3639a
mysql_user: clarify behavior of priv parameter ( #319 ) ( #320 )
...
(cherry picked from commit 5afae459dc
)
Co-authored-by: Andrew Klychkov <aklychko@redhat.com>
2022-03-25 12:33:01 +01:00
patchback[bot]
bfcf89073a
Fix roles CI ( #316 ) ( #318 )
...
(cherry picked from commit e6e661b87f
)
Co-authored-by: Andrew Klychkov <aklychko@redhat.com>
2022-03-24 06:55:08 +01:00
patchback[bot]
15ee80b57c
Setup patchback bot config file ( resolves #310 ) ( #311 ) ( #313 )
...
(cherry picked from commit 55458f5b0b
)
Co-authored-by: R.Sicart <roger.sicart@gmail.com>
2022-03-17 11:19:01 +01:00
Andrew Klychkov
59d411ac82
Add IF EXISTS clause to DROP USER statement ( #309 )
2022-03-15 15:43:09 +01:00
Andrew Klychkov
b0de252ce2
Update requirements ( #302 )
2022-03-15 13:53:20 +01:00
Andrew Klychkov
96a255c00a
[stable-1] Enable and fix integration tests for devel ( #298 )
...
* Enable and fix integration tests for devel
* Add exclusions
2022-03-14 11:51:54 +01:00
Andrew Klychkov
f46b84e670
Release 1.4.4 commit ( #277 )
2022-01-18 11:05:37 +01:00
Andrew Klychkov
9386045797
[stable-1] Use vendored version of distutils.version ( #274 )
...
* Prepare for distutils.version being removed in Python 3.12 (#267 )
* Prepare for distutils.version being removed in Python 3.12
* Update plugins/module_utils/version.py
Co-authored-by: Felix Fontein <felix@fontein.de>
Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit d9e12b85ad
)
* Use vendored version of distutils.version (#269 )
* Use vendored version of distutils.version
* Correct fragment
* Update plugins/module_utils/version.py
Co-authored-by: Felix Fontein <felix@fontein.de>
Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit 9c575b4762
)
* Add ignore-2.13.txt
2022-01-18 10:53:09 +01:00
Andrew Klychkov
ace830ef56
Release 1.4.3 commit ( #222 )
2021-09-23 14:29:24 +02:00
Andrew Klychkov
e5919428f1
Update README.md ( #216 ) ( #221 )
...
(cherry picked from commit 4de0e25ea0
)
2021-09-23 14:07:17 +02:00
Andrew Klychkov
dbcc7e7e60
[stable-1] mysql_info: fix TypeError failure when there are databases that do not contain tables ( #209 )
...
* mysql_info: fix TypeError failure when there are databases that do not contain tables (#205 )
* mysql_info: fix TypeError failure when there are databases that do not contain tables
* Add changelog fragment
(cherry picked from commit a1f419d541
)
* Fix sanity errors
2021-08-20 09:50:34 +02:00
Andrew Klychkov
f49206d3b3
Release 1.4.2 commit ( #198 )
2021-08-11 08:38:59 +02:00
Andrew Klychkov
64b06aa543
mysql_query: correctly reflect changed status in replace statements ( #193 ) ( #197 )
...
* mysql_query: correctly reflect changed status in replace statements.
* Fix the wrong indent.
(cherry picked from commit 9055bb4c8c
)
Co-authored-by: Tong He <68936428+unnecessary-username@users.noreply.github.com>
2021-08-10 15:38:37 +02:00
Andrew Klychkov
9c17158802
[stable-1] Doc commit backport ( #196 )
...
* Add CONTRIBUTORS file (#166 )
(cherry picked from commit ac927fdb08
)
* Add documentation for privs with functions and procedures (#169 )
(cherry picked from commit 6bce48e771
)
* Update README.md (#168 )
* Update README.md
* Fix
* Add MAINTAINERS file
(cherry picked from commit 479edd81d1
)
* Improve wording in README (#170 )
* Improve wording in README
* Update README.md
Co-authored-by: Jorge Rodriguez (A.K.A. Tiriel) <jorge.rodriguez@tiriel.eu>
Co-authored-by: Jorge Rodriguez (A.K.A. Tiriel) <jorge.rodriguez@tiriel.eu>
(cherry picked from commit c909aa2182
)
* Update REVIEW_CHECKLIST.md (#171 )
(cherry picked from commit 2236110bae
)
* README: add a note how people can complain (#172 )
* README: add a note how people can complain
* Change
* Improve
* Update README.md
Co-authored-by: Jorge Rodriguez (A.K.A. Tiriel) <jorge.rodriguez@tiriel.eu>
Co-authored-by: Jorge Rodriguez (A.K.A. Tiriel) <jorge.rodriguez@tiriel.eu>
(cherry picked from commit be4e84a92a
)
* README: fix typos (#174 )
(cherry picked from commit 2a80c301a6
)
* README.md: Add link to IRC (#175 )
(cherry picked from commit 3335a95ba5
)
* README.md, CONTRIBUTING.md: add links to the Maintainer guidelines (#179 )
(cherry picked from commit 8fad3f85b8
)
* Update README (#181 )
(cherry picked from commit 6d9288d19b
)
* Update README.md (#183 )
* Update README.md
* Change IRC ref
(cherry picked from commit 69012a2eb9
)
* README: fix link (#184 )
(cherry picked from commit 8ab6ea7714
)
* README: fix the channel name (#185 )
(cherry picked from commit cd759924fd
)
* CONTRIBUTING.md: replace the content with a link to Ansible contributing guidelines (#187 )
(cherry picked from commit 56a214885a
)
* Update README (#186 )
* Update README
* Fix
* Fix
* Fix
* Fix
* Add Libera.Chat link
(cherry picked from commit adb201a795
)
* fix typo (#190 )
"optoin" -> "option"
(cherry picked from commit 596ba0cedb
)
* Update README.md (#191 )
* Update README.md
* Update README.md
(cherry picked from commit 6f02cb266a
)
* Add MAINTAINING.md, update README.md (#192 )
(cherry picked from commit 0fabb2b77a
)
Co-authored-by: Alexander Skiba <ghostlyrics@gmail.com>
Co-authored-by: Baptiste Mille-Mathias <baptiste.millemathias@gmail.com>
2021-08-10 14:33:56 +02:00
Andrew Klychkov
d200481305
Update galaxy.yml ( #160 )
2021-04-23 16:44:33 +02:00
Andrew Klychkov
b3a83aa0a3
Release 1.4.1 commit ( #159 )
2021-04-23 15:59:12 +02:00
Andrew Klychkov
fe8f3662eb
mysql: revert changes made in PR 116 ( #153 ) ( #156 )
...
* mysql: revert changes made in PR 116
* Add changelog fragment
* Fix CI
* Fix CI
* Fix CI
* Update CI
* Fix CI
(cherry picked from commit 738343d64c
)
2021-04-23 14:08:49 +02:00
Andrew Klychkov
59cbe5ffe3
Release 1.4.0
2021-04-16 08:53:51 +02:00
Andrew Klychkov
d517d658a1
Update galaxy.yml
2021-04-16 07:08:18 +02:00
Jorge Rodriguez (A.K.A. Tiriel)
dc522cc5d3
Deprecate REQUIRESSL privilege ( #132 )
...
* Deprecate REQUIRESSL privilege
* Add missing whitespace
* Fix according to PR review
* Fix conditional check
* Fix privilege string parsing
* Add unit tests for the new function
* Add integration tests
* Fix parentheses indentation
* Cover alternative error message
* Fix privileges
* Limit verification of access denied to pymysql connector
* Fix REQUIRE SSL verification tests
2021-04-10 07:01:15 +02:00
Andrew Klychkov
6342fb6f23
Update README.md ( #139 )
2021-04-07 16:54:41 +02:00
Andrew Klychkov
dad555a536
Tests: add ansible 2.11 support ( #138 )
...
@Andersson007 thanks for this PR
2021-04-06 11:12:27 +03:00
Andrew Klychkov
ba791bf983
Fix REVIEW_CHECKLIST.md ( #133 )
2021-03-31 08:54:51 +02:00
Andrew Klychkov
ecd15c83f7
Add refs to the committer guidelines ( #131 )
2021-03-29 11:48:11 +02:00
Andrew Klychkov
2960748473
CONTRIBUTING.md: add a reference to REVIEW_CHECKLIST.md ( #130 )
2021-03-28 07:54:55 +02:00
Andrew Klychkov
ca963b23c0
Add review_checklist.md ( #127 )
...
* Add review_checklist.md
* Add general tips
* Improve general tips
* fix
* fix
* fix
* fix
* fix
* fix
* Fix
* Update review_checklist.md
Co-authored-by: Amin Vakil <info@aminvakil.com>
* Fix
* Update review_checklist.md
Co-authored-by: Amin Vakil <info@aminvakil.com>
* Update review_checklist.md
Co-authored-by: Amin Vakil <info@aminvakil.com>
* Rename checklist
Co-authored-by: Amin Vakil <info@aminvakil.com>
* Update REVIEW_CHECKLIST.md
Co-authored-by: Jorge Rodriguez (A.K.A. Tiriel) <jorge.rodriguez@tiriel.eu>
* Add suggested
* Add clarifications
Co-authored-by: Amin Vakil <info@aminvakil.com>
Co-authored-by: Jorge Rodriguez (A.K.A. Tiriel) <jorge.rodriguez@tiriel.eu>
2021-03-27 10:03:03 +01:00
Andrew Klychkov
60646bcadb
Improve CONTRIBUTING.md ( #129 )
2021-03-26 21:20:50 +02:00
Jorge Rodriguez (A.K.A. Tiriel)
fcb459499e
Add discussions section ( #126 )
...
* Add discussions section
* Syntax improvements
Co-authored-by: Andrew Klychkov <aklychko@redhat.com>
Co-authored-by: Andrew Klychkov <aklychko@redhat.com>
2021-03-23 09:09:01 +01:00