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
Release history Release notifications | RSS feed
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)
Built Distribution
Close
Hashes for uscan_notify-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4f22f78522ee461577e96fd7304b4f079a4e18c51b3c75c4dfee35103753fb0d |
|
MD5 | be43369cc70e29e16443931c1593fb7a |
|
BLAKE2b-256 | 646b16f93f51c127e4b61cfe569786bf5e858c66ee2539a3bfe1e745bacd0893 |