Skip to content

Commit b44260f

Browse files
committed
build: 2.5.0
1 parent 8b6909d commit b44260f

File tree

9 files changed

+52
-23
lines changed

9 files changed

+52
-23
lines changed

README.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,20 +46,20 @@ Install from git:
4646

4747
.. code-block:: bash
4848
49-
$ git clone ... && cd mamonsu && python setup.py build && python setup.py install
49+
$ git clone ... && cd mamonsu && python3 setup.py build && python3 setup.py install
5050
5151
Build deb:
5252

5353
.. code-block:: bash
5454
55-
$ apt-get install make dpkg-dev debhelper python-dev python-setuptools
55+
$ apt-get install make dpkg-dev debhelper python3-dev python3-setuptools
5656
$ git clone ... && cd mamonsu && make deb && dpkg -i mamonsu*.deb
5757
5858
Build rpm:
5959

6060
.. code-block:: bash
6161
62-
$ yum install make rpm-build python2-devel python-setuptools
62+
$ yum install make rpm-build python3-devel python3-setuptools
6363
$ git clone ... && cd mamonsu && make rpm && rpm -i mamonsu*.rpm
6464
6565
Build repository, `./packaging/repo/gnupg` and `./packaging/repo/rpmmacros` must be provided by caller:

mamonsu/__init__.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
__author__ = 'Dmitry Vasilyev'
22
__author_email__ = 'info@postgrespro.ru'
33
__description__ = 'Monitoring agent for PostgreSQL'
4-
__version__ = '2.4.5'
4+
__version__ = '2.5.0'
55
__licence__ = 'BSD'
66

77
__url__ = 'https://github.com/postgrespro/mamonsu'
@@ -12,7 +12,6 @@
1212
'Operating System :: POSIX :: Linux',
1313
'Operating System :: Microsoft :: Windows',
1414
'License :: OSI Approved :: BSD License',
15-
'Programming Language :: Python :: 2',
1615
'Programming Language :: Python :: 3',
1716
'Topic :: System :: Monitoring'
1817
]

packaging/conf/template.xml

Lines changed: 4 additions & 4 deletions
Large diffs are not rendered by default.

packaging/conf/template_agent.xml

Lines changed: 4 additions & 4 deletions
Large diffs are not rendered by default.

packaging/debian/changelog

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
mamonsu (2.5.0-1) stable; urgency=low
2+
* drop python2 support
3+
* add old templates for mamonsu and zabbix-agent
4+
* add new plugin: pg_probackup
5+
* add new plugin: relations_size
6+
* add new plugin: prepared_transaction
7+
8+
-- PostgresPro DBA <dba@postgrespro.ru> Fri, 31 July 2020 16:37:00 +0300
9+
110
mamonsu (2.4.5-1) stable; urgency=low
211

312
* added checksum_failures metric in Instance plugin for Postgresql 12

packaging/rpm/SPECS/mamonsu.alt.spec

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,18 @@
22
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
33

44
Name: mamonsu
5-
Version: 2.4.5
5+
Version: 2.5.0
66
Release: 1%{?dist}
77
Summary: Monitoring agent for PostgreSQL
88
Group: Applications/Internet
99
License: BSD
1010
Source0: http://pypi.python.org/packages/source/m/mamonsu/mamonsu-%{version}.tar.gz
1111
Source1: mamonsu.init
1212
Source2: mamonsu-logrotate.in
13-
BuildRequires: python-dev
14-
BuildRequires: python-module-setuptools
13+
BuildRequires: python3-dev
14+
BuildRequires: python3-module-setuptools
1515
BuildArch: noarch
16-
Requires: python-module-setuptools
16+
Requires: python3-module-setuptools
1717

1818
%description
1919
Monitoring agent for PostgreSQL.
@@ -73,6 +73,13 @@ chown mamonsu.mamonsu /var/log/mamonsu
7373
/sbin/chkconfig --del mamonsu
7474

7575
%changelog
76+
* Fri Jul 31 2020 Alexander Popov <a.popov@postgrespro.ru> - 2.5.0-1
77+
- drop python2 support
78+
- add old templates for mamonsu and zabbix-agent
79+
- add new plugin: pg_probackup
80+
- add new plugin: relations_size
81+
- add new plugin: prepared_transaction
82+
7683
* Tue May 26 2020 Alexander Popov <a.popov@postgrespro.ru> - 2.4.5-1
7784
- added checksum_failures metric in Instance plugin for Postgresql 12
7885
- changed PG version support in commands:

packaging/rpm/SPECS/mamonsu.spec

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Name: mamonsu
2-
Version: 2.4.5
2+
Version: 2.5.0
33
Release: 1%{?dist}
44
Summary: Monitoring agent for PostgreSQL
55
Group: Applications/Internet
@@ -70,6 +70,13 @@ chown mamonsu.mamonsu /var/log/mamonsu
7070
/sbin/chkconfig --del mamonsu
7171

7272
%changelog
73+
* Fri Jul 31 2020 Alexander Popov <a.popov@postgrespro.ru> - 2.5.0-1
74+
- drop python2 support
75+
- add old templates for mamonsu and zabbix-agent
76+
- add new plugin: pg_probackup
77+
- add new plugin: relations_size
78+
- add new plugin: prepared_transaction
79+
7380
* Tue May 26 2020 Alexander Popov <a.popov@postgrespro.ru> - 2.4.5-1
7481
- added checksum_failures metric in Instance plugin for Postgresql 12
7582
- changed PG version support in commands:

packaging/rpm/SPECS/mamonsu.suse.spec

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
%define _datarootdir %{_prefix}/share
22
Name: mamonsu
3-
Version: 2.4.5
3+
Version: 2.5.0
44
Release: 1%{?dist}
55
Summary: Monitoring agent for PostgreSQL
66
Group: Applications/Internet
77
License: BSD
88
Source0: http://pypi.python.org/packages/source/m/mamonsu/mamonsu-%{version}.tar.gz
99
Source1: mamonsu.init
1010
Source2: mamonsu-logrotate.in
11-
BuildRequires: python-devel
12-
BuildRequires: python-setuptools
11+
BuildRequires: python3-devel
12+
BuildRequires: python3-setuptools
1313
BuildArch: noarch
1414
BuildRoot: %{_tmppath}/%{name}-%{version}-build
15-
Requires: python-setuptools
15+
Requires: python3-setuptools
1616

1717
%description
1818
Monitoring agent for PostgreSQL.
@@ -74,6 +74,13 @@ chown mamonsu.mamonsu /var/log/mamonsu
7474
/sbin/chkconfig --del mamonsu
7575

7676
%changelog
77+
* Fri Jul 31 2020 Alexander Popov <a.popov@postgrespro.ru> - 2.5.0-1
78+
- drop python2 support
79+
- add old templates for mamonsu and zabbix-agent
80+
- add new plugin: pg_probackup
81+
- add new plugin: relations_size
82+
- add new plugin: prepared_transaction
83+
7784
* Tue May 26 2020 Alexander Popov <a.popov@postgrespro.ru> - 2.4.5-1
7885
- added checksum_failures metric in Instance plugin for Postgresql 12
7986
- changed PG version support in commands:

packaging/win/mamonsu.def.nsh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
!define NAME Mamonsu
2-
!define VERSION 2.4.5
2+
!define VERSION 2.5.0
33
!define MAMONSU_REG_PATH "Software\PostgresPro\Mamonsu"
44
!define MAMONSU_REG_UNINSTALLER_PATH "Software\Microsoft\Windows\CurrentVersion\Uninstall"
55
!define EDB_REG "SOFTWARE\Postgresql"

0 commit comments

Comments
 (0)