Compare commits

...

12 commits

Author SHA1 Message Date
Michael Banck 941e358015 Setting distribution to unreleased 2023-02-17 09:34:22 +01:00
Michael Banck e3e474e941 Final changelog for patroni_3.0.1-1 2023-02-17 09:34:22 +01:00
Michael Banck a20c84dccc * debian/control (Uploaders): Updated. 2023-02-17 09:33:41 +01:00
Michael Banck 237a471872 * New upstream release. 2023-02-16 17:08:18 +01:00
Michael Banck 1696b49173 Setting distribution to unreleased 2023-01-31 22:28:26 +01:00
Michael Banck 6080e04541 Final changelog for patroni_3.0.0-1 2023-01-31 22:28:26 +01:00
Michael Banck 3fa4d74c3d * debian/control (Depends): Removed obsolete lsb-base. 2023-01-31 20:21:17 +01:00
Michael Banck fc47254fde * debian/patches/regression_tests_skip_citus_test.patch: New patch, skips
the citus unit test for now as it fails on some configurations.
2023-01-31 09:23:08 +01:00
Michael Banck 8325643e03 * debian/tests/control: Add procps as dependency and skip DCS failsafe mode
acceptance tests on zookeeper.
2023-01-30 22:47:40 +01:00
Michael Banck f27a4dcb87 * debian/patches/acceptance_tests_system_patroni.patch: Refreshed.
* debian/patches/avoid_overwriting_configuration_during_boostrap.patch:
    Likewise.
2023-01-30 11:20:34 +01:00
Michael Banck 9a65ac8b54 * New major upstream release. 2023-01-30 11:19:38 +01:00
Michael Banck 2a3aed8b82 Setting distribution to unreleased 2023-01-23 21:25:15 +01:00
7 changed files with 51 additions and 10 deletions

26
debian/changelog vendored
View file

@ -1,3 +1,29 @@
patroni (3.0.1-2) UNRELEASED; urgency=medium
-- Debian PostgreSQL Maintainers <team+postgresql@tracker.debian.org> Fri, 17 Feb 2023 09:34:22 +0100
patroni (3.0.1-1) unstable; urgency=medium
* New upstream release.
* debian/control (Uploaders): Updated.
-- Michael Banck <mbanck@debian.org> Fri, 17 Feb 2023 09:33:48 +0100
patroni (3.0.0-1) unstable; urgency=medium
* New major upstream release.
* debian/patches/acceptance_tests_system_patroni.patch: Refreshed.
* debian/patches/avoid_overwriting_configuration_during_boostrap.patch:
Likewise.
* debian/tests/control: Add procps as dependency and skip DCS failsafe mode
acceptance tests on zookeeper.
* debian/patches/regression_tests_skip_citus_test.patch: New patch, skips
the citus unit test for now as it fails on some configurations.
* debian/control (Depends): Removed obsolete lsb-base.
-- Michael Banck <michael.banck@credativ.de> Tue, 31 Jan 2023 22:27:24 +0100
patroni (2.1.7-1) unstable; urgency=medium
* New upstream release.

4
debian/control vendored
View file

@ -2,7 +2,7 @@ Source: patroni
Section: database
Priority: optional
Maintainer: Debian PostgreSQL Maintainers <team+postgresql@tracker.debian.org>
Uploaders: Michael Banck <michael.banck@credativ.de>,
Uploaders: Michael Banck <mbanck@debian.org>,
Adrian Vondendriesch <adrian.vondendriesch@credativ.de>,
Build-Depends:
debhelper (>= 10),
@ -46,7 +46,7 @@ Homepage: https://github.com/zalando/patroni
Package: patroni
Architecture: all
Depends: ${misc:Depends}, ${python3:Depends}, lsb-base (>= 3.0-6), python3-psycopg2,
Depends: ${misc:Depends}, ${python3:Depends}, python3-psycopg2,
python3-etcd (>= 0.4.3) | python3-consul (>= 0.7.0) | python3-kazoo |
python3-kubernetes | python3-pysyncobj, python3-cdiff
Recommends: iproute2

View file

@ -2,7 +2,7 @@ Index: patroni/features/environment.py
===================================================================
--- patroni.orig/features/environment.py
+++ patroni/features/environment.py
@@ -147,7 +147,7 @@ class PatroniController(AbstractControll
@@ -150,7 +150,7 @@ class PatroniController(AbstractControll
if os.name == 'nt':
env['BEHAVE_DEBUG'] = 'true'
patroni = subprocess.Popen([sys.executable, '-m', 'coverage', 'run',

View file

@ -17,11 +17,11 @@ Date: Fri Jul 29 14:55:15 2022 +0200
Close #2370
diff --git a/patroni/postgresql/config.py b/patroni/postgresql/config.py
index 9314315..976cf48 100644
--- a/patroni/postgresql/config.py
+++ b/patroni/postgresql/config.py
@@ -362,7 +362,7 @@ class ConfigHandler(object):
Index: patroni/patroni/postgresql/config.py
===================================================================
--- patroni.orig/patroni/postgresql/config.py
+++ patroni/patroni/postgresql/config.py
@@ -355,7 +355,7 @@ class ConfigHandler(object):
try:
for f in self._configuration_to_save:
config_file = os.path.join(self._config_dir, f)
@ -30,7 +30,7 @@ index 9314315..976cf48 100644
if os.path.isfile(config_file):
shutil.copy(config_file, backup_file)
except IOError:
@@ -374,7 +374,7 @@ class ConfigHandler(object):
@@ -367,7 +367,7 @@ class ConfigHandler(object):
try:
for f in self._configuration_to_save:
config_file = os.path.join(self._config_dir, f)

View file

@ -0,0 +1,13 @@
--- ./tests/test_citus.py.orig 2023-01-31 09:22:20.849730475 +0100
+++ ./tests/test_citus.py 2023-01-31 09:22:46.673632646 +0100
@@ -4,7 +4,10 @@
from . import BaseTestPostgresql, MockCursor, psycopg_connect, SleepException
from .test_ha import get_cluster_initialized_with_leader
+import unittest
+
+@unittest.skipIf(True, "Citus not tested")
@patch('patroni.postgresql.citus.Thread', Mock())
@patch('patroni.psycopg.connect', psycopg_connect)
class TestCitus(BaseTestPostgresql):

View file

@ -4,3 +4,4 @@ requirements_setuptools.patch
offline_intersphinx.patch
requirements_cdiff.patch
avoid_overwriting_configuration_during_boostrap.patch
regression_tests_skip_citus_test.patch

View file

@ -58,8 +58,9 @@ Depends:
python3-behave,
python3-coverage,
python3-kazoo,
procps,
@,
Test-Command: debian/tests/acceptance zookeeper
Test-Command: debian/tests/acceptance zookeeper "-e dcs_failsafe_mode"
Restrictions: needs-root, allow-stderr, flaky, skip-not-installable
# raft