Compare commits
5 commits
e95db55000
...
a5c4341771
Author | SHA1 | Date | |
---|---|---|---|
a5c4341771 | |||
88a2257fbf | |||
811db7494f | |||
22f96aa154 | |||
cc1f2d5793 |
19
debian/changelog
vendored
Normal file
19
debian/changelog
vendored
Normal file
|
@ -0,0 +1,19 @@
|
|||
check-patroni (1.0.0-1~bpo11+1) bullseye-backports; urgency=medium
|
||||
|
||||
* Use Python 3.9 for Bullseye
|
||||
* Use recent python3-pytest-mock for tests
|
||||
* Rebuild for bullseye-backports
|
||||
|
||||
-- David Prévot <dprevot@evolix.fr> Fri, 29 Sep 2023 11:38:50 +0200
|
||||
|
||||
check-patroni (1.0.0-1~bpo12+1) bookworm-backports; urgency=medium
|
||||
|
||||
* Rebuild for bookworm-backports
|
||||
|
||||
-- David Prévot <dprevot@evolix.fr> Fri, 29 Sep 2023 11:07:58 +0200
|
||||
|
||||
check-patroni (1.0.0-1) unstable; urgency=medium
|
||||
|
||||
* Initial release, initiated by py2dsp/3.20230219
|
||||
|
||||
-- David Prévot <taffit@debian.org> Wed, 06 Sep 2023 14:26:10 +0530
|
2
debian/check_patroni.1.in
vendored
Normal file
2
debian/check_patroni.1.in
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
[name]
|
||||
check-patroni \- Nagios plugin to check on patroni
|
27
debian/control
vendored
Normal file
27
debian/control
vendored
Normal file
|
@ -0,0 +1,27 @@
|
|||
Source: check-patroni
|
||||
Section: utils
|
||||
Priority: optional
|
||||
Maintainer: David Prévot <taffit@debian.org>
|
||||
Build-Depends: debhelper-compat (= 13),
|
||||
help2man,
|
||||
pybuild-plugin-pyproject,
|
||||
python3-all,
|
||||
python3-attr,
|
||||
python3-click,
|
||||
python3-nagiosplugin,
|
||||
python3-pytest-mock (>= 3),
|
||||
python3-requests,
|
||||
python3-setuptools
|
||||
Standards-Version: 4.6.2
|
||||
Testsuite: autopkgtest-pkg-pybuild
|
||||
Homepage: https://github.com/dalibo/check_patroni
|
||||
Vcs-Git: https://salsa.debian.org/debian/check-patroni.git
|
||||
Vcs-Browser: https://salsa.debian.org/debian/check-patroni
|
||||
Rules-Requires-Root: no
|
||||
|
||||
Package: check-patroni
|
||||
Architecture: all
|
||||
Depends: ${misc:Depends}, ${python3:Depends}
|
||||
Description: Nagios plugin to check on patroni
|
||||
A nagios plugin for patroni that checks presence of leader, replicas,
|
||||
and node counts, and also checks each node for replication status.
|
55
debian/copyright
vendored
Normal file
55
debian/copyright
vendored
Normal file
|
@ -0,0 +1,55 @@
|
|||
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||
Upstream-Name: check-patroni
|
||||
Upstream-Contact: Dalibo <contact@dalibo.com>
|
||||
Source: https://github.com/dalibo/check_patroni
|
||||
|
||||
Files: *
|
||||
Copyright: 2022, DALIBO <contact@dalibo.com>
|
||||
License: PostgreSQL
|
||||
|
||||
Files: vagrant/*
|
||||
Copyright: 2019, Jehan-Guillaume (ioguix) de Rorthais
|
||||
License: BSD-3-clause
|
||||
|
||||
License: BSD-3-clause
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions are met:
|
||||
.
|
||||
* Redistributions of source code must retain the above copyright notice, this
|
||||
list of conditions and the following disclaimer.
|
||||
.
|
||||
* Redistributions in binary form must reproduce the above copyright notice,
|
||||
this list of conditions and the following disclaimer in the documentation
|
||||
and/or other materials provided with the distribution.
|
||||
.
|
||||
* Neither the name of the copyright holder nor the names of its
|
||||
contributors may be used to endorse or promote products derived from
|
||||
this software without specific prior written permission.
|
||||
.
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
||||
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
||||
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
||||
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
||||
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
License: PostgreSQL
|
||||
Permission to use, copy, modify, and distribute this software and its
|
||||
documentation for any purpose, without fee, and without a written agreement is
|
||||
hereby granted, provided that the above copyright notice and this paragraph and
|
||||
the following two paragraphs appear in all copies.
|
||||
.
|
||||
IN NO EVENT SHALL DALIBO BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT, SPECIAL,
|
||||
INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS, ARISING OUT OF THE
|
||||
USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF DALIBO HAS BEEN ADVISED OF
|
||||
THE POSSIBILITY OF SUCH DAMAGE.
|
||||
.
|
||||
DALIBO SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE
|
||||
SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND DALIBO HAS NO
|
||||
OBLIGATIONS TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR
|
||||
MODIFICATIONS.
|
5
debian/gbp.conf
vendored
Normal file
5
debian/gbp.conf
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
[DEFAULT]
|
||||
debian-branch = debian/latest
|
||||
pristine-tar = True
|
||||
upstream-branch = upstream/latest
|
||||
upstream-vcs-tag = v%(version%~%-)s
|
1
debian/manpages
vendored
Normal file
1
debian/manpages
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
debian/tmp/check_patroni.1
|
1
debian/python3-check-patroni.docs
vendored
Normal file
1
debian/python3-check-patroni.docs
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
README.md
|
14
debian/rules
vendored
Executable file
14
debian/rules
vendored
Executable file
|
@ -0,0 +1,14 @@
|
|||
#! /usr/bin/make -f
|
||||
|
||||
export PYBUILD_NAME=check-patroni
|
||||
%:
|
||||
dh $@ --with python3 --buildsystem=pybuild
|
||||
|
||||
execute_before_dh_installman:
|
||||
mkdir --parent $(CURDIR)/debian/tmp
|
||||
PYTHONPATH=debian/check-patroni/usr/lib/python3.9/dist-packages \
|
||||
help2man \
|
||||
--no-info \
|
||||
--include=$(CURDIR)/debian/check_patroni.1.in \
|
||||
debian/check-patroni/usr/bin/check_patroni \
|
||||
> $(CURDIR)/debian/tmp/check_patroni.1
|
1
debian/source/format
vendored
Normal file
1
debian/source/format
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
3.0 (quilt)
|
1
debian/source/options
vendored
Normal file
1
debian/source/options
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
extend-diff-ignore="^[^/]+.(egg-info|dist-info)/"
|
5
debian/upstream/metadata
vendored
Normal file
5
debian/upstream/metadata
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
Bug-Database: https://github.com/dalibo/check_patroni/issues
|
||||
Bug-Submit: https://github.com/dalibo/check_patroni/issues/new
|
||||
Repository: https://github.com/dalibo/check_patroni.git
|
||||
Repository-Browse: https://github.com/dalibo/check_patroni
|
2
debian/watch
vendored
Normal file
2
debian/watch
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
version=4
|
||||
https://github.com/dalibo/check_patroni/tags (?:.*?/)?v?(\d[\d.]*)\.tar\.gz
|
Loading…
Reference in a new issue