-
-
v0.80e827758 · ·
v0.8 Summary: - Drop tendril support. - Various minor cleanups. 0e82775 Prepare for 0.8 release. c8b0680 switchover: Drop tendril support. 5964f28 switchover.py: Change references to db-mysql. ddf1fbc dbutil: Make testing easier 997ee9c Various cfg cleanups. 9d74f37 debian: Add lintian overrides
-
v0.7d0c1e036 · ·
v0.7 Summary: - Integration test environment in place, with integration tests for many parts of the codebase. - Fixes an issue with db-switchover when the 'zarcillo' database is running with an incompatible isolation mode. https://phabricator.wikimedia.org/T272954 - Rework how address parsing/splitting works. - db-replication-tree: Add --no-color. - Use systemd to manage pt-heartbeat. d0c1e03 Prepare for 0.7 release. 7f000c3 switchover: Use heartbeat systemd service. bc7669a setup.py: Don't use latest cumin for py3.5 c087269 WMFMariaDB: Allow setting debug via env var 6607657 compare: Use dbutil.addr_split for parsing host:port c99ad61 tox: Upgrade mypy to a version that has --exclude 93425b1 dbutil: Use fqdn if host doesn't match a dc shortname. f3c3702 debian: Ignore integration_env cache dir. ce713a7 integration_env: Upgrade to latest dbdeployer. 0c5726e integration: Bring mariadb settings closer to prod. 8fbdcfd integration: Fix master_heartbeat_period issues. eec0c2d README.md: Update reqs for integration testing. 2422610 integration_env: Pass through unknown args to deploy 7a1b94d integration: Allow skipping of checksumming of cached files. 58f5d89 integration: Move common funcs to integration/utils.py 675eb91 WMFMariaDB: Display ip addresses properly. aedcf6a integration: Add tests for db-move-replica 03beec3 test: Add query_db util func a4fa52a integration: Allow different scopes for fixture use. 0abb50a WMFReplication: Support reading different my.cnf in test env. eb2f4a9 integration: Tidy up use of fixtures 982719f integration_env: Rework cli to simplify operations 8aefc8a integration: Start/stop env for every test module. 297f926 test_replication_tree: Make common _run() method 34c916b wmfmariadb: Don't use socket format if no socket is set 16537e4 integration: Add tests for db-replication-tree fef876e integration: Display error messages on env start/stop failure 4f578e0 replication_tree: Add --no-color 29a347a integration: Use a fixture for starting/stopping env 01b4ed2 integration: Allow testing of multiple versions 7b88710 tox: Add py3 env that uses default system python3 814c74a dbutil: Resolve IPs to hostnames 7f71d9b dbutil: Add addr_split ac32d9f tox/unit: Allow unit tests to be indepdenent of env vars 153cacc integration_env: Make deployment more configurable 99a4e0d integration_env: Use better names for paths. 35ea942 integration_env: Add 'dbvers' command 585d06c Ensure we don't use a broken version of pip. d88db2e switchover: Work-around isolation level issue 15a68e8 setup.cfg: Don't specify a python_version for mypy 38660e9 integration: Complete framework for running basic tests b3583d1 test: TestOnlineSchemaChanger missed analyze config 7095b52 test: Start implementation of integration-env c0ba960 integration: Very early PoC on dockerizing dbdeployer
-
v0.6.141f837b7 · ·
v0.6.1 Summary: - Make tox config work on older tox versions - Include dbutil.py in debian package 41f837b Prepare for 0.6.1 release. 1341c8e debian: Fix dbutil.py not being included in package. 85cd855 Move tox.ini comments to newlines, as in my env tox same line comments fail to parse
-
v0.6add8ed15 · ·
v0.6 Summary: * Static methods moved out of WMFMariaDB.py into dbutil.py * Path to section ports file overridable using env var * Converted unit testing to pytest * Tox refactoring and simplification add8ed1 Prepare for 0.6 release. 770efa5 debian: Update maintainer name. 0971b11 dbutil: Simplify typing in read_section_ports_list ccc2c0e dbutil: Allow .csv path to be overridden in env 8d8aeba tox: Output format diffs d4cd4c9 (Mostly) convert to pytest. 2e60b1e tox: Expand to test against py3.[5678] 80853d0 WMFReplication: Look at the current user's ~/.my.cnf c2da1c4 dbutil: Look at the current user's ~/.my.cnf d9ef9ad dbutil: Pass mypy --strict 2230a48 mypy: Move config to setup.cfg a95ca11 dbutil: Drop get_wikis() 6791a3f WMFMariaDB: remove execute_many() f3f094c mysql.py: Update to dbutil 73eda1f Split static methods out of WMFMariaDB.py into dbutil.py 7b5d0dd wmfmariadb: Fix 2 lint warnings for unused variables. 1bd00fe Remove unused class attributes 77af47c isort: Ignore debian/ dir
-
v0.5591e0b9c · ·
v0.5 Summary: * Use config file for mapping between sections and ports. * mysql.py now uses WMFMariaDB. * Add support for using section names instead of port numbers. * Treat 'clouddb*' the same as 'labsdb*' * Format code with 'black' and 'isort' 591e0b9 (HEAD -> master, origin/master, origin/HEAD) Prepare for 0.5 release. 95b7ccd Exclude /cover dir from debian source tarball. 1e61933 mariadb: Use labsdb mysql config group for both labsdb and clouddb hosts 39a7cc5 resolve: Allow connections with <hostname>:<section>, in addition to port b905911 mariadb.py: Remove redundant code already present on WMFMariaDB class 09accfe WMFMariaDB: Update default section -> port assignment path 23465a3 Move WMFMariaDB.__init__() to the top of the class. db0b1e6 Remove unused 'charset' attribute. c246376 Merge "Actually pin black/isort versions this time." e79b6a4 Remove wmfbackups from wmfmariadbpy repo f65864b Actually pin black/isort versions this time. 3c0f83b Use fixed versions for black and isort. afd5223 Merge "wmfmariadbpy: Add unit tests for resolve method" 54f64d0 Merge "wmfmariadbpy: Load and provide a method for section to port assignment" 5a45661 wmfmariadbpy: Add unit tests for resolve method 3650597 wmfmariadbpy: Load and provide a method for section to port assignment 178f97e Tidy up import ordering using isort. 3b97c7e Add mypy to tox, and check in CI. 0a49876 Remove unused sql.py and check_private_data.py d2812e2 Run 'black' in CI against wmfmariadbpy. 767a746 Run 'black' against setup.py and wmfmariadbpy d07ee0e Add 'black' formatter support.
-
v0.432232d2d · ·
v0.4 32232d2 Replace the old wmfmariadbpy metapackage e5c3445 wmfbackups: Split WMFBackup into its logical components (backup methods) 5865892 wmfbackups: Copy backup-related scripts from puppet to wmfmariadbpy 45bf9fe wmfmariadbpy: Reorganize backup scripts into its own directory 4a6a29f Update remote execution libraries from transferpy 6a173f7 Expand metadata. 0cc1f0b Clean-up dependencies.