Skip to content

Watch specified packages in the ubuntu archive for transition between archive pockets. Useful when waiting for a package update to be published

Notifications You must be signed in to change notification settings

philroche/ubuntu-watch-packages

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ubuntu-watch-packages

Watch specified binary packages in the ubuntu archive for transition between archive pockets. Useful when waiting for a package update to be published.

It polls the launchpad API for new packages every 10 minutes (you can change this by using poll-seconds option)

Installation

sudo snap install ubuntu-watch-packages

Or

sudo apt install python-apt notify-send
git clone https://github.com/philroche/ubuntu-watch-packages.git
mkvirtualenv --python=/usr/bin/python3 ubuntu-watch-packages
toggleglobalsitepackages
python setup.py
python ubuntu_watch_packages.py --help

babel click humanize jinja2 pyyaml readchar

System requirements (If not using the snap):

Python dependencies (If not using the snap):

Snap Usage

ubuntu-watch-packages

which will watch for the following packages:

ubuntu-versions:
  trusty:
    packages:
     - linux-generic
     - linux-lts-xenial
  xenial:
    packages:
     - linux-generic
  artful:
    packages:
     - linux-generic

If you want to specify your own config yaml. When using the ubuntu-watch-packages snap this config must reside under $HOME.

ubuntu-watch-packages --config="your-ubuntu-watch-packages-config.yaml"

If you want to specify a specific architecture to query

ubuntu-watch-packages --package-architecture=amd64

If you want to specify multiple architectures to query

ubuntu-watch-packages --package-architecture=amd64 --package-architecture=arm64

If you want to specify your own polling interval

ubuntu-watch-packages --poll-seconds=1200

If you want to specify your own polling interval

ubuntu-watch-packages --poll-seconds=1200

If you want more information displayed in console

ubuntu-watch-packages --logging-level=INFO

If you want information rendered to HTML

ubuntu-watch-packages --rendertohtml

If you want to specify where the rendered HTML should be saved

ubuntu-watch-packages --output-directory="~/mydirectory"

If you only want to poll once

ubuntu-watch-packages --runonce

Any/All of the above options can be combined.

To view a list of all options and help text

ubuntu-watch-packages --help

Once started ubuntu-watch-packages will send a desktop notification when a new package version is discovered in the -proposed -updates or -security Ubuntu archive pockets.

About

Watch specified packages in the ubuntu archive for transition between archive pockets. Useful when waiting for a package update to be published

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published