> An "ok" would be helpful. It's customary to wait for MAINTAINER to weigh
> in before committing an update, even for trivial updates. If MAINTAINER
> is unresponsive long enough, an update may eventually be committed anyway.
> If people don't lose interest before, that is.

Understood, this will be my OK for the last n releases then :>

> > Is there something you're using to track changes upstream (preferrably
> > without creating a github/* account)?
>
> https://repology.org can be very helpful

That's exactly what I'm looking for; I wrote a script for a terminal
widget you can place under your sysutils/gkrellm

>>>>>>>>>>>>>>>>>>>>>

#!/bin/ksh

function vdiff {
        [ $(echo $1 | tr -d .) -lt $(echo $2 | tr -d .) ]
        return $?
}

[ -f "${REPOLOGY_REPOS:=$HOME/.repology}" ] || {
        echo "$REPOLOGY_REPOS must contain a list of pkgpath(5)'s to track" >&2
        exit 1
}

trap "exit" INT 
trap "tput cnorm" ERR 0
tput civis

title="$(echo Repology | fmt -c ${COLUMNS:=$(tput cols)} $COLUMNS)"
while true
do
        clear
        print -n "\033[44m\033[2K${title}\n\033[0m"
        for i in $(<"$REPOLOGY_REPOS")
        do
                set -- $(repology --category ${i%/*} ${i##*/}) || exit 2
                vdiff $2 $3 && print -n "\033[41m"
                print "$1\033[0m"
        done
        sleep 3600
done

Reply via email to