| Commit message (Collapse) | Author | Age |
| |
|
|
|
| |
Bump the package version to 1.1.2 and update the revision date for the
release.
|
| |
|
|
|
|
|
|
| |
Move the pacman and checkupdates package queries into module-level
constants alongside the base package queries.
Select the appropriate update query when constructing the runtime query
list, reducing branching and keeping query definitions together.
|
| |
|
|
|
|
|
|
|
| |
Only abort command execution when a non-accepted exit code is
accompanied by stderr output.
Allow silent nonzero exits to return normally so package queries that
use them to indicate an empty result are not incorrectly treated as
failures.
|
| |
|
|
|
|
| |
Treat pacman exit status 1 as an empty result for orphan package
queries, matching the handling used by other queries that may
legitimately return no packages.
|
| |
|
|
| |
Bump the package version to 1.1.1 for the patch release.
|
| |
|
|
|
|
|
|
|
|
|
| |
Track exit codes that indicate an empty package query separately from
accepted success codes.
Treat pacman exit status 1 as an empty result only when both stdout and
stderr are empty, while preserving genuine command failures as errors.
Apply the empty-result handling to pacman queries that may legitimately
return no packages, including update checks.
|
| |
|
|
|
|
|
|
| |
Format executed commands with shlex.join() so debug and error messages
preserve argument boundaries and shell quoting.
Reuse the formatted command string for both command logging and failure
reporting.
|
| |
|
|
|
|
|
| |
Clarify that quiet mode also suppresses verbose output and simplify the
run_command docstring wording.
Add the missing None return annotation to the main CLI callback.
|
| |
|
|
|
| |
Bump the package version to 1.1.0 and update the revision date for the
release.
|
| |
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
| |
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.
|
|
|
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.
|