| Commit message (Collapse) | Author | Age |
| |
|
|
|
|
|
|
| |
Add package keywords, classifiers, import metadata, and Pyright settings
to better describe the supported platform and intended audience.
Declare cloup as a direct dependency, require a recent Hatchling
version, and refresh the lockfile with cloup 4.0.0.
|
| |
|
|
|
|
|
| |
Clarify that --use-checkupdates replaces pacman when checking for
available package updates.
Update the README usage output to match the revised CLI help text.
|
| |
|
|
|
|
|
|
|
|
|
| |
Introduce a PackageQuery type to group each command with its
description, metric, and accepted exit codes.
Move the static pacman queries into module-level constants and construct
only the update and optional AUR queries at runtime.
Use immutable command tuples throughout and rename success_codes to
accepted_exit_codes to better describe the command execution contract.
|
| |
|
|
|
|
|
|
|
| |
Add help text for --use-checkupdates and clarify that checkupdates is
provided by pacman-contrib and checks for available updates without
modifying the system package databases.
Separate the AUR update documentation into its own paragraph for
readability.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Allow command invocations to define which child exit codes are
considered successful, including checkupdates exit status 2 when no
updates are available.
Classify unexpected child command failures as exporter exit status 1 so
systemd treats them as runtime failures eligible for retry. Keep exit
status 2 for CLI usage errors, which are configuration problems and
should not be retried.
Update the systemd service with RestartPreventExitStatus=2 so only
retryable runtime failures trigger the configured restart policy.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Update the systemd service to restart the exporter on failure up to five
times with a ten-minute delay between attempts.
Update the systemd timer to use Persistent=true so missed daily runs are
triggered after downtime, and remove network-online ordering from the
timer.
Keep network-online ordering on the service and remove the stale borg
cache reference from its hardening comment.
|
| |
|
|
|
|
|
|
| |
Add human-readable descriptions to package queries and emit each
collected count when verbose output is enabled.
Rename the pacman query command variable to clarify that it is reused as
the base command for multiple package queries.
|
| |
|
|
|
|
| |
Order the exporter service and timer after network-online.target and add
a Wants dependency so network connectivity is established before they
run.
|
| |
|
|
|
| |
Remove Persistent=true so missed daily runs are not triggered
automatically when the system comes back online.
|
| |
|
|
|
|
|
| |
Remove syscall restrictions that prevent pacman and related subprocesses
from running successfully under the systemd service.
Also remove the outdated comment about ProtectSystem and ProtectHome.
|
| |
|
|
|
|
|
|
| |
Add a hardened oneshot service for running the exporter with arguments
loaded from /etc/conf.d/prometheus-pacman-exporter.
Add a persistent daily timer for automatic metric collection and include
a default empty configuration file for additional command-line options.
|
|
|
Add the first production-ready release of prometheus-pacman-exporter for
collecting pacman package statistics through the node exporter textfile
collector.
Collect installed, explicit, dependency, unrequired, foreign, native,
orphan, and updateable package metrics. Support checkupdates as an
alternative update source and optional AUR update collection through a
configurable command.
Add the Click-based CLI, Prometheus metric definitions, package
metadata, dependency lockfile, README, licensing metadata, and
development configuration.
|