aboutsummaryrefslogtreecommitdiff
path: root/prometheus_borgmatic_exporter
diff options
context:
space:
mode:
authorDennis Fink2026-09-19 17:35:14 +0200
committerDennis Fink2026-09-19 17:35:14 +0200
commit4c2962f2c73e775f2d0a26064f4ca9bfeb1c92b7 (patch)
tree754d33773cc521ed66afee8ac5c503784af99d4c /prometheus_borgmatic_exporter
parent3a52d4cf01e4443aba1b9f78152f673330274295 (diff)
downloadprometheus-borgmatic-exporter-4c2962f2c73e775f2d0a26064f4ca9bfeb1c92b7.tar.gz
prometheus-borgmatic-exporter-4c2962f2c73e775f2d0a26064f4ca9bfeb1c92b7.zip
chore(release): prepare v2.0.0v2.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.
Diffstat (limited to '')
-rw-r--r--prometheus_borgmatic_exporter/__init__.py5
-rw-r--r--prometheus_borgmatic_exporter/__main__.py4
-rw-r--r--prometheus_borgmatic_exporter/metrics.py4
-rw-r--r--prometheus_borgmatic_exporter/types.py1
4 files changed, 9 insertions, 5 deletions
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 <me+coding@dennisfink.me>"
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 <me+coding@dennisfink.me>
+#
+# 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 <me+coding@dennisfink.me>
#
# 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 <me+coding@dennisfink.me>
#
# SPDX-License-Identifier: BSD-3-Clause
+
"""TypedDict definitions for borgmatic JSON output structures."""
from typing import Any, TypedDict