From 4c2962f2c73e775f2d0a26064f4ca9bfeb1c92b7 Mon Sep 17 00:00:00 2001 From: Dennis Fink Date: Sat, 19 Sep 2026 17:35:14 +0200 Subject: chore(release): prepare v2.0.0 Update the project version and revision date for the 2.0.0 release. Complete SPDX licensing metadata across project files and align the supported Python classifiers with the new Python 3.12 minimum. --- prometheus_borgmatic_exporter/__init__.py | 5 ++--- prometheus_borgmatic_exporter/__main__.py | 4 ++++ prometheus_borgmatic_exporter/metrics.py | 4 ++-- prometheus_borgmatic_exporter/types.py | 1 + 4 files changed, 9 insertions(+), 5 deletions(-) (limited to 'prometheus_borgmatic_exporter') diff --git a/prometheus_borgmatic_exporter/__init__.py b/prometheus_borgmatic_exporter/__init__.py index 8bfd629..c72012a 100644 --- a/prometheus_borgmatic_exporter/__init__.py +++ b/prometheus_borgmatic_exporter/__init__.py @@ -4,7 +4,6 @@ # # SPDX-License-Identifier: BSD-3-Clause - import json import os import subprocess @@ -18,10 +17,10 @@ from prometheus_client import write_to_textfile from . import metrics, types from .cli import FlexibleColorOption, debug, error, msg, verbose, warn -VERSION = "1.0.0" +VERSION = "2.0.0" DESCRIPTION = "Collect borgmatic repository metrics and export them for Prometheus." DATE_OF_CREATION = "2021-06-12" -DATE_OF_REVISION = "2026-05-01" +DATE_OF_REVISION = "2026-09-19" AUTHOR = "Dennis Fink " LICENSE = "BSD-3-Clause" diff --git a/prometheus_borgmatic_exporter/__main__.py b/prometheus_borgmatic_exporter/__main__.py index b5dc8e8..08d2010 100644 --- a/prometheus_borgmatic_exporter/__main__.py +++ b/prometheus_borgmatic_exporter/__main__.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2026 Dennis Fink +# +# SPDX-License-Identifier: BSD-3-Clause + from . import prometheus_borgmatic_exporter prometheus_borgmatic_exporter() diff --git a/prometheus_borgmatic_exporter/metrics.py b/prometheus_borgmatic_exporter/metrics.py index 683c179..8dcc0e2 100644 --- a/prometheus_borgmatic_exporter/metrics.py +++ b/prometheus_borgmatic_exporter/metrics.py @@ -1,9 +1,9 @@ -"""Prometheus metric definitions for the borgmatic exporter.""" - # SPDX-FileCopyrightText: 2026 Dennis Fink # # SPDX-License-Identifier: BSD-3-Clause +"""Prometheus metric definitions for the borgmatic exporter.""" + from prometheus_client import CollectorRegistry, Gauge, Info REGISTRY = CollectorRegistry(auto_describe=True) diff --git a/prometheus_borgmatic_exporter/types.py b/prometheus_borgmatic_exporter/types.py index 8b82fbe..86be8d7 100644 --- a/prometheus_borgmatic_exporter/types.py +++ b/prometheus_borgmatic_exporter/types.py @@ -1,6 +1,7 @@ # SPDX-FileCopyrightText: 2026 Dennis Fink # # SPDX-License-Identifier: BSD-3-Clause + """TypedDict definitions for borgmatic JSON output structures.""" from typing import Any, TypedDict -- cgit v1.3.1