1
0
mirror of https://codeberg.org/kiss-community/kiss synced 2024-11-04 14:05:41 -07:00
kiss/contrib/kiss-maintainer
2020-02-25 22:42:36 +02:00

14 lines
270 B
Bash
Executable File

#!/bin/sh -ef
#
# kiss-maintainer - find the maintainer of a package.
kiss s "$1" | while read -r repo; do cd "$repo"
m=$(git log -1 version 2>/dev/null) ||:
m=${m##*Author: }
m=${m%%>*}
[ "$m" ] || continue
printf '=> %s\n%s>\n' "$PWD" "$m"
done