Merge lp:~percona-core/percona-xtrabackup/xbcloud into lp:percona-xtrabackup/2.3

Proposed by Alexey Kopytov
Status: Merged
Approved by: Alexey Kopytov
Approved revision: no longer in the source branch.
Merged at revision: 5039
Proposed branch: lp:~percona-core/percona-xtrabackup/xbcloud
Merge into: lp:percona-xtrabackup/2.3
Prerequisite: lp:~sergei.glushchenko/percona-xtrabackup/xbcloud
Diff against target: 160 lines (+33/-27)
5 files modified
XB_VERSION (+3/-3)
storage/innobase/xtrabackup/utils/debian/changelog (+6/-0)
storage/innobase/xtrabackup/utils/debian/control (+8/-17)
storage/innobase/xtrabackup/utils/debian/rules (+1/-1)
storage/innobase/xtrabackup/utils/percona-xtrabackup.spec (+15/-6)
To merge this branch: bzr merge lp:~percona-core/percona-xtrabackup/xbcloud
Reviewer Review Type Date Requested Status
Alexey Kopytov (community) Approve
Review via email: mp+240721@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Alexey Kopytov (akopytov) wrote :

Why the storage/innobase/xtrabackup/utils/debian/percona-xtrabackup* => storage/innobase/xtrabackup/utils/debian/percona-xtrabackup-23* rename?

review: Needs Information
Revision history for this message
Alexey Kopytov (akopytov) wrote :

Also, how exactly are the packages names? Is it 2.3.0alpha1 or 2.3.0-alpha1? We used the latter scheme in the past, but I'm not sure we are consistent with it in this release.

Revision history for this message
Tomislav Plavcic (tplavcic) wrote :

The package was renamed so it can go into testing repository and not mess with the real percona-xtrabackup package (so for example people that want to test next release of percona-xtrabackup install that one which later goes into main repository and they also can install percona-xtrabackup-23 to test that one).
Because of that this branch (at least as it is should not be merged to percona-xtrabackup - because of the packages renaming which are not good for real release) - not sure if this wasn't comunicated well or misunderstanding - I didn't know that this branch will be merged into main branch - I tought it is just a branch created for that one build.
Anyway if you wish I can revert my commits (parts) that rename packages and then it can possibly be merged?
Regarding package names they are like below (ended up like that when I inserted alpha1 into version - checked with AlexeyB and Hrvoje and there were no objections):
percona-xtrabackup-23-2.3.0-5047.alpha1.el6.x86_64.rpm
percona-xtrabackup-23_2.3.0-5047.alpha1-1.precise_amd64.deb

Revision history for this message
Alexey Kopytov (akopytov) wrote :

No, I was referring to directory renaming in the source code tree. Do we really need them.

As to package names. I think we should be consistent. If we used x.y.z-alphaN for PXB 2.1/2.2, we should follow the same naming scheme.

I understand it's too late to fix 2.3.0alpha1 now, this is more a request for future 2.3 releases.

As in, this branch will be merged anyway, because we have already released it (note that lp:percona-xtrabackup now points to the new trunk, lp:percona-xtrabackup/2.3).

I'm just trying to clarify a few things as a part of the "review".

Revision history for this message
Tomislav Plavcic (tplavcic) wrote :

