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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file uscan_notify-0.1.1.tar.gz.

File metadata

  • Download URL: uscan_notify-0.1.1.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for uscan_notify-0.1.1.tar.gz
Algorithm Hash digest
SHA256 bada8a532bf2459137a10c5a7e793fd0f3dd84569cd3788c1f17014ce40735b9
MD5 44a450e1e9ff908b342da83b919d1458
BLAKE2b-256 539a628290a9965b73b9585942b39cf5b7000ff7d4df5c8a30822ff7da70329e

See more details on using hashes here.

File details

Details for the file uscan_notify-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: uscan_notify-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 5.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for uscan_notify-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4f22f78522ee461577e96fd7304b4f079a4e18c51b3c75c4dfee35103753fb0d
MD5 be43369cc70e29e16443931c1593fb7a
BLAKE2b-256 646b16f93f51c127e4b61cfe569786bf5e858c66ee2539a3bfe1e745bacd0893

See more details on using hashes here.

Supported by

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