lp:~daniel-nichter/mysql-sandbox/any-package-support

Created by Daniel Nichter and last modified

This branch adds support for making sandboxes with other, non-MySQL tarballs like mariadb-5.1.47-Linux-x86_64.tar.gz or Percona-Server-5.1.47-rel11.2-53-Linux-x86_64.tar.gz by specifying --package_name (e.g. "mariadb" or "Percona-Server"). The trunk code does not work with other MySQL packages/branches/distros because it expects tarballs to start with the hard coded value "mysql".

The --unpack_tarball option is necessary to force unpacking a tarball in case the same version of two different packages is created. If --unpack_tarball isn't specified, then the second sandbox is created using the first sandbox's package (i.e. the directory unpacked for it previously) which may be different.

Get this branch:
bzr branch lp:~daniel-nichter/mysql-sandbox/any-package-support
Only Daniel Nichter can upload to this branch. If you are Daniel Nichter please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Daniel Nichter
Project:
MySQL Sandbox
Status:
Experimental

Recent revisions

42. By Daniel Nichter

Add options --package_name and --unpack_tarball to make_sandbox to support any package (MariaDB, Percona Server, etc.). Fix minor typos in README.

41. By Giuseppe Maxia

- fixed minor problems in the test suite about testing on Windows
- added a prototype for MySQL Cluster integration

40. By Giuseppe Maxia

- Fixed bug in test_sandbox. When a test evaluates only the result code and there is no output from a failing command, test_result was not able to detect the failure.
- fixed bug in test_sandbox. Due to a change in behavior in the mysql client, where './use -B -N' with a \G terminated query does not show the headers since 5.1.43, We need to take into account the pre and post fix behaviors in the test.
- Integrated set_plugins into sbtool
- Updated documentation
- added tests for innodb plugin installation
- added tests for semi-synch plugin installation
- Fixed bug in 'stop' script. It did not accept $MYCLIENT_OPTION
- Fixed bug#487864 - tar was using '--help' instead of '--version' to detect the supported version.
- Fixed bug in sbtool. It did not display credits in the help.
- Added test to skip testing on Windows.
- added instrumentation to all MySQL Sandbox scripts. If you set the $SBINSTR environment variable with the name of a file, all sandbox scripts will write an entry to that file with their run time params.

39. By Giuseppe Maxia

- fixed bug in test_sandbox. Due to a change in behavior in the mysql client, where './use -B -N' with a \G terminated query does not show the headers since 5.1.43, We need to take into account the pre and post fix behaviors in the test.
- Integrated set_plugins into sbtool
- Updated documentation

38. By Giuseppe Maxia

- Fixed bug in ./clear script. In version 5.5 and bigger, it erased the performance_schema database, which should not be removed. If it exists, its tables are now truncated.
- Fixed bug in ./clear script. The removal of databases was not executed in a clean mode.
- Added a script to install plugins in ./drafts

37. By Giuseppe Maxia

- added a check in the 'start' script to verify that mysqld_safe exists and does can run properly.
- Added an exit code to the 'start' script to alert when the server does not start
- added help to make_sandbox_from_installed. Added /usr/sbin as source directory
- added instructions to the 'clear' script to remove functions and plugins

36. By Giuseppe Maxia

- Fixed make_sandbox_from_source failure due to changes in modified configure.in (Thanks to Padraig O'Sullivan for noticing)
- modified the "USING" file, which now includes the Sandbox version
- Changed default test version from 5.0.77 to 5.0.86

35. By Giuseppe Maxia

- Fixed Bug#504789 export_binaries fails on some OS when crossing file systems

34. By Giuseppe Maxia

- Fixed bud in make_multiple_custom_sandbox. With some versions of bash, it broke on tests with "use_all"
- fixed bug on symlink access on some platforms.

33. By Giuseppe Maxia

- Fixed bug in prompt definition. A stray quote was added at the start of each user-defined prompt.
- Fixed Bug#456949 "each sandbox should have a dedicated temporary directory".
- Fixed Bug#439226 "sandbox_action script uses wrong version of Perl"
- Improved documentation to resolve Bug#392996 "make install Sandbox.pm path issues".
- added 'status' script to sandboxes
- fixed db_user definition, which could write trail character to the option file.

Branch metadata

Branch format:
Branch format 6
Repository format:
Bazaar pack repository format 1 (needs bzr 0.92)
This branch contains Public information 
Everyone can see this information.

Subscribers