lp:~hingo/drizzle/drizzle-drizzledump-and-other-version-fixes
- Get this branch:
- bzr branch lp:~hingo/drizzle/drizzle-drizzledump-and-other-version-fixes
Branch merges
- Mark Atwood: Needs Fixing
- Drizzle Merge Team: Pending requested
-
Diff: 44 lines (+15/-5)2 files modifiedclient/server_detect.cc (+13/-3)
tests/r/comments.result (+2/-2)
Branch information
Recent revisions
- 2503. By Henrik Ingo
-
Previous fix to server detection then only works against 7.1 series and
wouldn't correctly identify Drizzle 2011.xx.yy series. Now tests both
separetely. - 2502. By Henrik Ingo
-
ServerDetect assumes that Drizzle servers use versions 20xx.yy.zz and
this breaks when we want to use version numbers 7.1.x.
This fix simply changes the regexp to classify <= 6 as MySQL and
>= 7 as Drizzle. This needs to be fixed properly in a later commit, but
this should allow us to release an rc now. - 2501. By Henrik Ingo
-
select ... /*!72301 ... */ produces different result when we use 7.1.x
versioning. This in fact restores what the test has been doing originally. - 2500. By Henrik Ingo
-
Changing the version information for symbols was a mistake and
causes grief especially in debian packaging. We will continue
to call the ABI as "DRIZZLE7" for now. - 2499. By Henrik Ingo
-
1) Add support for using the descriptive appendixes -stable, -rc, -beta,
-alpha and -milestone in bzr tags used to tag releases.Example:
bzr tag 7.1.31-beta
produces
drizzle-7.1.31- beta.tar. gz In particular, a later non-release build from the bzr source tree will
correctly remove the appendix to produce a version like: 7.1.31.2501-snapshot Oh yes, non-release builds automatically append -snapshot.
If you continue to do non-appendix tags like 7.1.31 then things will
also just continue to work.2) Allow to use single digit minor version (2) and build number (3).
(I also allow you to use single digit major version (1) but there is
no code that does anything special about that...)Example
bzr tag 1.2.3Will produce PANDORA_RELEASE_ID 10203
which in turn will make this value appear in the drizzled variable
release_id.Previously the version numbers had to always be the same amount of
digits, we used yyyy.mm.bbThis is important since release id's without the prepended zeroes
would have been ambiguous:
1.2.34 -> 1234
1.23.4 -> 1234It is still allowed to continue using always double digit versions:
bzr tag 1.02.03
We should be consistent in always using either or. - 2498. By Henrik Ingo
-
Pandora-build is designed to create release version numbers with
3 levels: xx.yy.zz. A tarball with such a release number is created
automatically if a bzr tag with such a number is present:bzr tag xx.yy.zz
config/autorun.sh && ./configure && make dist...would generate drizzle-
xx.yy.zz. tar.gz Our process then goes on to test this tarball, publish it,
commit the tag and push it to trunk.In particular, xx.yy.zz is taken from the output of
bzr tags -r-1
If no tag is present in the current uncommitted working tree, then
a four-level version number is generated, with the last number being
the output of `bzr revno`:drizzle-
xx.yy.zz. revno.tar. gz This commit adds support for an alternative use case: If you have a bzr
branch where the most recent commit includes the tag, and you haven't
done any changes to the branch (brz diff outputs nothing), then make
dist will also generate a 3 level version numbered tar ball.This enables a process where we use Jenkins to do our source releases:
- Check that latest runs in Jenkins are all passing.
- Do bzr tag xx.yy.zz, commit and push to trunk.
- Have a coffee while Jenkins creates a tar ball.
- Take a copy of the tar ball from Jenkins and publish it. - 2497. By Henrik Ingo
-
Previous sweep seems to work bueno. Just update .bzrignore with 2 new
filenames and we are done with the first step. - 2496. By Henrik Ingo
-
First sweep: Move any occurence of drizzle7 in any kind of file to
just drizzle, and the same for drizzled7 to drizzled. Then do the same for
filenames. In the makefile some symlinking of drizzled vs drizzled7 can
simply be removed now.This commit doesn't include any testing yet.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:~drizzle-trunk/drizzle/development