Skip to content

Releases: gmemstr/database-janitor

Bugfixes

31 Jul 16:35
Compare
Choose a tag to compare

Small bugfix regarding gathering insert data for tables, warning/error message fix.

One Point Oh

05 Apr 18:20
7539406
Compare
Choose a tag to compare

Hey hey, 1.0! This version can now be considered stable, and production ready. Keep in mind you should never blindly run things in production environments though.

Updated docs coming soon.

Release Candidate 1

06 Feb 17:07
Compare
Choose a tag to compare

Considering this feature complete for v1, a lot of work to be done in optimizing the mysqldump-php library but meanwhile this can be tagged.

Changelog:

  • Added "include" for using secondary configuration files
    • e.g having a standard configuration file for all projects, then an additional project-specific config.
  • Switched to custom fork of mysqldump-php library for better, more specific performance improvements
  • Removed all instances of modifying the "real database"
    • All manipulation (e.g removed data) happens during the dump
  • Added specific keep-data configuration for keeping very specific rows from tables

Beta 3.1

11 Dec 22:17
Compare
Choose a tag to compare
Beta 3.1 Pre-release
Pre-release

Small bugfix, --password argument was ignored after Drupal support was added.

Beta 3

07 Dec 19:59
ef9067d
Compare
Choose a tag to compare
Beta 3 Pre-release
Pre-release

Mostly focused on performance improvements, also added ability to load Drupal settings file for database settings (still requires database argument for now) and "kept rows" for trimming and scrubbing operations (see README).

./janitor --drupal=/var/www/path/to/settings.local.php

Beta 2

22 Nov 23:21
9d70995
Compare
Choose a tag to compare
Beta 2 Pre-release
Pre-release
  • Lots of backend cleanup
  • New CI integration for consistent code quality
  • Remove need to do --trim=true - --trim or -t works fine

Mostly backend tweaks, but now packaged as a nice .phar :)

Initial Beta Release

20 Nov 23:37
8fb08c9
Compare
Choose a tag to compare
Initial Beta Release Pre-release
Pre-release

Testing release! Includes core functionality:

  • CLI interface with Symfony
  • Simple YAML configuration
  • Trimming and scrubbing of tables before a dump
  • Sanitizing of table columns

Normal dump:

./database-janitor --host=dbhost --username=dbusername real | gzip -c > output/real_test.sql.gz

Trim dump:

./database-janitor --host=dbhost --username=dbusername --trim=true real | gzip -c > output/real_test.sql.gz