kiss-outdated: updates (#68)

* kiss-outdated: log if no remote version is found

* kiss-outdated: update package names
This commit is contained in:
Wolf Gupta 2022-09-09 17:06:37 +05:30 committed by GitHub
parent 031179e1b1
commit af2335c55e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,14 +26,27 @@ EOF
) )
case $remote in case $remote in
age)
remote=age-encryption
;;
baseinit|baselayout|kiss) baseinit|baselayout|kiss)
remote=- remote=-
;; ;;
bat)
remote=bat-cat
;;
clang) clang)
remote=llvm remote=llvm
;; ;;
ctags)
remote=ctags-unclassified
;;
dash) dash)
remote=dash-shell remote=dash-shell
;; ;;
@ -46,11 +59,19 @@ EOF
remote=dsp-audio-processing remote=dsp-audio-processing
;; ;;
dust)
remote=du-dust
;;
emacs-nox) emacs-nox)
# TODO [community]: Make default emacs no x11? # TODO [community]: Make default emacs no x11?
remote=emacs remote=emacs
;; ;;
go-ipfs)
remote=ipfs
;;
fd) fd)
remote=fd-find remote=fd-find
;; ;;
@ -124,15 +145,31 @@ EOF
remote=fonts:liberation remote=fonts:liberation
;; ;;
libjpeg)
remote=ijg-libjpeg
;;
libmupdf | libxaw3d) libmupdf | libxaw3d)
# TODO [community]: Rename packages? # TODO [community]: Rename packages?
remote=${remote##lib} remote=${remote##lib}
;; ;;
libnghttp2)
remote=nghttp2
;;
libportaudio2)
remote=portaudio
;;
libseat) libseat)
remote=seatd remote=seatd
;; ;;
libzmq)
remote=zeromq
;;
links2) links2)
# TODO [community]: Rename package? # TODO [community]: Rename package?
remote=links remote=links
@ -142,6 +179,10 @@ EOF
remote=linux remote=linux
;; ;;
lpeg)
remote=lua:lpeg
;;
lux) lux)
remote=lux-brightness-ventto remote=lux-brightness-ventto
;; ;;
@ -157,6 +198,10 @@ EOF
remote=netsurf remote=netsurf
;; ;;
noto-emoji)
remote=fonts:noto-emoji
;;
openjpeg2) openjpeg2)
# TODO [community]: Rename package? # TODO [community]: Rename package?
remote=openjpeg remote=openjpeg
@ -166,10 +211,22 @@ EOF
remote=oil-shell remote=oil-shell
;; ;;
pass)
remote=password-store
;;
pinentry-dmenu) pinentry-dmenu)
remote=pinentry-dmenu-cemkeylan remote=pinentry-dmenu-cemkeylan
;; ;;
pybind11)
remote=python:pybind11
;;
python-psutil)
remote=python:psutil
;;
pyqt5) pyqt5)
# TODO [community]: Rename package? # TODO [community]: Rename package?
remote=python-qt remote=python-qt
@ -184,7 +241,7 @@ EOF
;; ;;
rage) rage)
remote=rage-encryption-tool remote=rage-encryption
;; ;;
sane) sane)
@ -199,6 +256,10 @@ EOF
remote=fusefs:sshfs remote=fusefs:sshfs
;; ;;
slides)
remote=slides-presentation-tool
;;
surf) surf)
remote=surf-browser remote=surf-browser
;; ;;
@ -211,18 +272,34 @@ EOF
remote=sway remote=sway
;; ;;
tea)
remote=gitea-tea
;;
terminus-font) terminus-font)
remote=fonts:terminus remote=fonts:terminus
;; ;;
tiv) tiv)
remote=tiv-unclassified remote=tiv-terminalimageviewer
;;
tree)
remote=tree-steve-baker
;;
ttf-font-awesome)
remote=font-awesome6
;; ;;
unifont) unifont)
remote=fonts:unifont remote=fonts:unifont
;; ;;
vis)
remote=vis-editor
;;
webkit2gtk) webkit2gtk)
# TODO [community]: Rename package? # TODO [community]: Rename package?
remote=webkitgtk remote=webkitgtk
@ -281,8 +358,9 @@ get_outdated() {
repology_name "$pkg" repology_name "$pkg"
repology_version "$remote" || continue repology_version "$remote" || continue
case $remote_ver in *", $ver"* | *"$ver,"* | "$ver" | - | '') case $remote_ver in
continue *", $ver"* | *"$ver,"* | "$ver" | '') continue ;;
-) printf '%-30s no remote version found\n' "$pkg" >&2; continue ;;
esac esac
printf '%-30s %s -> %s\n' "$pkg" "$ver" "$remote_ver" printf '%-30s %s -> %s\n' "$pkg" "$ver" "$remote_ver"