Debian files were renamed because they need to match the package name (that's part of the packaging).
But if the PXB 2.3 is becoming a new trunk we need to agree on future releases and package names and how is transition going to happen.
I agree on alpha1 naming issue - will fix it the next release.

Revision history for this message
Alexey Kopytov (akopytov) wrote :

OK, I see, thanks.

Packaging naming has already been discussed with AlexeyB before. We agreed that we need to have explicit versions in package names and make 'percona-xtrabackup' a metapackage that would pull the current GA release series as a dependency.

However, I think it should be percona-xtrabackup-2.3 (i.e. with a dot between major/minor versions). Again, for consistency.

Revision history for this message
Alexey Kopytov (akopytov) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'XB_VERSION'
2--- XB_VERSION 2014-09-26 09:09:04 +0000
3+++ XB_VERSION 2014-11-05 13:32:25 +0000
4@@ -1,4 +1,4 @@
5 XB_VERSION_MAJOR=2
6-XB_VERSION_MINOR=2
7-XB_VERSION_PATCH=5
8-XB_VERSION_EXTRA=
9+XB_VERSION_MINOR=3
10+XB_VERSION_PATCH=0
11+XB_VERSION_EXTRA=alpha1
12
13=== modified file 'storage/innobase/xtrabackup/utils/debian/changelog'
14--- storage/innobase/xtrabackup/utils/debian/changelog 2014-09-26 09:09:04 +0000
15+++ storage/innobase/xtrabackup/utils/debian/changelog 2014-11-05 13:32:25 +0000
16@@ -1,3 +1,9 @@
17+percona-xtrabackup-23 (2.3.0alpha1) unstable; urgency=low
18+
19+ * Update to new release Percona XtraBackup 2.3.0alpha1
20+
21+ -- Tomislav Plavcic <tomislav.plavcic@percona.com> Tue, 28 Oct 2014 10:34:53 +0100
22+
23 percona-xtrabackup (2.2.5) unstable; urgency=low
24
25 * Update to new release Percona XtraBackup 2.2.5
26
27=== modified file 'storage/innobase/xtrabackup/utils/debian/control'
28--- storage/innobase/xtrabackup/utils/debian/control 2014-11-05 13:32:25 +0000
29+++ storage/innobase/xtrabackup/utils/debian/control 2014-11-05 13:32:25 +0000
30@@ -1,4 +1,4 @@
31-Source: percona-xtrabackup
32+Source: percona-xtrabackup-23
33 Section: database
34 Priority: extra
35 Maintainer: Debian MySQL Maintainers <pkg-mysql-maint@lists.alioth.debian.org>
36@@ -20,10 +20,11 @@
37 Standards-Version: 3.9.5
38 Homepage: http://www.percona.com/software/percona-xtrabackup
39
40-Package: percona-xtrabackup
41+Package: percona-xtrabackup-23
42 Architecture: any
43 Depends: libdbd-mysql-perl, rsync, ${misc:Depends}, ${shlibs:Depends}
44 Provides: xtrabackup
45+Conflicts: percona-xtrabackup, percona-xtrabackup-21
46 Breaks: xtrabackup (<< 2.0.0~)
47 Replaces: xtrabackup (<< 2.0.0~)
48 Enhances: mysql-server
49@@ -33,27 +34,17 @@
50 InnoDB, XtraDB and MyISAM tables on MySQL/Percona Server 5.1 and
51 5.5 servers, and has many advanced features.
52
53-Package: percona-xtrabackup-dbg
54+Package: percona-xtrabackup-dbg-23
55 Section: debug
56 Architecture: any
57-Depends: percona-xtrabackup (= ${binary:Version}), ${misc:Depends}
58+Depends: percona-xtrabackup-23 (= ${binary:Version}), ${misc:Depends}
59 Description: Debug symbols for Percona XtraBackup
60 Debug symbols for the binaries in percona-xtrabackup. Install this
61 package if you need to run any of those with gdb.
62
63-Package: percona-xtrabackup-test
64+Package: percona-xtrabackup-test-23
65 Architecture: any
66-Depends: mysql-client, percona-xtrabackup, python, ${misc:Depends}
67+Depends: mysql-client, percona-xtrabackup-23, python, ${misc:Depends}
68 Description: Test suite for Percona XtraBackup
69 Test suite for Percona XtraBackup. Install this package if you intend
70- to run XtraBackup's test suite.
71-
72-Package: xtrabackup
73-Architecture: all
74-Section: oldlibs
75-Depends: percona-xtrabackup, ${misc:Depends}
76-Description: Transitional package for percona-xtrabackup
77- In 2.2.x, the XtraBackup package name was rebranded to
78- percona-xtrabackup. This package is an empty dummy package
79- that depends on percona-xtrabackup, and replaces older versions of
80- xtrabackup (2.0.0). It is not intended to be installed manually.
81+ to run XtraBackup's test suite.
82\ No newline at end of file
83
84=== renamed file 'storage/innobase/xtrabackup/utils/debian/percona-xtrabackup.docs' => 'storage/innobase/xtrabackup/utils/debian/percona-xtrabackup-23.docs'
85=== renamed file 'storage/innobase/xtrabackup/utils/debian/percona-xtrabackup.install' => 'storage/innobase/xtrabackup/utils/debian/percona-xtrabackup-23.install'
86=== renamed file 'storage/innobase/xtrabackup/utils/debian/percona-xtrabackup.lintian-overrides' => 'storage/innobase/xtrabackup/utils/debian/percona-xtrabackup-23.lintian-overrides'
87=== renamed file 'storage/innobase/xtrabackup/utils/debian/percona-xtrabackup-test.install' => 'storage/innobase/xtrabackup/utils/debian/percona-xtrabackup-test-23.install'
88=== renamed file 'storage/innobase/xtrabackup/utils/debian/percona-xtrabackup-test.lintian-overrides' => 'storage/innobase/xtrabackup/utils/debian/percona-xtrabackup-test-23.lintian-overrides'
89=== modified file 'storage/innobase/xtrabackup/utils/debian/rules'
90--- storage/innobase/xtrabackup/utils/debian/rules 2014-11-05 13:32:25 +0000
91+++ storage/innobase/xtrabackup/utils/debian/rules 2014-11-05 13:32:25 +0000
92@@ -35,7 +35,7 @@
93 make -j$(NCPU)
94
95 override_dh_strip:
96- dh_strip --dbg-package=percona-xtrabackup-dbg
97+ dh_strip --dbg-package=percona-xtrabackup-dbg-23
98
99 %:
100 dh $@
101
102=== modified file 'storage/innobase/xtrabackup/utils/percona-xtrabackup.spec'
103--- storage/innobase/xtrabackup/utils/percona-xtrabackup.spec 2014-11-05 13:32:25 +0000
104+++ storage/innobase/xtrabackup/utils/percona-xtrabackup.spec 2014-11-05 13:32:25 +0000
105@@ -6,7 +6,7 @@
106 %define xb_revision @@XB_REVISION@@
107
108 #####################################
109-Name: percona-xtrabackup
110+Name: percona-xtrabackup-23
111 Version: %{xb_version_major}.%{xb_version_minor}.%{xb_version_patch}
112 Release: %{xb_revision}%{xb_rpm_version_extra}%{?dist}
113 Summary: XtraBackup online backup for MySQL / InnoDB
114@@ -16,21 +16,27 @@
115 URL: http://www.percona.com/software/percona-xtrabackup
116 Source: percona-xtrabackup-%{version}%{xb_version_extra}.tar.gz
117
118-BuildRequires: cmake, libaio-devel, libgcrypt-devel, ncurses-devel, readline-devel, zlib-devel, libev-devel, libcurl-devel
119+BuildRequires: cmake, libaio-devel, libgcrypt-devel, ncurses-devel, readline-devel, zlib-devel, libev-devel
120+%if 0%{?rhel} > 5
121+BuildRequires: libcurl-devel
122+%else
123+BuildRequires: curl-devel
124+%endif
125+Conflicts: percona-xtrabackup, percona-xtrabackup-21
126 Requires: perl(DBD::mysql), rsync
127 BuildRoot: %{_tmppath}/%{name}-%{version}-root
128
129 %description
130 Percona XtraBackup is OpenSource online (non-blockable) backup solution for InnoDB and XtraDB engines
131
132-%package -n percona-xtrabackup-test
133+%package -n percona-xtrabackup-test-23
134 Summary: Test suite for Percona XtraBackup
135 Group: Applications/Databases
136-Requires: percona-xtrabackup = %{version}-%{release}
137+Requires: percona-xtrabackup-23 = %{version}-%{release}
138 Requires: /usr/bin/mysql
139 AutoReqProv: no
140
141-%description -n percona-xtrabackup-test
142+%description -n percona-xtrabackup-test-23
143 This package contains the test suite for Percona XtraBackup %{version}
144
145 %prep
146@@ -77,11 +83,14 @@
147 %{_bindir}/xbcloud
148 %doc COPYING
149
150-%files -n percona-xtrabackup-test
151+%files -n percona-xtrabackup-test-23
152 %defattr(-,root,root,-)
153 %{_datadir}/percona-xtrabackup-test
154
155 %changelog
156+* Fri Sep 28 2014 Tomislav Plavcic <tomislav.plavcic@percona.com>
157+- Update to new release Percona XtraBackup 2.3.0alpha1
158+
159 * Fri Sep 26 2014 Tomislav Plavcic <tomislav.plavcic@percona.com>
160 - Update to new release Percona XtraBackup 2.2.5
161

Subscribers

People subscribed via source and target branches

to all changes: