Skip to content

Commit

Permalink
2.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
pgstef committed Feb 10, 2021
1 parent 3be4bad commit 0f8931e
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 17 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Changelog
=========

2020-xx-xx v2.0:
2021-02-10 v2.0:

- Only support pgBackRest **2.28** and above in order to only use its internal
commands. This remove Perl dependencies no-longer needed to reach repository
Expand Down
7 changes: 3 additions & 4 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ SYNOPSIS
check_pgbackrest [--help]

DESCRIPTION
check_pgbackrest is designed to monitor pgBackRest backups from Nagios.
check_pgbackrest is designed to monitor pgBackRest (2.32 and above)
backups from Nagios.

-s, --service SERVICE
The Nagios service to run. See section SERVICES for a description of
Expand Down Expand Up @@ -105,8 +106,6 @@ DESCRIPTION
Use the "--extended-check" argument to force a full check of the
found archives and raise warnings in case of inconsistencies.

This service only support pgBackRest 2.28 and above.

check_pgb_version
Check if this script is running a given version.

Expand All @@ -117,7 +116,7 @@ CONTRIBUTING
welcome.

VERSION
check_pgbackrest version 1.9, released on Tue Jul 28 2020.
check_pgbackrest version 2.0, released on Wed Feb 10 2021.

LICENSING
This program is open source, licensed under the PostgreSQL license. For
Expand Down
6 changes: 2 additions & 4 deletions README.pod
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ check_pgbackrest - pgBackRest backup check plugin for Nagios

=head1 DESCRIPTION

check_pgbackrest is designed to monitor pgBackRest backups from Nagios.
check_pgbackrest is designed to monitor pgBackRest (2.32 and above) backups from Nagios.

=over

Expand Down Expand Up @@ -126,8 +126,6 @@ are ignored.
Use the C<--extended-check> argument to force a full check of the found
archives and raise warnings in case of inconsistencies.

This service only support pgBackRest 2.28 and above.

=item B<check_pgb_version>

Check if this script is running a given version.
Expand All @@ -142,7 +140,7 @@ check_pgbackrest is an open project. Any contribution to improve it is welcome.

=head1 VERSION

check_pgbackrest version 1.9, released on Tue Jul 28 2020.
check_pgbackrest version 2.0, released on Wed Feb 10 2021.

=head1 LICENSING

Expand Down
5 changes: 0 additions & 5 deletions RELEASING.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,6 @@ at the end of the in-line documentation in this script.

Use date format `LC_TIME=C date +"%a %b %d %Y"`.

In `check_pgbackrest.spec`:
* update the tag in the `_tag` variable (first line)
* update the version in `Version:`
* edit the changelog

Update the `CHANGELOG.md` file too.

Update the tests results `test/regress/expected/version.out`.
Expand Down
4 changes: 2 additions & 2 deletions check_pgbackrest
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ undef @path;
# Reference to the output sub
my $output_fmt;

$VERSION = '2.0dev';
$VERSION = '2.0';
$PROGRAM = 'check_pgbackrest';
$PGBR_SUPPORT = '2.32';
$INIT_TIME = time();
Expand Down Expand Up @@ -1123,7 +1123,7 @@ check_pgbackrest is an open project. Any contribution to improve it is welcome.
=head1 VERSION
check_pgbackrest version 1.9, released on Tue Jul 28 2020.
check_pgbackrest version 2.0, released on Wed Feb 10 2021.
=head1 LICENSING
Expand Down
2 changes: 1 addition & 1 deletion tests/common/regress/expected/version.out
Original file line number Diff line number Diff line change
@@ -1 +1 @@
check_pgbackrest version 2.0dev
check_pgbackrest version 2.0

0 comments on commit 0f8931e

Please sign in to comment.