July 23, 2014

MySQL sources from development tree

I just want to write few tips how to get MySQL from development BitKeeper tree, as there are several tricks.
First of all you need a fresh free client – bk-client2.0 http://www.bitkeeper.com/Hosted.Downloading.html .
Once you get it, you can clone latest tree:
bkf clone bk://mysql.bkbits.net/mysql-5.0 mysql-5.0

New client supports “changes” command, so you can look latest changes
bkf changes in mysql-5.0 directory.
It may be useful to get sources related to specific release. MySQL build team marks tree by TAG
with each new release. What I have looking by existing TAGS:

bkf changes | grep TAG
TAG: clone-5.0.32-build
TAG: mysql-5.0.30
TAG: clone-5.0.30-build
TAG: mysql-4.1.22
TAG: clone-4.1.22-build
TAG: mysql-5.0.28
TAG: mysql-5.0.27
TAG: mysql-5.0.26

So, to get sources for 5.0.30 release you need to run:

bkf clone -rmysql-5.0.30 bk://mysql.bkbits.net/mysql-5.0 mysql-5.0.30

Latest Falcon release is available on
bk://mysql.bkbits.net/mysql-5.2-falcon

Full list of available tree you can see here
http://mysql.bkbits.com/

About Vadim Tkachenko

Vadim leads Percona's development group, which produces Percona Clould Tools, the Percona Server, Percona XraDB Cluster and Percona XtraBackup. He is an expert in solid-state storage, and has helped many hardware and software providers succeed in the MySQL market.

Comments

  1. Larry McVoy says:

    You can do the tags thing more easily with

    bkf changes -t

    You can also search for a particular change with

    bkf changes -/string/

    and it will list only the changes with that string in the changeset commments.

    Enjoy.

Speak Your Mind

*