Skip to main content

Notify when uscan detects new upstream versions.

Project description

uscan-notify

Command line tool to notify of any outdated Debian packages by using uscan info available from qa.d.o.

Install

I can't publish to PyPi as new registrations are temporarily disabled, but you can install from the Codeberg package registry like so:

pip install --index-url https://codeberg.org/api/packages/Maytha8/pypi/simple/ uscan-notify

From source

git clone https://codeberg.org/Maytha8/uscan-notify
cd uscan-notify

poetry install
poetry run uscan-notify --help # or

pip install .

Usage

Use --help flag for usage info.

Example: email notifications

Here's a bash script to send email notifications with the output (to use with e.g. cron)

result="$(uscan-notify --db-path <packages>)"

if [[ $result ]]; then
  echo "uscan-notify has found outdated packages, below are the results:

$result" | mail -s "[uscan-notify] Outdated packages" "<your email>"
fi

Why?

I wanted to setup email notifications whenever a new upstream version is released.

Copyright

Copyright © 2023 Maytham Alsudany <maytha8thedev@gmail.com>

License

MIT (unless otherwise indicated). See LICENSE.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

uscan_notify-0.1.1.tar.gz (3.2 kB view hashes)

Uploaded Source

Built Distribution

uscan_notify-0.1.1-py3-none-any.whl (5.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page